grunt-ts
grunt-ts copied to clipboard
Need to handle peer dependencies properly to support npm 3+
Any suggestions would be welcome. (lazygit)
http://blog.npmjs.org/post/122450408965/npm-weekly-20-npm-3-is-here-ish
@basarat @jeffmay @staxmanade @johnnyreilly
Hey folks - I think there's only two ways to account for the peer dependencies change in npm 3.0 (blog post linked above):
- Change from a peer dependency to a direct dependency.
- Document that someone needs to run
npm installagain after installing grunt-ts.
Which do you prefer? Is there some other solution that I'm not considering? Thanks for your input. I'll address this in the TypeScript 1.5 grunt-ts branch as it will be a breaking change either way.
If you have a module that uses peerDependencies, please make sure you understand the changes. We will be writing a blog post about this soon.
I'll wait for this to come out, as I have completely fallen out of touch with current updates to NPM :)