docs: update publish docs: dist-tag + publish case#7560
docs: update publish docs: dist-tag + publish case#7560wraithgar merged 1 commit intonpm:latestfrom davidlj95:fix-publish-tag-cmd-ref
Conversation
| Also the tag that is added to the package@version specified by the \`npm | ||
| tag\` command, if no explicit tag is given. | ||
| Also the tag that is added to the package@version specified by the | ||
| \`npm dist-tag add\` command, if no explicit tag is given. |
There was a problem hiding this comment.
The grammar of this sentence was not and still is not correct.
"The tag is also added to ... "
There was a problem hiding this comment.
I read it several times and thought something was wrong but wasn't 100% sure as not a native English speaker.
The tag is also added for me sounds like same tag is added in two places, whilst they're describing two different scenarios (what happens for the config / CLI arg in npm i vs npm dist-tag add.
Updated it to be:
It is the tag added to the package@version specified in the
npm dist-tag addcommand, if no explicit tag is given.
Changed also the by -> in as the users specifies the package@version to the command (it's not the command the one specifying that string)
Though suggestions very welcome ofc
With feedback from @mbtools
Updates
publishcommand docs:npm tagwhich is nownpm dist-tagnpm publish --tagReferences