github sveltejs/cli sv@1.1.0

2 hours ago

Minor Changes

  • feat: type the options of official add-ons (OfficialAddonOptions), and let add-on authors declare theirs with defineAddonOptions<Values>() (#1335)

Patch Changes

  • chore(create): bump create-vite to 9.2.1 (#1340)

  • fix: Add-on ordering through the API now works with official and community add-ons. Key officialAddons by add-on id, using 'sveltekit-adapter', 'better-auth', and 'ai-tools' instead of sveltekitAdapter, betterAuth, and aiTools. dependsOn and runsAfter also accept community add-on ids when those add-ons are included in the same command. The CLI interface is unchanged. (#1330)

  • fix(sveltekit-adapter): keep $app/types in tsconfig types with Cloudflare on SvelteKit 3 (#1346)

  • fix(sv): install @types/node and add node to tsconfig.json when needed (#1391)
    fix(sv): preserve $app/types when overriding tsconfig's compilerOptions.types in Kit 3

  • fix(migrate): always report the adapter-node ORIGIN task when @sveltejs/adapter-node is installed (#1373)

  • feat(playwright): add a demo option so the /demo/playwright page is only created on request (#1360)

  • fix(sv): update demo template to use prefersReducedMotion (#1407)

  • fix(cli): Bump svelte to match kit's minimum peer dependency (#1390)

  • fix: keep root config files and test(s) folders in Kit 3 tsconfig include (#1379)

  • fix(migrate): keep the string parameter type of TypeScript param matchers when migrating to defineParams (#1384)

  • fix(paraglide): display next steps according to user input and deduplicate provided locales (#1386)

  • Updated dependencies [88c40ee, 8bafea4]:

    • @sveltejs/sv-utils@1.0.1

Don't miss a new cli release

NewReleases is sending notifications on new releases.