Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/clear-mangos-notice.md

This file was deleted.

23 changes: 0 additions & 23 deletions .changeset/coupling-sv-and-sv-utils.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/loud-geese-change.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/olive-camels-smoke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/petite-areas-yell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/remove-devtools-json.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/remove-pnpm-build-dependency.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/six-shrimps-leave.md

This file was deleted.

31 changes: 31 additions & 0 deletions packages/sv-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion packages/sv-utils/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
46 changes: 46 additions & 0 deletions packages/sv/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion packages/sv/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down