Skip to content

fix: add engines field to specify Node version compatibility#112

Merged
chenjiahan merged 3 commits intomainfrom
engines_0328
Mar 28, 2026
Merged

fix: add engines field to specify Node version compatibility#112
chenjiahan merged 3 commits intomainfrom
engines_0328

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Copilot AI review requested due to automatic review settings March 28, 2026 01:04
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request simplifies the build, development, and test scripts in package.json and introduces a Node.js version requirement in the engines field. A critical issue was identified regarding the specified Node.js versions, which appear to be future releases that would prevent installation on current environments; a suggestion was provided to use existing LTS versions.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates create-rstack’s published metadata to prevent installs on unsupported Node.js versions (per Issue #110), aligning Node compatibility with transitive requirements introduced by rslog@2.

Changes:

  • Add an explicit engines.node range (^20.19.0 || >=22.12.0) to match dependencies’ Node requirements.
  • Update scripts commands for rslib/rstest invocations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chenjiahan chenjiahan merged commit 3176cac into main Mar 28, 2026
4 checks passed
@chenjiahan chenjiahan deleted the engines_0328 branch March 28, 2026 01:09
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