Why it was added again peerDependencies ?
Hi. I think peerDependencies is deprecated but added again in the package.json.
Remove peerDeps. Ref gruntjs/grunt#1116: https://github.com/gruntjs/grunt-contrib-jshint/commit/4557d0440d17383825cb84abede08b90b8b21614 Add grunt >=0.4.0 as a peerDep: https://github.com/gruntjs/grunt-contrib-jshint/commit/a368347ad26380fd2a59dd57bc1ab2e765493808
If it has grunt >= 0.4.0 in peerDependencies, I can't use Grunt v1.0.0-rc1 with npm 2.x.
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants grunt@>=0.4.0
In this environment,
$ node --version
v4.3.2
$ npm --version
2.14.12
$ nvm --version
0.23.3
Thank you.
Thanks for the issue. this is strange @shama :confused:
Wow that is annoying. They are added back in to be consistent with our recommendations. Until grunt is no longer an actual peer dep. >=0.4.0 should match 1.0.0-rc1 but if it doesn't... sigh. I guess we'll have to nuke them or just never release pre-release versions.
Hello @shama,
>=0.4.0should match1.0.0-rc1but if it doesn't... sigh.
That's right! I thought that >=0.4.0 matchs 1.0.0-rc1 but ...
I hope that Grunt v1.0 is released quickly.
Thank you.
@shama Grunt passed v1.0.0. any chance of getting this peer dep updated? Thx