-
Notifications
You must be signed in to change notification settings - Fork 63
Conversation
|
||
```shellsession | ||
$ npm i typescript@~3.1.1 --save-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the tilde there really works? Just curious.
I found some problems in the past and now I'm using npm i --save-dev --save-prefix=~ typescript@3.1.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should work fine.
that's the recommended way to signal the version selection prefix.
--save-prefix
exists to make it easier to programmatically manipulate the CLI I believe.
I’m wondering: should the peer dependency be in |
@j-f1 we are far behind right we will need release of |
The problem with leaving it up to So when it shows up in the console people won't easily understand what it is and if they should ignore it. If we have it as a direct peer dep we can better signal the versions we've tested with as well. |
|
This will make sure users have it installed, preventing an error.
Fixes #264.