CLI documentation update from CI
npm CLI robot committed
Feb 7, 2023 at 20:55 UTC
fd91de77fad169d6f3ac86c1c556fda1e1886320
21 files changed
+60
-24
content/cli/v9/commands/npm-access.md
+1
-2
@@ -98,8 +98,7 @@ You must have privileges to set the access of a package:
98
* You have been given read-write privileges for a package, either as a member
99
of a team or directly as an owner.
100
101
-If you have two-factor authentication enabled then you'll be prompted to
102
-provide an otp token, or may use the `--otp=...` option to specify it on
101
+If you have two-factor authentication enabled then you'll be prompted to provide a second factor, or may use the `--otp=...` option to specify it on
102
the command line.
103
104
If your account is not paid, then attempts to publish scoped packages will
content/cli/v9/commands/npm-audit.md
+1
-1
@@ -439,7 +439,7 @@ This value is not exported to the environment for child processes.
439
440
#### `install-links`
441
442
-* Default: true
442
+* Default: false
443
* Type: Boolean
444
445
When set file: protocol dependencies will be packed and installed as regular
content/cli/v9/commands/npm-ci.md
+1
-1
@@ -341,7 +341,7 @@ This value is not exported to the environment for child processes.
341
342
#### `install-links`
343
344
-* Default: true
344
+* Default: false
345
* Type: Boolean
346
347
When set file: protocol dependencies will be packed and installed as regular
content/cli/v9/commands/npm-dedupe.md
+1
-1
@@ -300,7 +300,7 @@ This value is not exported to the environment for child processes.
300
301
#### `install-links`
302
303
-* Default: true
303
+* Default: false
304
* Type: Boolean
305
306
When set file: protocol dependencies will be packed and installed as regular
content/cli/v9/commands/npm-dist-tag.md
+2
-2
@@ -53,12 +53,12 @@ Add, remove, and enumerate distribution tags on a package:
53
or the [`--tag` config](/cli/v9/using-npm/config#tag) if not specified. If you have
54
two-factor authentication on auth-and-writes then you’ll need to include a
55
one-time password on the command line with
56
- `--otp <one-time password>`, or at the OTP prompt.
56
+ `--otp <one-time password>`, or go through a second factor flow based on your `authtype`.
57
58
* rm: Clear a tag that is no longer in use from the package. If you have
59
two-factor authentication on auth-and-writes then you’ll need to include
60
a one-time password on the command line with `--otp <one-time password>`,
61
- or at the OTP prompt.
61
+ or go through a second factor flow based on your `authtype`
62
63
* ls: Show all of the dist-tags for a package, defaulting to the package in
64
the current prefix. This is the default action if none is specified.
content/cli/v9/commands/npm-find-dupes.md
+1
-1
@@ -227,7 +227,7 @@ This value is not exported to the environment for child processes.
227
228
#### `install-links`
229
230
-* Default: true
230
+* Default: false
231
* Type: Boolean
232
233
When set file: protocol dependencies will be packed and installed as regular
content/cli/v9/commands/npm-install-ci-test.md
+1
-1
@@ -287,7 +287,7 @@ This value is not exported to the environment for child processes.
287
288
#### `install-links`
289
290
-* Default: true
290
+* Default: false
291
* Type: Boolean
292
293
When set file: protocol dependencies will be packed and installed as regular
content/cli/v9/commands/npm-install-test.md
+1
-1
@@ -288,7 +288,7 @@ This value is not exported to the environment for child processes.
288
289
#### `install-links`
290
291
-* Default: true
291
+* Default: false
292
* Type: Boolean
293
294
When set file: protocol dependencies will be packed and installed as regular
content/cli/v9/commands/npm-install.md
+1
-1
@@ -678,7 +678,7 @@ This value is not exported to the environment for child processes.
678
679
#### `install-links`
680
681
-* Default: true
681
+* Default: false
682
* Type: Boolean
683
684
When set file: protocol dependencies will be packed and installed as regular
content/cli/v9/commands/npm-link.md
+1
-1
@@ -367,7 +367,7 @@ This value is not exported to the environment for child processes.
367
368
#### `install-links`
369
370
-* Default: true
370
+* Default: false
371
* Type: Boolean
372
373
When set file: protocol dependencies will be packed and installed as regular
content/cli/v9/commands/npm-ls.md
+2
-2
@@ -58,7 +58,7 @@ packages will *also* show the paths to the specified packages. For
58
example, running `npm ls promzard` in npm's source tree will show:
59
60
```bash
61
-npm@9.4.1 /path/to/npm
61
+npm@9.4.2 /path/to/npm
62
└─┬ init-package-json@0.0.4
63
└── promzard@0.1.5
64
```
@@ -267,7 +267,7 @@ This value is not exported to the environment for child processes.
267
268
#### `install-links`
269
270
-* Default: true
270
+* Default: false
271
* Type: Boolean
272
273
When set file: protocol dependencies will be packed and installed as regular
content/cli/v9/commands/npm-owner.md
+2
-2
@@ -61,8 +61,8 @@ or you can't. Future versions may contain more fine-grained access levels, but
61
that is not implemented at this time.
62
63
If you have two-factor authentication enabled with `auth-and-writes` (see
64
-[`npm-profile`](/cli/v9/commands/npm-profile)) then you'll need to include an otp
65
-on the command line when changing ownership with `--otp`.
64
+[`npm-profile`](/cli/v9/commands/npm-profile)) then you'll need to go through a second factor
65
+flow when changing ownership or include an otp on the command line with `--otp`.
66
67
### Configuration
68
content/cli/v9/commands/npm-prune.md
+1
-1
@@ -188,7 +188,7 @@ This value is not exported to the environment for child processes.
188
189
#### `install-links`
190
191
-* Default: true
191
+* Default: false
192
* Type: Boolean
193
194
When set file: protocol dependencies will be packed and installed as regular
content/cli/v9/commands/npm-rebuild.md
+1
-1
@@ -161,7 +161,7 @@ This value is not exported to the environment for child processes.
161
162
#### `install-links`
163
164
-* Default: true
164
+* Default: false
165
* Type: Boolean
166
167
When set file: protocol dependencies will be packed and installed as regular
content/cli/v9/commands/npm-team.md
+2
-1
@@ -59,7 +59,8 @@ as `@org:newteam` in these commands.
59
60
If you have two-factor authentication enabled in `auth-and-writes` mode, then
61
you can provide a code from your authenticator with `[--otp <otpcode>]`.
62
-If you don't include this then you will be prompted.
62
+If you don't include this then you will be taken through a second factor flow based
63
+on your `authtype`.
64
65
* create / destroy:
66
Create a new team, or destroy an existing one. Note: You cannot remove the
content/cli/v9/commands/npm-uninstall.md
+1
-1
@@ -154,7 +154,7 @@ This value is not exported to the environment for child processes.
154
155
#### `install-links`
156
157
-* Default: true
157
+* Default: false
158
* Type: Boolean
159
160
When set file: protocol dependencies will be packed and installed as regular
content/cli/v9/commands/npm-update.md
+1
-1
@@ -418,7 +418,7 @@ This value is not exported to the environment for child processes.
418
419
#### `install-links`
420
421
-* Default: true
421
+* Default: false
422
* Type: Boolean
423
424
When set file: protocol dependencies will be packed and installed as regular
content/cli/v9/commands/npm.md
+1
-1
@@ -31,7 +31,7 @@ Note: This command is unaware of workspaces.
31
32
### Version
33
34
-9.4.1
34
+9.4.2
35
36
### Description
37
content/cli/v9/using-npm/changelog.md
+36
@@ -17,6 +17,42 @@ redirect_from:
17
18
# Changelog
19
20
+## [9.4.2](https://github.com/npm/cli/compare/v9.4.1...v9.4.2) (2023-02-07)
21
+
22
+### Bug Fixes
23
+
24
+* [`d02da52`](https://github.com/npm/cli/commit/d02da52dc1ac6520223e9e7e8fdcbd9e27b5333f) [#6142](https://github.com/npm/cli/pull/6142) revert `install-links` default back to `false` (#6142) (@nlf)
25
+
26
+### Documentation
27
+
28
+* [`6ea2cd7`](https://github.com/npm/cli/commit/6ea2cd77c6ba92f213e4833c746f032ef9bfcc3d) [#6134](https://github.com/npm/cli/pull/6134) update references to OTP to be accurate (#6134) (@MylesBorins)
29
+
30
+### Dependencies
31
+
32
+* [`cb6713d`](https://github.com/npm/cli/commit/cb6713dc8ef7161c8162cc418a023d25b17e5bcf) [#6143](https://github.com/npm/cli/pull/6143) rebuild package-lock (#6143)
33
+* [`8200f4f`](https://github.com/npm/cli/commit/8200f4f16d9dad1d44094c8c2182e26bc1a8b732) [#6133](https://github.com/npm/cli/pull/6133) `ignore-walk@6.0.1`
34
+* [`d43f881`](https://github.com/npm/cli/commit/d43f8812af5900cce45364729871a745b379aea9) `map-workspaces@3.0.2`
35
+* [`99457f1`](https://github.com/npm/cli/commit/99457f1f48d57f913b398e25f4e5da066af71204) `minimatch@6.1.6`
36
+* [`f4c8c62`](https://github.com/npm/cli/commit/f4c8c62baf532b7599e3760f959788bbda97ba0b) `init-package-json@5.0.0`
37
+* [`3c6615f`](https://github.com/npm/cli/commit/3c6615fff53a3368679f28b8812eba86dbc195a9) `npm-user-validate@2.0.0`
38
+* [`10445ca`](https://github.com/npm/cli/commit/10445ca4a09df590777a9289ab1ed0f41449c85d) remove mkdirp
39
+* [`ab82492`](https://github.com/npm/cli/commit/ab824922ea7678585926adb67a90cdcebc53b4ae) `node-gyp@9.3.1`
40
+* [`74c5cbb`](https://github.com/npm/cli/commit/74c5cbbd774f7ff7c1f037b382aec36cbc8ca2f1) `minipass@4.0.2`
41
+* [`1138038`](https://github.com/npm/cli/commit/11380386cef7ad8b12226431ca3d5e166455d626) `make-fetch-happen@11.0.3`
42
+* [`c1ccfa1`](https://github.com/npm/cli/commit/c1ccfa146523d734bdfe2a7bef1b0abc64e716d8) `glob@8.1.0`
43
+* [`3dc17ce`](https://github.com/npm/cli/commit/3dc17ce3fa570f9ef2c55e2a565af6fe89b3e73d) `fs-minipass@3.0.1`
44
+* [`5c84a99`](https://github.com/npm/cli/commit/5c84a99f5a141a632bd644ca97505010c2842eb2) `ci-info@3.7.1`
45
+* [`fc5332f`](https://github.com/npm/cli/commit/fc5332f4027f3019a855f12a66e29bca1b143364) `read@2.0.0`
46
+* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.2.2): `@npmcli/arborist@6.2.2`
47
+* [Workspace](https://github.com/npm/cli/releases/tag/config-v6.1.3): `@npmcli/config@6.1.3`
48
+* [Workspace](https://github.com/npm/cli/releases/tag/libnpmdiff-v5.0.10): `libnpmdiff@5.0.10`
49
+* [Workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v5.0.10): `libnpmexec@5.0.10`
50
+* [Workspace](https://github.com/npm/cli/releases/tag/libnpmfund-v4.0.10): `libnpmfund@4.0.10`
51
+* [Workspace](https://github.com/npm/cli/releases/tag/libnpmhook-v9.0.3): `libnpmhook@9.0.3`
52
+* [Workspace](https://github.com/npm/cli/releases/tag/libnpmorg-v5.0.3): `libnpmorg@5.0.3`
53
+* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v5.0.10): `libnpmpack@5.0.10`
54
+* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v7.0.8): `libnpmpublish@7.0.8`
55
+
56
## [9.4.1](https://github.com/npm/cli/compare/v9.4.0...v9.4.1) (2023-02-01)
57
58
### Bug Fixes
content/cli/v9/using-npm/config.md
+1
-1
@@ -704,7 +704,7 @@ number, if not already set in package.json.
704
705
#### `install-links`
706
707
-* Default: true
707
+* Default: false
708
* Type: Boolean
709
710
When set file: protocol dependencies will be packed and installed as regular
src/theme/nav.yml
+1
-1
@@ -1053,7 +1053,7 @@
1053
- title: Changelog
1054
url: /cli/v8/using-npm/changelog
1055
description: Changelog notes for each version
1056
- - title: Version 9.4.1 (Latest Release)
1056
+ - title: Version 9.4.2 (Latest Release)
1057
shortName: v9
1058
url: /cli/v9
1059
default: true