Skip to content

fix(cli): align Node version with Kit 3 - #1273

Open
manuel3108 wants to merge 3 commits into
version-1from
fix/kit3-node-requirement
Open

fix(cli): align Node version with Kit 3#1273
manuel3108 wants to merge 3 commits into
version-1from
fix/kit3-node-requirement

Conversation

@manuel3108

@manuel3108 manuel3108 commented Aug 14, 2026

Copy link
Copy Markdown
Member

Closes #

Description

Align the CLI's Node.js runtime warning and repository automation with the Node.js version required by @sveltejs/kit@next.

Kit 3's current next release requires Node.js >=22.17. This updates the CLI warning threshold and the CI/template-repository workflows from the older Node.js versions so generated Kit 3 projects and repository automation use the same baseline.

Checklist

  • Update snapshots (if applicable)
  • Add a changeset (if applicable)
  • Allow maintainers to edit this PR
  • I care about what I'm doing, no matter the tool I use (Notepad, Sublime, VSCode, AI...)

Validation

  • pnpm check
  • pnpm lint
  • pnpm test --project core

@pkg-svelte-dev

pkg-svelte-dev Bot commented Aug 14, 2026

Copy link
Copy Markdown

Install the latest version of sv from cde4003:

pnx https://pkg.svelte.dev/sv/c/cde400378487cad3b92c01a2a0ad4210f662c7b1 create

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

@changeset-bot

changeset-bot Bot commented Aug 14, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cde4003

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

@svelte-docs-bot

Copy link
Copy Markdown

@manuel3108
manuel3108 force-pushed the fix/kit3-node-requirement branch from 7930f42 to 1f2ab7f Compare August 14, 2026 13:37
@AdrianGonz97

Copy link
Copy Markdown
Member

while we're at it, we probably should pin the @types/node version in the repo's root as well:

"@types/node": "^25.9.1",

tsdown needs node >=22.18 (native TS stripping) to keep its deps light, so pinning CI to kit 3's 22.17 floor breaks the addon template build.
types should match the node 22 runtime the cli supports.
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.

3 participants