@sjsf/sv
0.3.0
Minor Changes
-
Generate the integration package that matches the target project’s
@sveltejs/kit(#479) range:@sjsf/sveltekitfor Kit 2,@sjsf/sveltekit3for Kit 3. Sincesv@1templates all scaffold Kit 3,sv add @sjsfno longer installs a Kit 2 package into a Kit 3 app.The composer’s Kit 3 output also gains the shape that
sv createprovides for its templates:tsconfig.jsonextends$app/tsconfiginstead of the removed.svelte-kit/tsconfig.json, andpackage.jsongains the#libsubpath imports.#libspecifiers now carry a file extension. Unlike$lib, which Kit 2 resolves throughtsconfigpaths,#libis apackage.json#importssubpath and has to be unambiguous for Node and TypeScript to resolve it. -
Require
sv@^1and migrate to the published@sveltejs/sv-utils@^1, importing (#479)transformsfrom itsbrowserentry so codegen stays off the Node-only one.Generated files are now formatted by the
@sveltejs/sv-utils@1printer, which reorders imports, parenthesizesas constexpressions and rewraps long lines.
Patch Changes
-
List the demo route in the floating
DemoLinkspost-it thatsvrenders from the (#483) root layout, instead of linking it from a/demoindex page.Uses
defineDemoPagefrom@sveltejs/sv-utils@^1.0.1, so both transforms are idempotent and re-running the add-on no longer duplicates the link. Themeta/codegenaddToDemoPagehelper, a copy of the removedsvone, is gone.
0.2.6
Patch Changes
- Add SvelteKit 3 support:
createKitPathFactorygenerates#libimports when@sveltejs/kit@^3is detected (#440)
0.2.5
Patch Changes
- Remove “experimental” label from
ata-validator(#435)
0.2.4
Patch Changes
- Add missing
json-schema-to-tsdependency for thenoopvalidator type (#430)
0.2.3
Patch Changes
- Add npm provenance support (
8b67594)
0.2.2
Patch Changes
0.2.1
Patch Changes
0.2.0
Minor Changes
- Add an option to disable demo (#380)
Patch Changes
- Remove workarounds for fixed issues (#380)
0.1.0
Minor Changes
- Add
@sjsf/svpackage (#356)