docs: update docs for npmrc and package-json #7743
Merged
wraithgar merged 2 commits intonpm:latestfrom Aug 21, 2024
Merged
Conversation
wraithgar
reviewed
Aug 21, 2024
| * `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) |
Member
There was a problem hiding this comment.
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
59819df to
fae26c5
Compare
fae26c5 to
581d4be
Compare
wraithgar
approved these changes
Aug 21, 2024
Merged
theanh2020
reviewed
Sep 9, 2024
| "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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updating Docs for
npmrcprefixwhich can not be changed for project, instead addedcachewhich can be used for all three config types project, user and globalpackage-jsonfixes: #6839, #7188