-
Notifications
You must be signed in to change notification settings - Fork 265
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
Change package.json key to 'volta' from 'toolchain' #412
Comments
I agree! Right now, the concept of pinning a project's engines is new and unfamiliar, and it won't appear in any standard documentation so people won't know how to search for it when they've never heard of Volta and come across the configuration it in a random project's I would love to see the concept of pinning engines become something more standard. At some point, maybe other tools would like to adopt the idea, or even the core Node platform. At that point, I do think it would be nicer to have a more semantic name than |
👍 I think this is absolutely the right direction. I'd love to end up in a future where |
I agree with this change, but want to point out that for teams already using Notion (like the pilot devs here at LI), there will need to be some kind of migration. Either:
|
Good call out, I'll make sure to create a Wiki page calling out the migration steps. |
For the
package.json
key that is used by Volta, we originally landed ontoolchain
in an attempt to be general and not try to make it specific to this one tool. However, there are a few reasons why this isn't ideal:package.json
at the moment. If we gain traction and there is a push to align on a single key with several other packages, then we can tackle that with all the relevant stakeholders at that point.package.json
, specifically the comment about striving to avoid collisions by using names that don't have meanings relevant to package management.toolchain
is definitely a generic term that is relevant to package management.package.json
and see atoolchain
, you don't know what this is about or what tool uses it. It's not part of the standard spec (though as mentioned above, it looks like it could be), but there's no way for you to know that it's a Volta configuration.For these reasons, it seems best to switch to using
volta
. That solves the problem of discoverability and removes the potential for collisions with general-purpose package-management terms.The text was updated successfully, but these errors were encountered: