-
Notifications
You must be signed in to change notification settings - Fork 211
fix(web): declare a Node floor the lint toolchain can actually run on #1913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,7 +34,7 @@ | |
| "analyse": "tsc --noEmit" | ||
| }, | ||
| "engines": { | ||
| "node": ">=18.0.0" | ||
| "node": "^20.19.0 || ^22.13.0 || >=24" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The matching Web package-lock template still records the root package engine as Prompt To Fix With AIThis is a comment left during a code review.
Path: templates/web/package.json.twig
Line: 37
Comment:
**Generated Engine Metadata Conflicts**
The matching Web package-lock template still records the root package engine as `>=18.0.0`, while this generated package manifest now requires `^20.19.0 || ^22.13.0 || >=24`. The React Native templates have the same mismatch. Newly generated repositories will therefore contain contradictory Node requirements, and routine lockfile regeneration may produce unexplained repository changes.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly. |
||
| }, | ||
| "dependencies": { | ||
| "json-bigint": "1.0.0" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These templates produce published SDK packages, so
engines.nodeconstrains downstream consumers as well as contributors. A consumer using the still-documented Node 18 runtime withengine-strictwill now have installation rejected, even though the incompatible ESLint packages are development-only and absent from consumer installs. The same change appears intemplates/react-native/package.json.twig:37, where Node 18 is also still documented as supported.Prompt To Fix With AI