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

Verify node and npm is compatible #51

Open
patocallaghan opened this issue Nov 11, 2015 · 1 comment
Open

Verify node and npm is compatible #51

patocallaghan opened this issue Nov 11, 2015 · 1 comment

Comments

@patocallaghan
Copy link

As you can specify a node and npm version in the engines part of the package.json, can this addon be use to warn if an incompatible version is being used?

 "engines": {
   "node": "5.0.0",
   "npm": "3.3.12"
 },
@alexlafroscia
Copy link

alexlafroscia commented Jul 6, 2017

Would love to open this conversation up. My team has been talking about how to ensure we're all using the same version of Yarn, and something like this could be a really nice solution.

I'm not sure if engines would be the right way to do that, since that is supposed to dictate the version of the runtime that the package supports, but something similar would be a great idea to verify the version of global packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants