Skip to content

fix(migrate): update @sveltejs/package for SvelteKit 3 - #1336

Merged
jycouet merged 2 commits into
sveltejs:version-1from
erenbati:fix/kit3-package-version-1299
Sep 20, 2026
Merged

jycouet merged 2 commits into
sveltejs:version-1from
erenbati:fix/kit3-package-version-1299

Conversation

@erenbati

Copy link
Copy Markdown
Contributor

What changed

When the SvelteKit 3 migration upgrades TypeScript to 6, also update an installed @sveltejs/package older than 2.5.8.

@sveltejs/package@2.5.8 added TypeScript 6 support, and the current SvelteKit 3 library template already uses ^2.5.8. This keeps the migration on the existing package major while avoiding the TypeScript 5-only dependency combination described in #1299.

The package-json migration fixture now covers @sveltejs/package@2.5.7 -> ^2.5.8.

Fixes #1299.

Validation

No local test run yet. Opening as draft to use CI for validation before marking ready.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Sep 20, 2026

Copy link
Copy Markdown

Install the latest version of sv from 410a1cc:

pnx https://pkg.svelte.dev/sv/c/410a1cc4696306c071dd28d3f741fc0891e5dbdc create

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

Note

This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed.

@changeset-bot

changeset-bot Bot commented Sep 20, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 410a1cc

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

This PR includes changesets to release 1 package
Name Type
sv 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

@jycouet jycouet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add only if it's there 👍
Thank you

@jycouet
jycouet merged commit 2445a24 into sveltejs:version-1 Sep 20, 2026
7 of 8 checks passed
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.

@sveltejs/package is not updated during SvelteKit 3 migration

2 participants