Skip to content

Stabilize PR workflow by aligning Vite resolution, updating UI chunk config, and fixing root test runtime deps#30

Merged
night-slayer18 merged 10 commits intodependabot/npm_and_yarn/develop/dev-dependencies-f705735b0bfrom
copilot/sub-pr-28
Mar 23, 2026
Merged

Stabilize PR workflow by aligning Vite resolution, updating UI chunk config, and fixing root test runtime deps#30
night-slayer18 merged 10 commits intodependabot/npm_and_yarn/develop/dev-dependencies-f705735b0bfrom
copilot/sub-pr-28

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 23, 2026

Recent dependency updates introduced workflow instability: preview/build jobs failed from mixed Vite resolution, and full repo test execution failed from jsdom resolution in root turbo context. This PR tightens dependency/runtime consistency across the monorepo and updates UI bundling config to match Vite 8 behavior.

  • Build/runtime dependency alignment

    • Forced a single Vite version across workspaces via root override (vite: 8.0.2) to prevent mixed Vite 7/8 resolution with @vitejs/plugin-react@6.
    • Updated lockfile accordingly.
  • UI bundling compatibility with Vite 8 (rolldown)

    • Replaced object-style manualChunks with function-style chunk routing in /packages/ui/vite.config.ts.
    • Added normalized path matching and shared package matcher to keep chunk assignment deterministic.
  • Monorepo test execution fix

    • Added jsdom to root devDependencies so root-level turbo run test can resolve Vitest’s jsdom environment consistently (not only from packages/ui scope).
// packages/ui/vite.config.ts
manualChunks(id) {
  const normalizedId = id.replaceAll('\\', '/');
  const isNodeModulePackage = (pkgName: string) =>
    normalizedId.includes(`/node_modules/${pkgName}/`) ||
    normalizedId.endsWith(`/node_modules/${pkgName}`);

  if (['react', 'react-dom', 'react-router-dom'].some(isNodeModulePackage)) {
    return 'react-vendor';
  }
  if (isNodeModulePackage('flexsearch')) return 'search';
}

Manual smoke-check screenshot (built docs UI):
Autodocs UI smoke check


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

dependabot Bot and others added 2 commits March 23, 2026 11:27
Bumps the dev-dependencies group with 21 updates:

