Skip to content

chore(deps): upgrade to SvelteKit 3, Node 26 and the latest dependencies - #325

Merged
matschik merged 2 commits into
mainfrom
chore/upgrade-deps-max
Oct 18, 2026
Merged

matschik merged 2 commits into
mainfrom
chore/upgrade-deps-max

Conversation

@matschik

@matschik matschik commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Requested by Mathieu

  • Upgrade every dependency to its latest version: SvelteKit 3.1, adapter-static 4, vite-plus 1.3 with vitest 5.0.5, satori 0.62, shiki 4.5, Playwright 1.64, knip 6.41, @types/node 26.
  • Migrate to SvelteKit 3: the config moves from svelte.config.js into the sveltekit() Vite plugin, $lib/$generated/@frameworks aliases become #lib/#generated/#frameworks subpath imports, $app/environment becomes $app/env, goto uses { replace, reset: false }, and tsconfig.json extends $app/tsconfig.
  • Move to Node 26 (CI, .node-version, engines, README and CONTRIBUTING), like vel.studio.
  • Keep TypeScript on 6: the peer ranges of Kit 3 and svelte-check stop there, and svelte-kit sync crashes on TypeScript 7.
  • Prerender _redirects as a route: SvelteKit 3 dropped the file the old Vite plugin wrote into the client build, so the 686 legacy-URL redirects disappeared. CI now fails if _redirects, sitemap.xml or 404.html is missing from dist.

Local checks: build (153 compare pages, 153 OG images), check:ci, 31 unit tests, knip, check:toolchain. Checked in a browser on vp preview: framework switching updates the URL, compare pages render, OG images render with satori 0.62, no console errors. On the Pages preview, /compare/react-vs-svelte5 and /compare/vue-vs-react/ answer 301 to their canonical pages.

- Move the Svelte config into the sveltekit() Vite plugin (svelte.config.js is gone in Kit 3).
- Replace $lib, $generated and @frameworks aliases with #lib, #generated and #frameworks subpath imports.
- Rename $app/environment to $app/env and use goto({ replace, reset: false }).
- Extend $app/tsconfig.
- Bump vite-plus to 1.3.0 with vitest 5.0.5, satori to 0.62, Node to 26.
- Keep TypeScript on 6: Kit 3 and svelte-check peer ranges stop there.
@matschik matschik self-assigned this Oct 18, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Deploying component-party with  Cloudflare Pages  Cloudflare Pages

Latest commit: 85f3a6c
Status: ✅  Deploy successful!
Preview URL: https://6506f93d.component-party.pages.dev
Branch Preview URL: https://chore-upgrade-deps-max.component-party.pages.dev

View logs

@matschik
matschik merged commit 2dad19b into main Oct 18, 2026
2 checks passed
@matschik
matschik deleted the chore/upgrade-deps-max branch October 19, 2026 00:25
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