-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update docs for npmrc and package-json #7743
Conversation
@@ -617,6 +617,7 @@ See [semver](https://github.com/npm/node-semver#versions) for more details about | |||
* `tag` A specific version tagged and published as `tag` See [`npm | |||
dist-tag`](/commands/npm-dist-tag) | |||
* `path/path/path` See [Local Paths](#local-paths) below | |||
* `npm:@scope/pkg@version` Custom alias for a pacakge See [`npm install`](/commands/npm-install) |
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.
Do you think /using-npm/package-spec#aliases
would be a better place to link? https://docs.npmjs.com/cli/v10/using-npm/package-spec#aliases
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.
certainly yes
59819df
to
fae26c5
Compare
fae26c5
to
581d4be
Compare
@@ -634,7 +635,8 @@ For example, these are all valid: | |||
"two": "2.x", | |||
"thr": "3.3.x", | |||
"lat": "latest", | |||
"dyl": "file:../dyl" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Updating Docs for
npmrc
prefix
which can not be changed for project, instead addedcache
which can be used for all three config types project, user and globalpackage-json
fixes: #6839, #7188