Context
Dependabot PRs #100, #101, and #102 were closed in favour of this coordinated migration. These PRs cannot be merged individually — they cause npm ERESOLVE peer dependency failures and Vite 5→8 is a 3-major jump that requires joint migration with Svelte 5.
Scope
Bump the following packages in lockstep on a single migration branch:
svelte 4 → 5
vite 5 → 8
@sveltejs/vite-plugin-svelte 4 → 7
@sveltejs/kit → latest
svelte-check → ^4
@sveltejs/adapter-node → latest
Prerequisites
- Node 20.19+ is required by Vite 8 — verify
.github/workflows/ci.yml node-version before starting
Migration Steps
Security Review Note
Security Reviewer must re-review the migration PR prior to merge:
- XSS surface changes with new Svelte 5 template syntax (runes, snippets)
- CSP impact from the Rolldown bundler introduced in Vite 8
References
Context
Dependabot PRs #100, #101, and #102 were closed in favour of this coordinated migration. These PRs cannot be merged individually — they cause npm ERESOLVE peer dependency failures and Vite 5→8 is a 3-major jump that requires joint migration with Svelte 5.
Scope
Bump the following packages in lockstep on a single migration branch:
svelte4 → 5vite5 → 8@sveltejs/vite-plugin-svelte4 → 7@sveltejs/kit→ latestsvelte-check→ ^4@sveltejs/adapter-node→ latestPrerequisites
.github/workflows/ci.ymlnode-versionbefore startingMigration Steps
npx sv migrate svelte-5codemod onsrc/$$props, stores)vite.config.tsfor Vite 8 (splitVendorChunkPluginremoved, new env API)npm run buildSecurity Review Note
Security Reviewer must re-review the migration PR prior to merge:
References