-
Notifications
You must be signed in to change notification settings - Fork 350
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
Support NPM 2.0 / Semver 3.0 #235
Comments
This is actually worse than it initially looked. Currently also an Relevant issue for the problem in NPM 1.4: npm/read-installed#28 |
Thanks for the heads up, @voxpelli! I'm thinking |
Most other grunt plugins use |
I suspect we'll be removing peerDependencies entirely, given that they are going away (npm/npm#5080). @cowboy, any thoughts here? |
npm issue and peerDep issues tracked in gruntjs/grunt#1186 and npm/read-installed#28 Installation issues with grunt-contrib-uglify in "npm 2" have been resolved for 0.4.x and 0.5.x versions of the plugin |
The upcoming NPM 2.0 release contains the updated 3.0 version of Semver which has changed
^0.x.y
from always being to~0.x.y
to always be equivalent to=0.x.y
.This requires especially the peerDependency on Grunt to be updates as otherwise it will become very hard for projects to fulfill it and failing peerDependencies in dependencies results in
npm install
aborting all installs which essentially breaks a project's entire NPM setup.So all
^0.x.x
dependencies should be changed to~0.x.x
.As I haven't got a CLA signed I can't provide you with a pull request for this just yet and it's such a small change that it's just easier if someone with a CLA submits the fix.
The text was updated successfully, but these errors were encountered: