chore: declare node >=20, the version the box actually runs - #232
Merged
Conversation
Was: undeclared. Eighteen of thirty repos declared no Node version at all, and the twelve that did used five spellings of the same intent - >=18, >=20, >=20.0.0, >=22, >=22.19.0. The box runs 20.20.2, so >=22 was a claim nothing could satisfy and nothing would have caught. One spelling, matching the machine that runs it, turns an invisible mismatch into a loud one. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P
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.
The box runs Node 20.20.2. This repo's
engines.nodedid not say so.Across the fleet, 18 of 30 repos declared no Node version at all, and the twelve that did used five spellings of the same intent:
hirnliclaimed>=22— a requirement the box cannot satisfy, and one nothing would have caught, because npm only warns on an engine mismatch and the deploy never checks it. It is latent rather than live only because hirnli is not deployed to the box yet.One spelling, matching the machine that actually runs the code, turns an invisible mismatch into a loud one.
Package.json key order and the file's own indentation are preserved — three repos in the fleet run
prettier --check ., and a reformattedpackage.jsonwould fail them.🤖 Generated with Claude Code
https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P