Skip to content

Include engines and devEngines fields in package.json? #680

@mao-sz

Description

@mao-sz

The repo currently does not specify which version of Node the bot is deployed on, so there is a chance that code runs locally but breaks in prod if it's running on a version that doesn't have a newer feature.

Recently, I had a PR that Fred reviewed that broke with one commit because I unknowingly used a Node v22+ feature and he was still on v20. Finding out what version the bot is deployed on (if available, able to bump it to the latest host version?) then setting that as the max in package.json would help prevent any such bugs.


Edit: Accidentally created a blank issue. Happy to add this in if we can found out the exact version the bot is deployed on.

Metadata

Metadata

Labels

Status: In ProgressThis issue/PR has ongoing work being doneType: ChoreInvolves changes with no user-facing value, to the build process/internal tooling, refactors, etc.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions