Skip to content
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

Update package.json to use node 20+ #7207

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

shaunanoordin
Copy link
Member

PR Overview

This PR modifies our package.json to specify that PFE's supposed to run with node 20+, and npm 10+.

  • This brings our package.json to match our Dockerfile (node 20 alpine) and deploy files (lts/iron, aka Node.js 20)
  • This is more of a preventative change for dev hygiene, instead of a fix for something that's actually broken.

This update was spurred by the stylus dependabot bump, as stylus 8.0.0 has a breaking change that requires node 18.12.0. In practice this isn't a problem as all our deploy & Docker files use Node.js 20, but in theory it could be a problem for local devs who think that PFE should work with, say, Node 18.0.0.

Status

Looking for comment, ready for review, but low priority, to be honest.

@shaunanoordin shaunanoordin requested a review from a team October 31, 2024 18:26
@coveralls
Copy link

coveralls commented Oct 31, 2024

Coverage Status

coverage: 56.659% (-0.02%) from 56.68%
when pulling 7349179 on package-json-engines-node-20
into d296600 on master.

Copy link
Contributor

@goplayoutside3 goplayoutside3 left a comment

Choose a reason for hiding this comment

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

Agreed with the changes. Thanks!

@shaunanoordin shaunanoordin force-pushed the package-json-engines-node-20 branch from 089c6f9 to 7349179 Compare November 5, 2024 14:10
@shaunanoordin shaunanoordin merged commit 3267757 into master Nov 5, 2024
5 checks passed
@shaunanoordin shaunanoordin deleted the package-json-engines-node-20 branch November 5, 2024 14:14
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.

3 participants