Skip to content

feat: support Node.js 20.19+ and 22.12+ - #569

Merged
chenjiahan merged 2 commits into
mainfrom
chenjiahan/feat-node20-support
Oct 14, 2026
Merged

chenjiahan merged 2 commits into
mainfrom
chenjiahan/feat-node20-support

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Motivation

With the automatic config loader and bundled jiti fallback in #565, Rstack no longer requires native TypeScript support to load configs. Allow the same Node.js range as Rsbuild, Rslib, and Rstest.

Changes

Set the Node.js range to ^20.19.0 || >=22.12.0 for Rstack, create-rstack, and the Node library templates, and update both quick-start guides. Use sort-package-json 3.7.1 because v4 removed Node.js 20 support and fails with Object.groupBy is not a function when formatting package.json on Node.js 20.

Validated locally on Node.js 20.19.0 and 22.12.0: 150 CLI tests and 30 scaffolding tests pass on each, plus repeated loading of configs containing TypeScript enums. Build, native build, lint/type/format checks, and the full Node.js 24 suite pass (427 passed, 1 skipped). CI configuration is unchanged.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T13:53:53.305260Z 14bfd1c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: d2489d6
Status: ✅  Deploy successful!
Preview URL: https://1fefdf7f.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-feat-node20-suppo.rstack-cli.pages.dev

View logs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 14bfd1c723

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/rstack/package.json
@chenjiahan
chenjiahan merged commit 5d7f0e6 into main Oct 14, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/feat-node20-support branch October 14, 2026 02:38
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.

1 participant