CLI documentation update from CI

npm CLI robot committed Jun 21, 2023 at 18:14 UTC d62c2536a9b57d40922b509781c45b68fcbd513e
7 files changed +75 -6
content/cli/v9/commands/npm-install-test.md
+16
@@ -191,6 +191,22 @@ will also prevent _writing_ `package-lock.json` if `save` is true.
191
192
193
194 +#### `package-lock-only`
195 +
196 +* Default: false
197 +* Type: Boolean
198 +
199 +If set to true, the current operation will only use the `package-lock.json`,
200 +ignoring `node_modules`.
201 +
202 +For `update` this means only the `package-lock.json` will be updated,
203 +instead of checking `node_modules` and downloading dependencies.
204 +
205 +For `list` this means the output will be based on the tree described by the
206 +`package-lock.json`, rather than the contents of `node_modules`.
207 +
208 +
209 +
210 #### `foreground-scripts`
211
212 * Default: false
content/cli/v9/commands/npm-install.md
+16
@@ -581,6 +581,22 @@ will also prevent _writing_ `package-lock.json` if `save` is true.
581
582
583
584 +#### `package-lock-only`
585 +
586 +* Default: false
587 +* Type: Boolean
588 +
589 +If set to true, the current operation will only use the `package-lock.json`,
590 +ignoring `node_modules`.
591 +
592 +For `update` this means only the `package-lock.json` will be updated,
593 +instead of checking `node_modules` and downloading dependencies.
594 +
595 +For `list` this means the output will be based on the tree described by the
596 +`package-lock.json`, rather than the contents of `node_modules`.
597 +
598 +
599 +
600 #### `foreground-scripts`
601
602 * Default: false
content/cli/v9/commands/npm-ls.md
+1 -1
@@ -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.7.1 /path/to/npm
61 +npm@9.7.2 /path/to/npm
62 └─┬ init-package-json@0.0.4
63 └── promzard@0.1.5
64 ```
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.7.1
34 +9.7.2
35
36 ### Description
37
content/cli/v9/configuring-npm/package-json.md
-3
@@ -302,9 +302,6 @@ it will. The `.npmignore` file works just like a `.gitignore`. If there is
302 a `.gitignore` file, and `.npmignore` is missing, `.gitignore`'s contents
303 will be used instead.
304
305 -Files included with the "package.json#files" field _cannot_ be excluded
306 -through `.npmignore` or `.gitignore`.
307 -
305 Certain files are always included, regardless of settings:
306
307 * `package.json`
content/cli/v9/using-npm/changelog.md
+40
@@ -17,6 +17,46 @@ redirect_from:
17
18 # Changelog
19
20 +## [9.7.2](https://github.com/npm/cli/compare/v9.7.1...v9.7.2) (2023-06-21)
21 +
22 +### Bug Fixes
23 +
24 +* [`939a188`](https://github.com/npm/cli/commit/939a188bc3ab9c2bfa49ccb4837fe4ad844131ed) [#6574](https://github.com/npm/cli/pull/6574) ignore node prereleases in npm engines check (#6574) (@wraithgar)
25 +* [`d980405`](https://github.com/npm/cli/commit/d980405ffcbc80ad63fbea680ee40a57ffc4a210) [#6556](https://github.com/npm/cli/pull/6556) better color support detection (#6556) (@lukekarrys)
26 +* [`40d7e09`](https://github.com/npm/cli/commit/40d7e09aa9c038bc20e37c4fbd21d02dc82b93a7) [#6555](https://github.com/npm/cli/pull/6555) remove unnecessary package.json values (#6555) (@lukekarrys)
27 +* [`3a7378d`](https://github.com/npm/cli/commit/3a7378d889707d2a4c1f8a6397dda87825e9f5a3) [#6554](https://github.com/npm/cli/pull/6554) cleanup bin contents (@lukekarrys)
28 +* [`e722439`](https://github.com/npm/cli/commit/e722439b05bb4da691975359db58eac794f1f5d9) [#6497](https://github.com/npm/cli/pull/6497) move all definitions to @npmcli/config package (@lukekarrys)
29 +
30 +### Documentation
31 +
32 +* [`405ffbf`](https://github.com/npm/cli/commit/405ffbfa2758ec388c06120fdf5fde2a07835779) [#6557](https://github.com/npm/cli/pull/6557) remove redundant statement about files attribute (#6557) (@DaviDevMod)
33 +* [`cd1e6aa`](https://github.com/npm/cli/commit/cd1e6aa320ccc264f5027de5976bb7acc32f1ded) [#6551](https://github.com/npm/cli/pull/6551) add flag `package-lock-only` for `npm install` (#6551) (@m4rch3n1ng)
34 +
35 +### Dependencies
36 +
37 +* [`aebc523`](https://github.com/npm/cli/commit/aebc523c46f6e37c943a750e4cb6ec4b8f12ae01) [#6585](https://github.com/npm/cli/pull/6585) `safe-buffer@5.2.1` `string_decoder@1.3.0` (#6585)
38 +* [`bb6054b`](https://github.com/npm/cli/commit/bb6054b9558efd859e32ba9227453b3c84ef647d) [#6573](https://github.com/npm/cli/pull/6573) `tuf-js@1.1.7`
39 +* [`aee4a30`](https://github.com/npm/cli/commit/aee4a30bfb88ac147f5f8ac9bdb28cfc0be16e7f) [#6573](https://github.com/npm/cli/pull/6573) `strip-ansi@7.1.0`
40 +* [`6105dbc`](https://github.com/npm/cli/commit/6105dbcc1c1647c66759e73ad8699a539e8a70c3) [#6573](https://github.com/npm/cli/pull/6573) `path-scurry@1.9.2`
41 +* [`22d44e8`](https://github.com/npm/cli/commit/22d44e81d6bced4c9d5960b74023ee017df6606b) [#6573](https://github.com/npm/cli/pull/6573) `read-package-json@6.0.4`
42 +* [`fdd02fd`](https://github.com/npm/cli/commit/fdd02fde1c53ce66a3b15b55907fd7e80680b89b) [#6573](https://github.com/npm/cli/pull/6573) `jackspeak@2.2.1`
43 +* [`7797075`](https://github.com/npm/cli/commit/77970756cb2a18257a50e765617f2237abe245d6) [#6573](https://github.com/npm/cli/pull/6573) `is-core-module@2.12.1`
44 +* [`f9780cc`](https://github.com/npm/cli/commit/f9780ccbde62feb59691b5c2f19ed5f3688b1e7e) [#6573](https://github.com/npm/cli/pull/6573) `sigstore@1.6.0`
45 +* [`72d6a79`](https://github.com/npm/cli/commit/72d6a79fa28aec50dab576e93ef06a89694770a5) [#6573](https://github.com/npm/cli/pull/6573) `semver@7.5.2`
46 +* [`98f1f5f`](https://github.com/npm/cli/commit/98f1f5fd2d6890c207c77452739053a674d83990) [#6573](https://github.com/npm/cli/pull/6573) `nopt@7.2.0`
47 +* [`8710ff8`](https://github.com/npm/cli/commit/8710ff88afffb573b4f65c4a19303924935fecd2) [#6573](https://github.com/npm/cli/pull/6573) `pacote@15.2.0`
48 +* [`0cb539d`](https://github.com/npm/cli/commit/0cb539dae1311ef0f60ccf5bd47def1763c38852) [#6573](https://github.com/npm/cli/pull/6573) `node-gyp@9.4.0`
49 +* [`39ad586`](https://github.com/npm/cli/commit/39ad5862ffc99b3da365ab3dd8538b68a4352ea5) [#6573](https://github.com/npm/cli/pull/6573) `ini@4.1.1`
50 +* [`5e0070c`](https://github.com/npm/cli/commit/5e0070cf28353e94458e0d8190833595aa143314) [#6573](https://github.com/npm/cli/pull/6573) `glob@10.2.7` `minimatch@9.0.1`
51 +* [`26cf235`](https://github.com/npm/cli/commit/26cf235aa45d0d4100f061f009c1ffdf0a1fdf16) [#6573](https://github.com/npm/cli/pull/6573) `cacache@17.1.3`
52 +* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.2.10): `@npmcli/arborist@6.2.10`
53 +* [Workspace](https://github.com/npm/cli/releases/tag/config-v6.2.1): `@npmcli/config@6.2.1`
54 +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmdiff-v5.0.18): `libnpmdiff@5.0.18`
55 +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v6.0.1): `libnpmexec@6.0.1`
56 +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmfund-v4.0.18): `libnpmfund@4.0.18`
57 +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v5.0.18): `libnpmpack@5.0.18`
58 +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v7.4.0): `libnpmpublish@7.4.0`
59 +
60 ## [9.7.1](https://github.com/npm/cli/compare/v9.7.0...v9.7.1) (2023-06-06)
61
62 ### Dependencies
src/theme/nav.yml
+1 -1
@@ -1055,7 +1055,7 @@
1055 - title: Changelog
1056 url: /cli/v8/using-npm/changelog
1057 description: Changelog notes for each version
1058 - - title: Version 9.7.1 (Latest Release)
1058 + - title: Version 9.7.2 (Latest Release)
1059 shortName: v9
1060 url: /cli/v9
1061 default: true