Skip to content

Commit 9b0aa4c

Browse files
Version Packages
1 parent ed93305 commit 9b0aa4c

10 files changed

Lines changed: 73 additions & 51 deletions

.changeset/clear-mangos-notice.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/coupling-sv-and-sv-utils.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

.changeset/loud-geese-change.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/olive-camels-smoke.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/remove-devtools-json.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/remove-pnpm-build-dependency.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/sv-utils/CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# @sveltejs/sv-utils
22

3+
## 0.2.0
4+
### Minor Changes
5+
6+
7+
- feat: decouple sv / sv-utils, explicit public API, deprecation pass ([#1046](https://github.com/sveltejs/cli/pull/1046))
8+
9+
**`@sveltejs/sv-utils`**
10+
11+
- Rename file helpers: `readFile` -> `loadFile`, `writeFile` -> `saveFile`, `getPackageJson` -> `loadPackageJson`
12+
- Add `pnpm.onlyBuiltDependencies()` transform for `pnpm-workspace.yaml`
13+
- Export `YamlDocument` type from parsers
14+
- Remove `commonFilePaths`, `installPackages` (moved internal to `sv`)
15+
16+
**`sv`**
17+
18+
- `create()` signature changed to `create({ cwd, ...options })`. The old `create(cwd, options)` is deprecated and will be removed in the next major release.
19+
- `sv.pnpmBuildDependency()` is deprecated and will be removed in the next major release. Use `sv.file()` with `pnpm.onlyBuiltDependencies()` from `@sveltejs/sv-utils` instead.
20+
- `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'`).
21+
- Add `workspace.file.findUp()` to locate files by walking up the directory tree.
22+
- Add `api-surface.md` snapshots (auto-generated on build) to track the public API of `sv` and `@sveltejs/sv-utils`.
23+
- Remove `setup`, `createProject`, `startPreview`, `addPnpmBuildDependencies` from `sv/testing` exports.
24+
- Make type exports explicit (no more `export type *`). Removed types that were never part of the intended public API: `PackageDefinition`, `Scripts`, `TestDefinition`.
25+
26+
- feat: replace `sv.pnpmBuildDependency` with `sv.file` + `pnpm.onlyBuiltDependencies` helper and `file.findUp` ([#1037](https://github.com/sveltejs/cli/pull/1037))
27+
28+
29+
### Patch Changes
30+
31+
32+
- fix: `svelte.addFragment` now accept types ([#1049](https://github.com/sveltejs/cli/pull/1049))
33+
334
## 0.1.0
435
### Minor Changes
536

packages/sv-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sveltejs/sv-utils",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"type": "module",
55
"description": "Utility functions for sv",
66
"license": "MIT",

packages/sv/CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
11
# sv
22

3+
## 0.15.0
4+
### Minor Changes
5+
6+
7+
- feat: decouple sv / sv-utils, explicit public API, deprecation pass ([#1046](https://github.com/sveltejs/cli/pull/1046))
8+
9+
**`@sveltejs/sv-utils`**
10+
11+
- Rename file helpers: `readFile` -> `loadFile`, `writeFile` -> `saveFile`, `getPackageJson` -> `loadPackageJson`
12+
- Add `pnpm.onlyBuiltDependencies()` transform for `pnpm-workspace.yaml`
13+
- Export `YamlDocument` type from parsers
14+
- Remove `commonFilePaths`, `installPackages` (moved internal to `sv`)
15+
16+
**`sv`**
17+
18+
- `create()` signature changed to `create({ cwd, ...options })`. The old `create(cwd, options)` is deprecated and will be removed in the next major release.
19+
- `sv.pnpmBuildDependency()` is deprecated and will be removed in the next major release. Use `sv.file()` with `pnpm.onlyBuiltDependencies()` from `@sveltejs/sv-utils` instead.
20+
- `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'`).
21+
- Add `workspace.file.findUp()` to locate files by walking up the directory tree.
22+
- Add `api-surface.md` snapshots (auto-generated on build) to track the public API of `sv` and `@sveltejs/sv-utils`.
23+
- Remove `setup`, `createProject`, `startPreview`, `addPnpmBuildDependencies` from `sv/testing` exports.
24+
- Make type exports explicit (no more `export type *`). Removed types that were never part of the intended public API: `PackageDefinition`, `Scripts`, `TestDefinition`.
25+
26+
- 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))
27+
28+
29+
- feat: replace `sv.pnpmBuildDependency` with `sv.file` + `pnpm.onlyBuiltDependencies` helper and `file.findUp` ([#1037](https://github.com/sveltejs/cli/pull/1037))
30+
31+
32+
### Patch Changes
33+
34+
35+
- feat(sv): bump all templates to use vite 8 ([#1005](https://github.com/sveltejs/cli/pull/1005))
36+
37+
38+
- fix(paraglide): type and lint errors ([#1049](https://github.com/sveltejs/cli/pull/1049))
39+
40+
- 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)]:
41+
- @sveltejs/sv-utils@0.2.0
42+
343
## 0.14.1
444
### Patch Changes
545

packages/sv/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sv",
3-
"version": "0.14.1",
3+
"version": "0.15.0",
44
"type": "module",
55
"description": "A command line interface (CLI) for creating and maintaining Svelte applications",
66
"license": "MIT",

0 commit comments

Comments
 (0)