CLI documentation update from CI
npm CLI robot committed
Dec 12, 2025 at 02:53 UTC
0098b165ee2018bd6fd9cc40452d3ca60b55a2d0
3 files changed
+2
-13
cli-cache.json
+1
-1
@@ -2,5 +2,5 @@
2
"v8": "aa8fff11cdab94fff1a2160ee5241f5f4632e96b",
3
"v9": "64763a341e7aa5b456e696f956759bf9b3440dc1",
4
"v10": "6755ca2d5301b079f9e2581fc72ba2a612171364",
5
- "v11": "6d1db8724b1d0e5457a87bb31e62e43d566348ce"
5
+ "v11": "f2c3af7de1906b0517bba1e7e5b9247d57960d99"
6
}
\ No newline at end of file
content/cli/v11/commands/npm-access.mdx
+1
-1
@@ -42,7 +42,7 @@ npm access list packages [<user>|<scope>|<scope:team>] [<package>]
42
npm access list collaborators [<package> [<user>]]
43
npm access get status [<package>]
44
npm access set status=public|private [<package>]
45
-npm access set mfa=publish|automation [<package>]
45
+npm access set mfa=none|publish|automation [<package>]
46
npm access grant <read-only|read-write> <scope:team> [<package>]
47
npm access revoke <scope:team> [<package>]
48
```
content/cli/v11/commands/npm-publish.mdx
-11
@@ -49,17 +49,6 @@ Publishes a package to the registry so that it can be installed by name.
49
50
Publish the package in the current directory:
51
52
-<Note variant="warning">
53
-
54
-**Important:** Publishing to npm requires either:
55
-
56
-- Two-factor authentication (2FA) enabled on your account, OR
57
-- A granular access token with bypass 2FA enabled
58
-
59
-For more information, see the npm documentation on [requiring 2FA for package publishing](/requiring-2fa-for-package-publishing-and-settings-modification).
60
-
61
-</Note>
62
-
52
```bash
53
npm publish
54
```