diff --git a/.changeset/clear-mangos-notice.md b/.changeset/clear-mangos-notice.md deleted file mode 100644 index 4572cf93a..000000000 --- a/.changeset/clear-mangos-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'sv': patch ---- - -feat(sv): bump all templates to use vite 8 diff --git a/.changeset/coupling-sv-and-sv-utils.md b/.changeset/coupling-sv-and-sv-utils.md deleted file mode 100644 index 2da746c6d..000000000 --- a/.changeset/coupling-sv-and-sv-utils.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'sv': minor -'@sveltejs/sv-utils': minor ---- - -feat: decouple sv / sv-utils, explicit public API, deprecation pass - -**`@sveltejs/sv-utils`** - -- Rename file helpers: `readFile` -> `loadFile`, `writeFile` -> `saveFile`, `getPackageJson` -> `loadPackageJson` -- Add `pnpm.onlyBuiltDependencies()` transform for `pnpm-workspace.yaml` -- Export `YamlDocument` type from parsers -- Remove `commonFilePaths`, `installPackages` (moved internal to `sv`) - -**`sv`** - -- `create()` signature changed to `create({ cwd, ...options })`. The old `create(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. Use `sv.file()` with `pnpm.onlyBuiltDependencies()` from `@sveltejs/sv-utils` instead. -- `workspace.file.prettierignore`, `.prettierrc`, `.eslintConfig`, `.vscodeSettings`, `.vscodeExtensions` are 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.md` snapshots (auto-generated on build) to track the public API of `sv` and `@sveltejs/sv-utils`. -- Remove `setup`, `createProject`, `startPreview`, `addPnpmBuildDependencies` from `sv/testing` exports. -- Make type exports explicit (no more `export type *`). Removed types that were never part of the intended public API: `PackageDefinition`, `Scripts`, `TestDefinition`. diff --git a/.changeset/loud-geese-change.md b/.changeset/loud-geese-change.md deleted file mode 100644 index 49cbf1864..000000000 --- a/.changeset/loud-geese-change.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sveltejs/sv-utils': patch ---- - -fix: `svelte.addFragment` now accept types diff --git a/.changeset/olive-camels-smoke.md b/.changeset/olive-camels-smoke.md deleted file mode 100644 index f52b86d51..000000000 --- a/.changeset/olive-camels-smoke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sv": patch ---- - -fix(paraglide): type and lint errors diff --git a/.changeset/petite-areas-yell.md b/.changeset/petite-areas-yell.md deleted file mode 100644 index cd4ee6613..000000000 --- a/.changeset/petite-areas-yell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'sv': patch ---- - -feat(sv): bump all templates to use typescript 6 diff --git a/.changeset/remove-devtools-json.md b/.changeset/remove-devtools-json.md deleted file mode 100644 index d8b10e18a..000000000 --- a/.changeset/remove-devtools-json.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'sv': minor ---- - -remove: `devtools-json` add-on as SvelteKit will [silently 404 Chrome DevTools workspaces request](https://github.com/sveltejs/kit/pull/15656). You can still add `vite-plugin-devtools-json` manually if needed. diff --git a/.changeset/remove-pnpm-build-dependency.md b/.changeset/remove-pnpm-build-dependency.md deleted file mode 100644 index 41b340900..000000000 --- a/.changeset/remove-pnpm-build-dependency.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'sv': minor -'@sveltejs/sv-utils': minor ---- - -feat: replace `sv.pnpmBuildDependency` with `sv.file` + `pnpm.onlyBuiltDependencies` helper and `file.findUp` diff --git a/.changeset/six-shrimps-leave.md b/.changeset/six-shrimps-leave.md deleted file mode 100644 index f22b4a4b9..000000000 --- a/.changeset/six-shrimps-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'sv': patch ---- - -chore(cli): bump defaults versions diff --git a/packages/sv-utils/CHANGELOG.md b/packages/sv-utils/CHANGELOG.md index b9a1fdd3a..362b6ead5 100644 --- a/packages/sv-utils/CHANGELOG.md +++ b/packages/sv-utils/CHANGELOG.md @@ -1,5 +1,36 @@ # @sveltejs/sv-utils +## 0.2.0 +### Minor Changes + + +- feat: decouple sv / sv-utils, explicit public API, deprecation pass ([#1046](https://github.com/sveltejs/cli/pull/1046)) + + **`@sveltejs/sv-utils`** + + - Rename file helpers: `readFile` -> `loadFile`, `writeFile` -> `saveFile`, `getPackageJson` -> `loadPackageJson` + - Add `pnpm.onlyBuiltDependencies()` transform for `pnpm-workspace.yaml` + - Export `YamlDocument` type from parsers + - Remove `commonFilePaths`, `installPackages` (moved internal to `sv`) + + **`sv`** + + - `create()` signature changed to `create({ cwd, ...options })`. The old `create(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. Use `sv.file()` with `pnpm.onlyBuiltDependencies()` from `@sveltejs/sv-utils` instead. + - `workspace.file.prettierignore`, `.prettierrc`, `.eslintConfig`, `.vscodeSettings`, `.vscodeExtensions` are 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.md` snapshots (auto-generated on build) to track the public API of `sv` and `@sveltejs/sv-utils`. + - Remove `setup`, `createProject`, `startPreview`, `addPnpmBuildDependencies` from `sv/testing` exports. + - Make type exports explicit (no more `export type *`). Removed types that were never part of the intended public API: `PackageDefinition`, `Scripts`, `TestDefinition`. + +- feat: replace `sv.pnpmBuildDependency` with `sv.file` + `pnpm.onlyBuiltDependencies` helper and `file.findUp` ([#1037](https://github.com/sveltejs/cli/pull/1037)) + + +### Patch Changes + + +- fix: `svelte.addFragment` now accept types ([#1049](https://github.com/sveltejs/cli/pull/1049)) + ## 0.1.0 ### Minor Changes diff --git a/packages/sv-utils/package.json b/packages/sv-utils/package.json index 53d9be30d..970929d33 100644 --- a/packages/sv-utils/package.json +++ b/packages/sv-utils/package.json @@ -1,6 +1,6 @@ { "name": "@sveltejs/sv-utils", - "version": "0.1.0", + "version": "0.2.0", "type": "module", "description": "Utility functions for sv", "license": "MIT", diff --git a/packages/sv/CHANGELOG.md b/packages/sv/CHANGELOG.md index ab584c104..8a48992ac 100644 --- a/packages/sv/CHANGELOG.md +++ b/packages/sv/CHANGELOG.md @@ -1,5 +1,51 @@ # sv +## 0.15.0 +### Minor Changes + + +- feat: decouple sv / sv-utils, explicit public API, deprecation pass ([#1046](https://github.com/sveltejs/cli/pull/1046)) + + **`@sveltejs/sv-utils`** + + - Rename file helpers: `readFile` -> `loadFile`, `writeFile` -> `saveFile`, `getPackageJson` -> `loadPackageJson` + - Add `pnpm.onlyBuiltDependencies()` transform for `pnpm-workspace.yaml` + - Export `YamlDocument` type from parsers + - Remove `commonFilePaths`, `installPackages` (moved internal to `sv`) + + **`sv`** + + - `create()` signature changed to `create({ cwd, ...options })`. The old `create(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. Use `sv.file()` with `pnpm.onlyBuiltDependencies()` from `@sveltejs/sv-utils` instead. + - `workspace.file.prettierignore`, `.prettierrc`, `.eslintConfig`, `.vscodeSettings`, `.vscodeExtensions` are 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.md` snapshots (auto-generated on build) to track the public API of `sv` and `@sveltejs/sv-utils`. + - Remove `setup`, `createProject`, `startPreview`, `addPnpmBuildDependencies` from `sv/testing` exports. + - Make type exports explicit (no more `export type *`). Removed types that were never part of the intended public API: `PackageDefinition`, `Scripts`, `TestDefinition`. + +- remove: `devtools-json` add-on as SvelteKit will [silently 404 Chrome DevTools workspaces request](https://github.com/sveltejs/kit/pull/15656). You can still add `vite-plugin-devtools-json` manually if needed. ([#1047](https://github.com/sveltejs/cli/pull/1047)) + + +- feat: replace `sv.pnpmBuildDependency` with `sv.file` + `pnpm.onlyBuiltDependencies` helper and `file.findUp` ([#1037](https://github.com/sveltejs/cli/pull/1037)) + + +### Patch Changes + + +- feat(sv): bump all templates to use vite 8 ([#1005](https://github.com/sveltejs/cli/pull/1005)) + + +- fix(paraglide): type and lint errors ([#1049](https://github.com/sveltejs/cli/pull/1049)) + + +- feat(sv): bump all templates to use typescript 6 ([#1055](https://github.com/sveltejs/cli/pull/1055)) + + +- chore(cli): bump defaults versions ([#1056](https://github.com/sveltejs/cli/pull/1056)) + +- Updated dependencies [[`baba23f`](https://github.com/sveltejs/cli/commit/baba23f8ec95948e7f0317ce50c7f594f595546e), [`37a701e`](https://github.com/sveltejs/cli/commit/37a701e18e06ba50468e9265831455ed10a0f66a), [`aead922`](https://github.com/sveltejs/cli/commit/aead92212639504c79644ff0b39ceb54ec36ada3)]: + - @sveltejs/sv-utils@0.2.0 + ## 0.14.1 ### Patch Changes diff --git a/packages/sv/package.json b/packages/sv/package.json index f80ced63e..38b58cadc 100644 --- a/packages/sv/package.json +++ b/packages/sv/package.json @@ -1,6 +1,6 @@ { "name": "sv", - "version": "0.14.1", + "version": "0.15.0", "type": "module", "description": "A command line interface (CLI) for creating and maintaining Svelte applications", "license": "MIT",