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

Add volta in package.json #2037

Merged

Conversation

NullVoxPopuli
Copy link
Contributor

@NullVoxPopuli NullVoxPopuli commented Dec 21, 2023

to help folks using volta use the correct versions of the specified tools

package.json Outdated
@@ -132,6 +132,10 @@
"engines": {
"node": "18.* || 20.* || >= 21"
},
"volta": {
"node": "18.19.0",
Copy link
Member

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?

Copy link
Contributor Author

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)

Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you got it 🎉

@bmish bmish added the Internal label Dec 21, 2023
@bmish bmish changed the title Add volta in package.json to help folks using volta use the correct v… Add volta in package.json Dec 21, 2023
Copy link
Member

@bmish bmish left a comment

Choose a reason for hiding this comment

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

Thanks!

@bmish bmish merged commit d0fa05e into ember-cli:master Dec 21, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants