Skip to content

chore: merge main into version-1 - #1196

Open
jycouet wants to merge 5 commits into
version-1from
merge-main-into-version-1
Open

chore: merge main into version-1#1196
jycouet wants to merge 5 commits into
version-1from
merge-main-into-version-1

Conversation

@jycouet

@jycouet jycouet commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Brings main (4 commits) into version-1 in a single merge commit.

Conflict resolutions:

  • keep the v1 side (verkit instead of semver, deprecated APIs removed), while taking main's newer package-manager-detector@^1.8.0
  • create/add: combine main's "skip formatting when install failed" with v1's strategy: 'files-only'
  • svelte-migrate is a deprecated stub on v1, so its changeset entry and deps are dropped

sacrosanctic and others added 5 commits July 23, 2026 15:46
* main

* throw if pm isnt installed

* throw

* nit

* changeset

* tmv sv ordering

* sh is unknwon on windows (execSync know about it)

* hint to label & next step

* caching agent install, keep none by default

---------

Co-authored-by: jycouet <jycouet@gmail.com>
Bump package-manager-detector to ^1.8.0, the first release with nub in its
agent and command tables. sv-utils bundles the library at build time, so the
published bundle only knows about nub once rebuilt against >=1.8.0.
)

When prettier is among the scaffolded add-ons, format the whole project rather
than only the add-on-touched files, so a fresh project passes its own lint.
Prettier's ignore rules still apply.

Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
* feat: addOption in setup phase

* fmt²

* okay cut

* humm

* fmt

* chore: update api surface

* test: await async setupAddons in engine tests

* Update packages/sv/src/core/config.ts

Co-authored-by: Scott Wu <sw@scottwu.ca>

* Update packages/sv/src/core/config.ts

Co-authored-by: Scott Wu <sw@scottwu.ca>

* feat: typesafe addOption keys via defineAddon setup generic

- addOption now constrains key + question type from defineAddon<SetupValues>()
- regenerate api surface

---------

Co-authored-by: Scott Wu <sw@scottwu.ca>
Resolve conflicts: keep verkit-based semver utils and the v1 deprecation removals, keep main's smart package manager selection + `addOption` setup phase, and combine both format flows (skip formatting when install fails, keep the 'files-only' strategy).
@pkg-svelte-dev

Copy link
Copy Markdown

Install the latest version of sv from 3e4c222:

pnpm add https://pkg.svelte.dev/sv/c/3e4c2221e05e39d6dee59d7072bc5a68ff017605

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/cli/pr/1196

@changeset-bot

changeset-bot Bot commented Jul 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3e4c222

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
sv Patch
@sveltejs/sv-utils Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@svelte-docs-bot

Copy link
Copy Markdown

@sacrosanctic

Copy link
Copy Markdown
Contributor

will you set default branch to version-1 as well?

@jycouet

jycouet commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

will you set default branch to version-1 as well?

I'm not sure, we can still push to the 2 places?
And release a non next thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants