-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Packages: Update the minimum required Node.js version to 14 for tools #43141
Conversation
dc0f362
to
fd92d05
Compare
Size Change: +414 B (0%) Total Size: 1.27 MB
ℹ️ View Unchanged
|
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.
Thanks for this, @gziolo! It looks awesome!
I just wasn't sure about the criteria we used when deciding which package to bump and which not to. Could you elaborate on that part?
I've also left a couple more questions. LMK what you think!
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.
Looks great, thanks 🚀
What?
This PR update the minimum required Node.js version to 14 for tools.
Why?
Node.js is no longer supporting v12. Let's update npm packages used directly with Node.js to require at least v14 according to the Long Term Support (LTS) schedule.
Support for Node v12 prevents us from using the most recent JavaScript syntax like optional chaining. The most recent example would be with #41642.
How?
Update
engines
field inpackage.json
files to require Node.js v14+.We should also stop running GitHub workflows with Node 12.
Testing Instructions
Everything should work as before with Node.js 14 and newer.