Releases: sveltejs/cli
sv@0.15.3
Patch Changes
-
fix(sveltekit-adapter): register
workerdandsharpas pnpm allow-builds when the cloudflare adapter is selected (#1085) -
fix(sv): resolve package manager before applying add-ons so pnpm-only logic in add-ons (drizzle, tailwindcss, sveltekit-adapter) actually runs. Also soften pnpm
ERR_PNPM_IGNORED_BUILDSto a warning instead of failing the install. (#1085) -
Updated dependencies [
e3595a8,a991697,2c4a157,2917f88]:- @sveltejs/sv-utils@0.2.2
@sveltejs/sv-utils@0.2.2
Patch Changes
-
fix:
js.common.appendFromStringno longer corrupts the output when called multiple times with comments (#1081) -
fix: prevent
js.exports.createNamedfrom crashing when the AST contains an exported function or class declaration (#1084) -
fix:
js.imports.addNamednow respectsisTypewhen merging into an existing import declaration (#1080) -
fix:
js.object.createno longer corrupts the AST when an object value contains atypeproperty (#1082)
sv@0.15.2
Patch Changes
-
fix(drizzle): don't cancel if
D1is selected without@sveltejs/adapter-cloudflare, but add info to next steps (#1071) -
fix(sv): skip add-ons when a
dependsOndependency cancels (#1071) -
fix(sv): scope
@deprecatedtag to the legacycreate(cwd, options)overload only (#1064) -
fix(playwright): move
playwright installfrompreparetotest:e2escript (#1072) -
feat(sv): improve
vitestv3 detection (#1073) -
fix(sv): align eslint version to
10accross all addons (#1069) -
Updated dependencies [
d753ce6,e94734e,65d8f01]:- @sveltejs/sv-utils@0.2.1
@sveltejs/sv-utils@0.2.1
Patch Changes
-
add
minVersion&coerceVersionfromsemver. DeprecatesplitVersion(#1069) -
handle
pnpm@11: addpnpm.allowBuildshelper that auto-detects the installed pnpm version and writes toallowBuilds(pnpm 11+) or the legacyonlyBuiltDependencieslist (pnpm 10). Deprecatepnpm.onlyBuiltDependencies(#1074) -
improve
svelteversion detection (#1075)
sv@0.15.1
sv@0.15.0
Minor Changes
-
feat: decouple sv / sv-utils, explicit public API, deprecation pass (#1046)
@sveltejs/sv-utils- Rename file helpers:
readFile->loadFile,writeFile->saveFile,getPackageJson->loadPackageJson - Add
pnpm.onlyBuiltDependencies()transform forpnpm-workspace.yaml - Export
YamlDocumenttype from parsers - Remove
commonFilePaths,installPackages(moved internal tosv)
svcreate()signature changed tocreate({ cwd, ...options }). The oldcreate(cwd, options)is deprecated and will be removed in the next major release.sv.pnpmBuildDependency()is deprecated and will be removed in the next major release. Usesv.file()withpnpm.onlyBuiltDependencies()from@sveltejs/sv-utilsinstead.workspace.file.prettierignore,.prettierrc,.eslintConfig,.vscodeSettings,.vscodeExtensionsare deprecated and will be removed in the next major release. Use the raw strings directly (e.g.'.prettierignore').- Add
workspace.file.findUp()to locate files by walking up the directory tree. - Add
api-surface.mdsnapshots (auto-generated on build) to track the public API ofsvand@sveltejs/sv-utils. - Remove
setup,createProject,startPreview,addPnpmBuildDependenciesfromsv/testingexports. - Make type exports explicit (no more
export type *). Removed types that were never part of the intended public API:PackageDefinition,Scripts,TestDefinition.
- Rename file helpers:
-
remove:
devtools-jsonadd-on as SvelteKit will silently 404 Chrome DevTools workspaces request. You can still addvite-plugin-devtools-jsonmanually if needed. (#1047) -
feat: replace
sv.pnpmBuildDependencywithsv.file+pnpm.onlyBuiltDependencieshelper andfile.findUp(#1037)
Patch Changes
@sveltejs/sv-utils@0.2.0
Minor Changes
-
feat: decouple sv / sv-utils, explicit public API, deprecation pass (#1046)
@sveltejs/sv-utils- Rename file helpers:
readFile->loadFile,writeFile->saveFile,getPackageJson->loadPackageJson - Add
pnpm.onlyBuiltDependencies()transform forpnpm-workspace.yaml - Export
YamlDocumenttype from parsers - Remove
commonFilePaths,installPackages(moved internal tosv)
svcreate()signature changed tocreate({ cwd, ...options }). The oldcreate(cwd, options)is deprecated and will be removed in the next major release.sv.pnpmBuildDependency()is deprecated and will be removed in the next major release. Usesv.file()withpnpm.onlyBuiltDependencies()from@sveltejs/sv-utilsinstead.workspace.file.prettierignore,.prettierrc,.eslintConfig,.vscodeSettings,.vscodeExtensionsare deprecated and will be removed in the next major release. Use the raw strings directly (e.g.'.prettierignore').- Add
workspace.file.findUp()to locate files by walking up the directory tree. - Add
api-surface.mdsnapshots (auto-generated on build) to track the public API ofsvand@sveltejs/sv-utils. - Remove
setup,createProject,startPreview,addPnpmBuildDependenciesfromsv/testingexports. - Make type exports explicit (no more
export type *). Removed types that were never part of the intended public API:PackageDefinition,Scripts,TestDefinition.
- Rename file helpers:
-
feat: replace
sv.pnpmBuildDependencywithsv.file+pnpm.onlyBuiltDependencieshelper andfile.findUp(#1037)
Patch Changes
- fix:
svelte.addFragmentnow accept types (#1049)
sv@0.14.1
sv@0.14.0
@sveltejs/sv-utils@0.1.0
Minor Changes
- feat: community add-ons are now experimental (#1020)