Skip to content

chore(deps): upgrade site to SvelteKit 3 - #1912

Merged
o2sh merged 5 commits into
mainfrom
deps/sveltekit-3
Oct 27, 2026
Merged

o2sh merged 5 commits into
mainfrom
deps/sveltekit-3

Conversation

@o2sh

@o2sh o2sh commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

Upgrades the site to SvelteKit 3 and bumps every site dependency to latest, except TypeScript. Supersedes #1805.

Package From To
@sveltejs/kit 2.70.3 3.1.0
@sveltejs/adapter-auto 7.0.1 8.0.0
svelte 5.57.2 5.57.3
vite 8.3.4 8.3.5
typescript-eslint 8.71.2 8.72.1
@rollup/plugin-yaml 5.0.0 5.0.1

Changes required by SvelteKit 3

  • svelte.config.js is no longer supported, so it's removed. Only the adapter moved, as sveltekit({ adapter: adapter() }) in vite.config.ts; vitePreprocess is dropped since Svelte 5 handles TypeScript natively.
  • tsconfig.json now extends $app/tsconfig and is trimmed to extends, include and strict; the other options are already set by $app/tsconfig.

TypeScript stays on 6.0.3

TypeScript 7's typescript package no longer exposes the JS compiler API, which SvelteKit, svelte-check and typescript-eslint all rely on:

Testing

  • npm ci: no peer dependency conflicts
  • npm run check (svelte-check, prettier, eslint): passes, 0 errors / 0 warnings
  • npm run build: passes, page prerenders

🤖 Generated with Claude Code

- @sveltejs/kit 2.70.3 -> 3.1.0
- @sveltejs/adapter-auto 7.0.1 -> 8.0.0
- svelte 5.57.2 -> 5.57.3
- vite 8.3.4 -> 8.3.5
- typescript-eslint 8.71.2 -> 8.72.1
- @rollup/plugin-yaml 5.0.0 -> 5.0.1

Move the SvelteKit config from svelte.config.js into the sveltekit()
Vite plugin and extend $app/tsconfig, as SvelteKit 3 requires.

TypeScript stays on 6.x: SvelteKit, svelte-check and typescript-eslint
don't support TypeScript 7 yet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Revert @sveltejs/kit to 2.70.3 and @sveltejs/adapter-auto to 7.0.1, and
restore svelte.config.js, tsconfig.json and vite.config.ts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@o2sh o2sh changed the title chore(deps): upgrade site to SvelteKit 3 chore(deps): update site dependencies Oct 27, 2026
- @sveltejs/kit 2.70.3 -> 3.1.0
- @sveltejs/adapter-auto 7.0.1 -> 8.0.0

Move the SvelteKit config from svelte.config.js into the sveltekit()
Vite plugin and extend $app/tsconfig, as SvelteKit 3 requires.

TypeScript stays on 6.0.3 until SvelteKit, svelte-check and
typescript-eslint support TypeScript 7.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@o2sh o2sh changed the title chore(deps): update site dependencies chore(deps): upgrade site to SvelteKit 3 Oct 27, 2026
- vite.config.ts: only pass the adapter to sveltekit(); drop
  vitePreprocess, Svelte 5 handles TypeScript natively.
- tsconfig.json: keep extends, include and strict; the other options
  are already set by $app/tsconfig.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Vite serves files that the app imports even when they sit outside the
project root, so ../languages.yaml loads without it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@o2sh
o2sh merged commit 892934c into main Oct 27, 2026
2 checks passed
@o2sh
o2sh deleted the deps/sveltekit-3 branch October 27, 2026 18:02

This branch was successfully deployed

1 active deployment
Preview — 5b78b8a7 Deployed Oct 27, 2026 by vercel[bot]
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.

1 participant