Skip to content

Broaden create template engines to any supported Node version#982

Merged
lemonmade merged 3 commits into
mainfrom
claude/node-lts-upgrade-xhf7dc
Jul 23, 2026
Merged

Broaden create template engines to any supported Node version#982
lemonmade merged 3 commits into
mainfrom
claude/node-lts-upgrade-xhf7dc

Conversation

@lemonmade

@lemonmade lemonmade commented Jul 23, 2026

Copy link
Copy Markdown
Owner

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/create templates

  • templates/workspace/_nvmrc: 26.1.024.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.json engines.node: >=22.7.0^20.19.0 || ^22.12.0 || >=24.0.0
  • templates/package/package.json engines.node: >=18.0.0^20.19.0 || ^22.12.0 || >=24.0.0

The engines range mirrors what the templates' own vite/rollup dependencies require, so a generated project can't declare support for a Node version its toolchain rejects. It keeps Node 22 in range.

A patch changeset for @quilted/create is included.

Not changed

  • The repo's own .nvmrc (v26.1.0) and root package.json engines (>=26.1.0) — the repo continues to develop against Node 26.
  • Per-package engines.node values on the individual published @quilted/* packages are untouched.

claude added 2 commits July 23, 2026 13:40
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 lemonmade changed the title Upgrade repo and create templates to Node.js 24 LTS Broaden create template engines to any supported Node version Jul 23, 2026
@lemonmade
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
@lemonmade
lemonmade merged commit c7fb41a into main Jul 23, 2026
7 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.

2 participants