SIGN IN SIGN UP

fix(flags): remove @sveltejs/kit from peer dependencies (#442)

@sveltejs/kit was declared as an optional peer with a "*" range, causing
npm to auto-install the newest @sveltejs/kit and pull in its transitive
@sveltejs/vite-plugin-svelte → vite peer chain. In non-SvelteKit projects
already on Vite 7 (via Vitest, Storybook, etc.) this produced a hard
ERESOLVE error requiring `npm install --force`.

Move @sveltejs/kit to devDependencies so the sveltekit entrypoint still
builds and type-generates in the monorepo. SvelteKit consumers always have
@sveltejs/kit installed as the framework, so flags/sveltekit continues to
resolve it from their own tree.

fixes #440
D
Dominik Ferber committed
622d56e608f091a8fbfbda0ee076ea3dcf808e52
Parent: 3ba3c40
Committed by GitHub <noreply@github.com> on 7/24/2026, 2:39:25 PM