Skip to content

chore(deps-dev): bump vite from 7.3.2 to 8.2.1 - #307

Merged
redfish4ktc merged 1 commit into
mainfrom
chore/bump_vite_8
Aug 7, 2026
Merged

chore(deps-dev): bump vite from 7.3.2 to 8.2.1#307
redfish4ktc merged 1 commit into
mainfrom
chore/bump_vite_8

Conversation

@tbouffard

Copy link
Copy Markdown
Member

Bump Vite from 7.3.2 to 8.2.1 in the three projects that use it: vitejs-ts, lit-ts and sveltekit-ts.

Vite 8 replaces Rollup and esbuild with Rolldown and Oxc, and makes Lightning CSS the default CSS minifier. Node requirements are unchanged (^20.19 || >=22.12), so .nvmrc and the CI workflow stay as is.

No config migration needed

Going through the v7 to v8 migration guide against this repository:

  • vitejs-ts and lit-ts have no vite.config.* file at all (they pass --base ./ on the CLI), so there is no config surface to migrate.
  • sveltekit-ts/vite.config.ts only registers the sveltekit() plugin: no rollupOptions, esbuild, optimizeDeps, build.commonjsOptions or manualChunks to rename.
  • lit-ts uses TypeScript legacy decorators (experimentalDecorators), which Oxc supports, and does not use the accessor keyword (the one known broken combination).
  • No change needed in index.html, tsconfig.json, the READMEs or the dependabot configuration.

SvelteKit toolchain bump

Required to get Vite 8 in sveltekit-ts:

  • @sveltejs/vite-plugin-svelte ~6.2.4 to ~7.2.0: version 6 peers on vite ^6.3 || ^7 at most
  • svelte ~5.46.1 to ~5.56.8: plugin-svelte 7 requires svelte >= 5.46.4
  • @sveltejs/kit ~2.49.4 to ~2.70.2: 2.49 does not accept plugin-svelte 7
  • svelte-check ~4.3.5 to ~4.7.5

The lockfile is regenerated for the affected subtree only (38 packages changed, all in the vite/svelte/lightningcss orbit). Parcel, Rspack, Rollup and Farm dependencies are untouched.

Verification

Locally on Node 22.20:

  • npm ci then npm run build --workspaces: all 8 projects build, including the 5 non-Vite ones
  • npm run check -w projects/sveltekit-ts: 503 files, 0 errors, 0 warnings
  • vite dev smoke test on vitejs-ts: server ready, / and /src/main.ts both return 200

Note

Vite builds now emit a new non-fatal warning: Rolldown flags a direct eval() call in @maxgraph/core/lib/esm/internal/utils.js:23. It does not fail the build, but it is worth addressing in the maxGraph core repository.

Vite 8 replaces Rollup and esbuild with Rolldown and Oxc, and makes Lightning CSS the default CSS minifier.
None of the three Vite projects needed a config migration: vitejs-ts and lit-ts have no vite.config file, and
the SvelteKit one only registers the sveltekit() plugin.

The SvelteKit toolchain is bumped along with it because @sveltejs/vite-plugin-svelte 6 peers on Vite 7 at most.
Its version 7 requires svelte >= 5.46.4, and @sveltejs/kit 2.49 does not accept plugin-svelte 7, so both are
bumped as well.
@tbouffard tbouffard added dependencies skip-changelog Do not include in Changelog and Release Notes javascript Pull requests that update Javascript code labels Aug 7, 2026
@sonarqubecloud

sonarqubecloud Bot commented Aug 7, 2026

Copy link
Copy Markdown

@redfish4ktc redfish4ktc added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label Aug 7, 2026
@redfish4ktc
redfish4ktc merged commit 014054e into main Aug 7, 2026
21 checks passed
@redfish4ktc
redfish4ktc deleted the chore/bump_vite_8 branch August 7, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) dependencies javascript Pull requests that update Javascript code skip-changelog Do not include in Changelog and Release Notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants