grunt-ts icon indicating copy to clipboard operation
grunt-ts copied to clipboard

Need to handle peer dependencies properly to support npm 3+

Open nycdotnet opened this issue 10 years ago • 2 comments
trafficstars

Any suggestions would be welcome. (lazygit)

http://blog.npmjs.org/post/122450408965/npm-weekly-20-npm-3-is-here-ish

nycdotnet avatar Jun 07 '15 03:06 nycdotnet

@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 install again 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.

nycdotnet avatar Jun 29 '15 17:06 nycdotnet

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 :)

basarat avatar Jun 30 '15 00:06 basarat