Is there an existing issue for this?
This is a CLI Docs Problem, not another kind of Docs Problem.
Description of Problem
Accordingly with https://github.com/npm/rfcs/blob/main/implemented/0001-package-aliases.md and #3, I can use alias package in the dependencies section.
So, I can run pnpm install orama1.2.8@npm:@orama/orama@1.2.8. This adds a new entry in my package.json like:
{
"dependencies": {
"orama1.2.8": "npm:@orama/orama@1.2.8"
}
}
The format npm:*** is not listed in the documentation here, and this creates some confusion.
Potential Solution
Put in the list the "npm:**" format.
Affected URL
https://docs.npmjs.com/cli/v10/configuring-npm/package-json#dependencies
Is there an existing issue for this?
This is a CLI Docs Problem, not another kind of Docs Problem.
Description of Problem
Accordingly with https://github.com/npm/rfcs/blob/main/implemented/0001-package-aliases.md and #3, I can use alias package in the
dependenciessection.So, I can run
pnpm install orama1.2.8@npm:@orama/orama@1.2.8. This adds a new entry in mypackage.jsonlike:{ "dependencies": { "orama1.2.8": "npm:@orama/orama@1.2.8" } }The format
npm:***is not listed in the documentation here, and this creates some confusion.Potential Solution
Put in the list the "npm:**" format.
Affected URL
https://docs.npmjs.com/cli/v10/configuring-npm/package-json#dependencies