You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating Docs for
`npmrc`
- Updated example config, instead of `prefix` which can not be changed
for project, instead added `cache` which can be used for all three
config types project, user and global
`package-json`
- added alias example in package-json docs, which can be used to define
alias for a package
closes: #6839closes: #7188
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/[email protected]
. This adds a new entry in mypackage.json
like: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
The text was updated successfully, but these errors were encountered: