Skip to content

Commit 96cc4f9

Browse files
LiangYingCowlstronaut
authored andcommitted
docs: format publish as code to highlight it
1 parent 4990ea0 commit 96cc4f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/lib/content/commands/npm-adduser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Create a new user in the specified registry, and save the credentials to
1414
the `.npmrc` file. If no registry is specified, the default registry
1515
will be used (see [`registry`](/using-npm/registry)).
1616

17-
When you run `npm adduser`, the CLI automatically generates a legacy token of publish type. For more information, see [About legacy tokens](/about-access-tokens#about-legacy-tokens).
17+
When you run `npm adduser`, the CLI automatically generates a legacy token of `publish` type. For more information, see [About legacy tokens](/about-access-tokens#about-legacy-tokens).
1818

1919
When using `legacy` for your `auth-type`, the username, password, and
2020
email are read in from prompts.

docs/lib/content/commands/npm-login.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Verify a user in the specified registry, and save the credentials to the
1414
`.npmrc` file. If no registry is specified, the default registry will be
1515
used (see [`config`](/using-npm/config)).
1616

17-
When you run `npm login`, the CLI automatically generates a legacy token of publish type. For more information, see [About legacy tokens](/about-access-tokens#about-legacy-tokens).
17+
When you run `npm login`, the CLI automatically generates a legacy token of `publish` type. For more information, see [About legacy tokens](/about-access-tokens#about-legacy-tokens).
1818

1919
When using `legacy` for your `auth-type`, the username and password, are
2020
read in from prompts.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy