Broaden create template engines to any supported Node version#982
Merged
Conversation
The repo and generated project templates were pinned to Node 26.1.0, a current (non-LTS) release. Move them to the latest active LTS line, Node 24 (Krypton). - Root .nvmrc and package.json engines -> Node 24.18.0 - Workspace template _nvmrc -> 24.18.0, engines -> >=24.0.0 - Package template engines -> >=24.0.0 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DZ8bPMfVCNioC12vJaer5Q
…e 26 Instead of pinning the create templates (and the repo) down to Node 24, keep the repo on Node 26 and declare the templates' supported Node range as any currently maintained line (^20.19.0 || ^22.12.0 || >=24.0.0), matching the range required by their vite/rollup dependencies. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DZ8bPMfVCNioC12vJaer5Q
lemonmade
marked this pull request as ready for review
July 23, 2026 14:11
The .nvmrc that scaffolded projects inherit comes from the shared workspace template, which every project type copies as its root. Pin it to the latest LTS (24.18.0) so generated projects default to LTS, while the quilt repo itself stays on Node 26. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DZ8bPMfVCNioC12vJaer5Q
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Make
@quilted/create-scaffolded projects default to the latest Node.js LTS (Node 24), and declare support for any currently maintained Node line. The quilt repo itself stays on Node 26 — no downgrade.Changes
@quilted/createtemplatestemplates/workspace/_nvmrc:26.1.0→24.18.0— generated projects pin to the latest LTS. (This shared workspace template is copied as the root of every scaffolded project, so it's the single source of the generated.nvmrc.)templates/workspace/package.jsonengines.node:>=22.7.0→^20.19.0 || ^22.12.0 || >=24.0.0templates/package/package.jsonengines.node:>=18.0.0→^20.19.0 || ^22.12.0 || >=24.0.0The
enginesrange mirrors what the templates' ownvite/rollupdependencies require, so a generated project can't declare support for a Node version its toolchain rejects. It keeps Node 22 in range.A
patchchangeset for@quilted/createis included.Not changed
.nvmrc(v26.1.0) and rootpackage.jsonengines(>=26.1.0) — the repo continues to develop against Node 26.engines.nodevalues on the individual published@quilted/*packages are untouched.