-
-
Notifications
You must be signed in to change notification settings - Fork 24
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 pins for Volta #529
base: master
Are you sure you want to change the base?
Add pins for Volta #529
Conversation
what's volta? |
google for 'volta node' ;-) An IMHO much more convenient and less bloated alternative for nvm. |
Volto, Volta, 🤪 |
My first thought: this is a typo 🫣 |
Interesting! Trying it out, starting on master:
If you don't have those versions yet, Volta will automatically download them. Nice! I am in favour. Would be nice for |
What I like about Volta is that it has the same functionality as nvm where it manages and downloads separate installs of node/npm/yarn versions. But it also has out of the box automatic activation in a proeject dir. With nvm you need to follow extra instructions to add stuff to your bashrc/profile and nvm is subjectively slower for me. I think it activates on 'cd'-ing in to a directory and uses shell commands. The Volta shims are binaries and work almost instantly. And if you don't (want to) use Volta, the pins in the package.json are ignored. |
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 always make nvm use 18
... would do it for volta too.
@@ -37,5 +37,9 @@ | |||
"repository": { | |||
"type": "git", | |||
"url": "https://github.com/plone/mockup.git" | |||
}, | |||
"volta": { | |||
"node": "16.19.1", |
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.
"node": "16.19.1", | |
"node": "18.17.0", |
Add pins for people using Volta for automatic node/yarn/npm tooling pins & installation/shims.