Closed robhrt7 closed 8 years ago
Please keep in mind that npm 3 will not auto-install peer dependencies either
npm WARN peerDependencies The peer dependency yo@>=1.0.0 included from ronin will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency generator-ronin@^0.1.2 included from ronin will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
Thanks for suggestion, will fix.
NPM 3 is already in pre-release state.
Feel free to submit a PR.
Ronin framework part (on which other ppl build their CLI) should not have Yeoman dependencies. Yeoman is heavy, it's another spare dependency, and it may cause conflicts with some of the plugins or older yeoman versions. Distributing my CLI, I don't want users to install Yeoman and have problems with it, especially if it is not used.
After slight investigation I see that Ronin uses Yeoman only for scaffolding that comes from
generator-ronin
and is packed to mainronin
forronin new
command. Which means that for running an other CLI based on Ronin, we don't need Yeoman dependency at all.I suggest separating
ronin-generator
andronin
core, so our CLI's will be dependant only on light core, without spare features.For now, I will use my fork with removed
peerdependencies
.