| Package | From | To |
| --- | --- | --- |
| [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.39.2` | `10.0.1` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.2.2` | `25.5.0` |
| [eslint](https://github.com/eslint/eslint) | `9.39.2` | `10.1.0` |
| [globals](https://github.com/sindresorhus/globals) | `17.3.0` | `17.4.0` |
| [lint-staged](https://github.com/lint-staged/lint-staged) | `16.2.7` | `16.4.0` |
| [turbo](https://github.com/vercel/turborepo) | `2.8.3` | `2.8.20` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.54.0` | `8.57.1` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `4.0.18` | `4.1.0` |
| [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) | `30.2.0` | `30.3.0` |
| [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.1.18` | `4.2.2` |
| [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite) | `4.1.18` | `4.2.2` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.2.13` | `19.2.14` |
| [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `5.1.3` | `6.0.1` |
| [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `4.0.18` | `4.1.0` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.24` | `10.4.27` |
| [jsdom](https://github.com/jsdom/jsdom) | `28.0.0` | `29.0.1` |
| [postcss](https://github.com/postcss/postcss) | `8.5.6` | `8.5.8` |
| [rollup-plugin-visualizer](https://github.com/btd/rollup-plugin-visualizer) | `6.0.5` | `7.0.1` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.1.18` | `4.2.2` |
| [terser](https://github.com/terser/terser) | `5.46.0` | `5.46.1` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `7.3.1` | `8.0.1` |


Updates `@eslint/js` from 9.39.2 to 10.0.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/commits/v10.0.1/packages/js)

Updates `@types/node` from 25.2.2 to 25.5.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 9.39.2 to 10.1.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.39.2...v10.1.0)

Updates `globals` from 17.3.0 to 17.4.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](sindresorhus/globals@v17.3.0...v17.4.0)

Updates `lint-staged` from 16.2.7 to 16.4.0
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v16.2.7...v16.4.0)

Updates `turbo` from 2.8.3 to 2.8.20
- [Release notes](https://github.com/vercel/turborepo/releases)
- [Changelog](https://github.com/vercel/turborepo/blob/main/RELEASE.md)
- [Commits](vercel/turborepo@v2.8.3...v2.8.20)

Updates `typescript-eslint` from 8.54.0 to 8.57.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.57.1/packages/typescript-eslint)

Updates `vitest` from 4.0.18 to 4.1.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.0/packages/vitest)

Updates `jest` from 30.2.0 to 30.3.0
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.3.0/packages/jest)

Updates `@tailwindcss/postcss` from 4.1.18 to 4.2.2
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.2.2/packages/@tailwindcss-postcss)

Updates `@tailwindcss/vite` from 4.1.18 to 4.2.2
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.2.2/packages/@tailwindcss-vite)

Updates `@types/react` from 19.2.13 to 19.2.14
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@vitejs/plugin-react` from 5.1.3 to 6.0.1
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.0.1/packages/plugin-react)

Updates `@vitest/coverage-v8` from 4.0.18 to 4.1.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.0/packages/coverage-v8)

Updates `autoprefixer` from 10.4.24 to 10.4.27
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.24...10.4.27)

Updates `jsdom` from 28.0.0 to 29.0.1
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Commits](jsdom/jsdom@v28.0.0...v29.0.1)

Updates `postcss` from 8.5.6 to 8.5.8
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.5.6...8.5.8)

Updates `rollup-plugin-visualizer` from 6.0.5 to 7.0.1
- [Changelog](https://github.com/btd/rollup-plugin-visualizer/blob/master/CHANGELOG.md)
- [Commits](btd/rollup-plugin-visualizer@v6.0.5...v7.0.1)

Updates `tailwindcss` from 4.1.18 to 4.2.2
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.2.2/packages/tailwindcss)

Updates `terser` from 5.46.0 to 5.46.1
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](terser/terser@v5.46.0...v5.46.1)

Updates `vite` from 7.3.1 to 8.0.1
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@8.0.1/packages/vite)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 10.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: "@types/node"
  dependency-version: 25.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: eslint
  dependency-version: 10.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: globals
  dependency-version: 17.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: lint-staged
  dependency-version: 16.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: turbo
  dependency-version: 2.8.20
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: typescript-eslint
  dependency-version: 8.57.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: vitest
  dependency-version: 4.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: jest
  dependency-version: 30.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.2.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: "@tailwindcss/vite"
  dependency-version: 4.2.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: "@types/react"
  dependency-version: 19.2.14
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 6.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: autoprefixer
  dependency-version: 10.4.27
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: jsdom
  dependency-version: 29.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: postcss
  dependency-version: 8.5.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: rollup-plugin-visualizer
  dependency-version: 7.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: tailwindcss
  dependency-version: 4.2.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: terser
  dependency-version: 5.46.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: vite
  dependency-version: 8.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: night-slayer18 <83979018+night-slayer18@users.noreply.github.com>
Agent-Logs-Url: https://github.com/OpenSyntaxHQ/autodocs/sessions/e89fb084-ae03-4216-93ce-f774fcb9df0b
Copilot AI changed the title [WIP] Bump the dev-dependencies group with 21 updates fix(lint): preserve original error causes in rethrows after eslint upgrade Mar 23, 2026
Copilot AI requested a review from night-slayer18 March 23, 2026 17:05
Copilot AI and others added 2 commits March 23, 2026 17:18
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 23, 2026

🚀 Deployed on https://pr-30--autodocshq.netlify.app

@github-actions
Copy link
Copy Markdown

Preview Deployment

Your preview is ready.

URL: https://pr-30--autodocshq.netlify.app


Deployed from commit d675d75

Copilot AI and others added 3 commits March 23, 2026 17:20
Copilot AI changed the title fix(lint): preserve original error causes in rethrows after eslint upgrade Fix PR Preview build failures after Vite ecosystem dependency bump Mar 23, 2026
Copilot AI requested a review from night-slayer18 March 23, 2026 17:26
Co-authored-by: night-slayer18 <83979018+night-slayer18@users.noreply.github.com>
Agent-Logs-Url: https://github.com/OpenSyntaxHQ/autodocs/sessions/cd3c3952-67dc-4317-9ef8-87aebf5621b4
Copilot AI changed the title Fix PR Preview build failures after Vite ecosystem dependency bump Stabilize PR workflow by aligning Vite resolution, updating UI chunk config, and fixing root test runtime deps Mar 23, 2026
@night-slayer18 night-slayer18 marked this pull request as ready for review March 23, 2026 17:38
@github-actions github-actions Bot temporarily deployed to pull request March 23, 2026 17:39 Inactive
@github-actions
Copy link
Copy Markdown

Preview Deployment

Your preview is ready.

URL: https://pr-30--autodocshq.netlify.app


Deployed from commit 56d14d3

@night-slayer18 night-slayer18 merged commit 79f7adc into dependabot/npm_and_yarn/develop/dev-dependencies-f705735b0b Mar 23, 2026
3 checks passed
@night-slayer18 night-slayer18 deleted the copilot/sub-pr-28 branch March 23, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants