-
Today, you can create an alias to a package using:
Unfortunately, this will resolve into:
The consequence of this is that your package will be fixed to a single version. There is no way to benefits from patches, or even accept all future versions. It should be possible to accept the following: "alias": "npm:package@latest"
"alias": "npm:package@^1.0.0"
"alias": "npm:package@>=1.0.0" And so on. |
Beta Was this translation helpful? Give feedback.
Answered by
ruyadorno
Oct 28, 2020
Replies: 1 comment
-
This already works as described in v7, just ran a test and confirmed it: $ npm i foo@npm:abbrev@^1.0.0
$ npm ls foo
[email protected] ~/test
└── foo@npm:[email protected] |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ruyadorno
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This already works as described in v7, just ran a test and confirmed it: