-
-
Notifications
You must be signed in to change notification settings - Fork 204
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
Add volta in package.json #2037
Add volta in package.json #2037
Conversation
…ersions of the specified tools
package.json
Outdated
@@ -132,6 +132,10 @@ | |||
"engines": { | |||
"node": "18.* || 20.* || >= 21" | |||
}, | |||
"volta": { | |||
"node": "18.19.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.
Can we use Node 21?
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.
I suppose, but convention has been to keep local environment on min-supported so you don't accidentally use a feature that's not in your min-supported node.
(exception being libraries that don't need node at all, such as browser-only libraries)
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.
We have CI tests for all of our supported Node versions. I would prefer to rely on those to catch issues.
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.
you got it 🎉
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!
to help folks using volta use the correct versions of the specified tools