Skip to content

MAINT: Bump vite to 8.0.14 + bundle frontend dep bumps (closes #1848, #1849)#1847

Merged
romanlutz merged 20 commits into
mainfrom
dependabot/npm_and_yarn/frontend/vite-8.0.14
May 31, 2026
Merged

MAINT: Bump vite to 8.0.14 + bundle frontend dep bumps (closes #1848, #1849)#1847
romanlutz merged 20 commits into
mainfrom
dependabot/npm_and_yarn/frontend/vite-8.0.14

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 29, 2026

Bumps frontend dependencies. The original dependabot vite 8 bump can't land cleanly in isolation because vite 8's switch from esbuild to Rolldown also requires updates to vite.config.ts and ts-jest's toolchain. While we were there, this PR also rolls in the other open dependabot frontend PRs so the lockfile only needs to be regenerated once.

Dependency bumps in this PR

Package From To Originating PR
vite 7.3.2 8.0.14 #1847 (this PR)
jest-environment-jsdom 29.7.0 30.4.1 #1848 — can be closed once this merges
@vitejs/plugin-react 4.7.0 6.0.2 #1849 — can be closed once this merges
eslint 9.39.1 10.4.1 #1850 — will land separately, included here only for verification
@eslint/js 9.39.1 10.0.1 via #1850
@typescript-eslint/eslint-plugin 8.46.4 8.60.0 via #1850
@typescript-eslint/parser 8.46.4 8.60.0 via #1850
eslint-plugin-react-refresh 0.4.24 0.5.2 via #1850
esbuild (transitive) 0.28.0 (devDep) new — see below

Vite 8 / Rolldown migration changes (frontend/vite.config.ts)

Vite 8 replaces esbuild with Rolldown for dependency pre-bundling, which required two breaking-change fixes:

  • optimizeDeps.esbuildOptionsoptimizeDeps.rolldownOptions
  • build.rollupOptions.output.manualChunks must be a function instead of an object — converted to a function that matches the previous splits (react-vendor and fluent-vendor).

New esbuild devDependency

Because vite 8 no longer pulls esbuild in transitively, ts-jest can no longer dynamically compile the .ts AST transformer (jest-import-meta-transformer.ts) at test time and npm test fails with Unable to load the module "esbuild". Adding esbuild as an explicit devDependency restores the test suite.

Verification

Locally on this branch:

  • npm run type-check
  • npm run build (vite 8.0.14, ~700ms)
  • npm run lint
  • npm test — 28 suites / 614 tests passing

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.3.2 to 8.0.14.
- [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/v8.0.14/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 8.0.14
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 29, 2026
dependabot Bot and others added 18 commits May 29, 2026 22:20
Bumps [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.7.0 to 30.4.1.
- [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.4.1/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-version: 30.4.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.7.0 to 6.0.2.
- [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.2/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 6.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [eslint](https://github.com/eslint/eslint) from 9.39.1 to 10.4.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.39.1...v10.4.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.4.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…lity

ESLint 10 removed FlatESLint from its public API, which breaks @typescript-eslint/utils <8.57. Bump @typescript-eslint/eslint-plugin and parser to 8.60.0 (first stable line that lists eslint ^10.0.0 as a supported peer) and @eslint/js to 10.0.1 to match the new eslint major.

Also fix a no-useless-assignment violation newly reported by @eslint/js@10's recommended config in messageMapper.ts (the initial '' on base64Value was overwritten in every branch).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Resolved conflicts in frontend/package.json and frontend/package-lock.json: kept @eslint/js@10.0.1 (required for ESLint 10) and took main's @playwright/test@1.60.0. Lockfile regenerated via npm install.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
# Conflicts:
#	frontend/package-lock.json
# Conflicts:
#	frontend/package-lock.json
# Conflicts:
#	frontend/package-lock.json
#	frontend/package.json
After merging PRs #1848 (jest-environment-jsdom), #1849 (@vitejs/plugin-react), and #1850 (eslint) into the vite 8 bump branch, the lockfile is regenerated with
pm install to produce a single consistent tree.

Vite 8 migrated from esbuild to Rolldown for dependency pre-bundling, which required two config changes in vite.config.ts:

- optimizeDeps.esbuildOptions renamed to optimizeDeps.rolldownOptions

- build.rollupOptions.output.manualChunks must be a function, not an object

Because vite no longer pulls in esbuild transitively, ts-jest can no longer compile the .ts AST transformer at runtime. esbuild is added as an explicit devDependency to restore that capability.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@romanlutz romanlutz changed the title MAINT: Bump vite from 7.3.2 to 8.0.14 in /frontend MAINT: Bump vite to 8.0.14 + bundle frontend dep bumps (closes #1848, #1849) May 31, 2026
…rn/frontend/vite-8.0.14

# Conflicts:
#	frontend/package-lock.json
#	frontend/package.json
@romanlutz romanlutz enabled auto-merge May 31, 2026 00:56
@romanlutz romanlutz added this pull request to the merge queue May 31, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 31, 2026
@romanlutz romanlutz added this pull request to the merge queue May 31, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 31, 2026
@romanlutz romanlutz added this pull request to the merge queue May 31, 2026
Merged via the queue into main with commit 0bc13c4 May 31, 2026
50 checks passed
@romanlutz romanlutz deleted the dependabot/npm_and_yarn/frontend/vite-8.0.14 branch May 31, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants