CLI documentation update from CI
npm CLI robot committed
Jul 13, 2022 at 03:03 UTC
107d6bed0c7be1546ed1112752a89967f710b11c
3 files changed
+18
-20
cli/v8
+1
-1
@@ -1 +1 @@
1
-Subproject commit ac56fc41bc2f91f51c8438f98893121e7a92ee46
1
+Subproject commit 45a9bdee604073a3c5b4d3c6d90e22bf6672d6bf
content/cli/v8/commands/npm-adduser.md
+4
-5
@@ -103,13 +103,12 @@ npm init --scope=@foo --yes
103
#### `auth-type`
104
105
* Default: "legacy"
106
-* Type: "legacy", "webauthn", "sso", "saml", or "oauth"
107
-* DEPRECATED: The SSO/SAML/OAuth methods are deprecated and will be removed in
108
- a future version of npm in favor of web-based login.
106
+* Type: "legacy", "web", "sso", "saml", "oauth", or "webauthn"
107
110
-What authentication strategy to use with `adduser`/`login`.
108
+NOTE: auth-type values "sso", "saml", "oauth", and "webauthn" will be
109
+removed in a future version.
110
112
-Pass `webauthn` to use a web-based login.
111
+What authentication strategy to use with `login`.
112
113
<!-- automatically generated, do not edit manually -->
114
<!-- see lib/utils/config/definitions.js -->
content/cli/v8/using-npm/config.md
+13
-14
@@ -223,6 +223,19 @@ exit code.
223
<!-- automatically generated, do not edit manually -->
224
<!-- see lib/utils/config/definitions.js -->
225
226
+#### `auth-type`
227
+
228
+* Default: "legacy"
229
+* Type: "legacy", "web", "sso", "saml", "oauth", or "webauthn"
230
+
231
+NOTE: auth-type values "sso", "saml", "oauth", and "webauthn" will be
232
+removed in a future version.
233
+
234
+What authentication strategy to use with `login`.
235
+
236
+<!-- automatically generated, do not edit manually -->
237
+<!-- see lib/utils/config/definitions.js -->
238
+
239
#### `before`
240
241
* Default: null
@@ -1913,20 +1926,6 @@ When set to `dev` or `development`, this is an alias for `--include=dev`.
1926
<!-- automatically generated, do not edit manually -->
1927
<!-- see lib/utils/config/definitions.js -->
1928
1916
-#### `auth-type`
1917
-
1918
-* Default: "legacy"
1919
-* Type: "legacy", "webauthn", "sso", "saml", or "oauth"
1920
-* DEPRECATED: The SSO/SAML/OAuth methods are deprecated and will be removed in
1921
- a future version of npm in favor of web-based login.
1922
-
1923
-What authentication strategy to use with `adduser`/`login`.
1924
-
1925
-Pass `webauthn` to use a web-based login.
1926
-
1927
-<!-- automatically generated, do not edit manually -->
1928
-<!-- see lib/utils/config/definitions.js -->
1929
-
1929
#### `cache-max`
1930
1931
* Default: Infinity