CLI documentation update from CI

npm CLI robot committed Nov 15, 2023 at 21:37 UTC 82d194509d462b86fc584bfb8bfd31f4603708e1
10 files changed +60 -8
content/cli/v10/commands/npm-ls.mdx
+1 -1
@@ -52,7 +52,7 @@ Note: to get a "bottoms up" view of why a given package is included in the tree
52 Positional arguments are `name@version-range` identifiers, which will limit the results to only the paths to the packages named. Note that nested packages will _also_ show the paths to the specified packages. For example, running `npm ls promzard` in npm's source tree will show:
53
54 ```bash
55 -npm@10.2.3 /path/to/npm
55 +npm@10.2.4 /path/to/npm
56 └─┬ init-package-json@0.0.4
57 └── promzard@0.1.5
58 ```
content/cli/v10/commands/npm-prune.mdx
+1 -1
@@ -47,7 +47,7 @@ This command removes "extraneous" packages. If a package name is provided, then
47
48 Extraneous packages are those present in the `node_modules` folder that are not listed as any package's dependency list.
49
50 -If the `--production` flag is specified or the `NODE_ENV` environment variable is set to `production`, this command will remove the packages specified in your `devDependencies`. Setting `--no-production` will negate `NODE_ENV` being set to `production`.
50 +If the `--omit=dev` flag is specified or the `NODE_ENV` environment variable is set to `production`, this command will remove the packages specified in your `devDependencies`.
51
52 If the `--dry-run` flag is used then no changes will actually be made.
53
content/cli/v10/commands/npm-view.mdx
+6
@@ -61,6 +61,12 @@ Field names can be specified after the package descriptor. For example, to show
61 npm view ronn@0.3.5 dependencies
62 ```
63
64 +By default, `npm view` shows data about the current project context (by looking for a `package.json`). To show field data for the current project use a file path (i.e. `.`):
65 +
66 +```bash
67 +npm view . dependencies
68 +```
69 +
70 You can view child fields by separating them with a period. To view the git repository URL for the latest version of `npm`, you would run the following command:
71
72 ```bash
content/cli/v10/commands/npm.mdx
+1 -1
@@ -31,7 +31,7 @@ Note: This command is unaware of workspaces.
31
32 ### Version
33
34 -10.2.3
34 +10.2.4
35
36 ### Description
37
content/cli/v10/using-npm/changelog.mdx
+30
@@ -15,6 +15,36 @@ redirect_from:
15 - /using-npm/changelog
16 ---
17
18 +## [10.2.4](https://github.com/npm/cli/compare/v10.2.3...v10.2.4) (2023-11-14)
19 +
20 +### Bug Fixes
21 +
22 +- [`cd291e7`](https://github.com/npm/cli/commit/cd291e7aa52e56fc45f8245e67c77e0ed3711b07) [#6995](https://github.com/npm/cli/pull/6995) refactor search formatting code (#6995) (@wraithgar)
23 +- [`f3a7380`](https://github.com/npm/cli/commit/f3a7380a45323dbf6c74015e418de3963fb11a69) [#6973](https://github.com/npm/cli/pull/6973) look in workspace for exec commands (#6973) (@wraithgar)
24 +- [`d11496b`](https://github.com/npm/cli/commit/d11496b26dfee5957e7e2a1b328f346b2aca9348) [#6977](https://github.com/npm/cli/pull/6977) pkg: properly output in workspace mode (#6977) (@wraithgar)
25 +- [`0f70088`](https://github.com/npm/cli/commit/0f7008851f1c250405e8dc326f15d535e8fc1eae) [#6969](https://github.com/npm/cli/pull/6969) correctly handle object licenses in SBOM generation (#6969) (@jamietanna)
26 +- [`dce3b08`](https://github.com/npm/cli/commit/dce3b0896ba81b2109fea42ab32edd8a3193324c) [#6951](https://github.com/npm/cli/pull/6951) properly catch missing url opener error (#6951) (@wraithgar)
27 +
28 +### Documentation
29 +
30 +- [`a38836c`](https://github.com/npm/cli/commit/a38836ce9d703f5012ff4d4a8a4e3b9a9aedc025) [#6616](https://github.com/npm/cli/pull/6616) add path usage for view command (#6616) (@RobinKnipe)
31 +- [`da18e4f`](https://github.com/npm/cli/commit/da18e4f9baa180beeb325a384759a26a19ac2919) [#6987](https://github.com/npm/cli/pull/6987) update npm-prune description (#6987) (@Eomm)
32 +
33 +### Dependencies
34 +
35 +- [`e9ec2f7`](https://github.com/npm/cli/commit/e9ec2f7005e7326d9a819978b251cf0a05062538) [#6994](https://github.com/npm/cli/pull/6994) `lru-cache@10.0.2`
36 +- [`faf9eff`](https://github.com/npm/cli/commit/faf9efffb7bfe6efde6e53830cb054b34c3a6ea3) [#6994](https://github.com/npm/cli/pull/6994) `is-core-module@2.13.1`
37 +- [`b00e780`](https://github.com/npm/cli/commit/b00e7808e370513e79ca31c261958377984e7444) [#6994](https://github.com/npm/cli/pull/6994) `@sigstore/sign@2.2.0`
38 +- [`4613774`](https://github.com/npm/cli/commit/461377426d998ed79400501b09e1ee67c32bee23) [#6994](https://github.com/npm/cli/pull/6994) hoisting newer deps in favor of older ones
39 +- [`54c4f7b`](https://github.com/npm/cli/commit/54c4f7b8705b2c9d5b8bc5bb846f4e7863735b7e) [#6994](https://github.com/npm/cli/pull/6994) `signal-exit@4.1.0`
40 +- [`8c5882f`](https://github.com/npm/cli/commit/8c5882f3eed305bbd3514d7143f9d92e9577e1b9) [#6994](https://github.com/npm/cli/pull/6994) `strip-ansi@7.1.0`
41 +- [`cd0c649`](https://github.com/npm/cli/commit/cd0c649ec2b421b59012854e61788a11a77194f2) [#6994](https://github.com/npm/cli/pull/6994) `ci-info@4.0.0`
42 +- [`a0a58b7`](https://github.com/npm/cli/commit/a0a58b735c418d8555a06890b63098c68f53106e) [#6994](https://github.com/npm/cli/pull/6994) `@sigstore/tuf@2.2.0`
43 +- [`b3a53c6`](https://github.com/npm/cli/commit/b3a53c6ab5fd933fc7f8258c155ed31be834393e) [#6949](https://github.com/npm/cli/pull/6949) `is-cidr@5.0.3` (#6949)
44 +- [Workspace](https://github.com/npm/cli/releases/tag/config-v8.0.2): `@npmcli/config@8.0.2`
45 +- [Workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v7.0.4): `libnpmexec@7.0.4`
46 +- [Workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v9.0.2): `libnpmpublish@9.0.2`
47 +
48 ## [10.2.3](https://github.com/npm/cli/compare/v10.2.2...v10.2.3) (2023-11-02)
49
50 ### Dependencies
content/cli/v9/commands/npm-ls.mdx
+1 -1
@@ -36,7 +36,7 @@ Note: to get a "bottoms up" view of why a given package is included in the tree
36 Positional arguments are `name@version-range` identifiers, which will limit the results to only the paths to the packages named. Note that nested packages will _also_ show the paths to the specified packages. For example, running `npm ls promzard` in npm's source tree will show:
37
38 ```bash
39 -npm@9.9.1 /path/to/npm
39 +npm@9.9.2 /path/to/npm
40 └─┬ init-package-json@0.0.4
41 └── promzard@0.1.5
42 ```
content/cli/v9/commands/npm-prune.mdx
+1 -1
@@ -31,7 +31,7 @@ This command removes "extraneous" packages. If a package name is provided, then
31
32 Extraneous packages are those present in the `node_modules` folder that are not listed as any package's dependency list.
33
34 -If the `--production` flag is specified or the `NODE_ENV` environment variable is set to `production`, this command will remove the packages specified in your `devDependencies`. Setting `--no-production` will negate `NODE_ENV` being set to `production`.
34 +If the `--omit=dev` flag is specified or the `NODE_ENV` environment variable is set to `production`, this command will remove the packages specified in your `devDependencies`.
35
36 If the `--dry-run` flag is used then no changes will actually be made.
37
content/cli/v9/commands/npm.mdx
+1 -1
@@ -23,7 +23,7 @@ Note: This command is unaware of workspaces.
23
24 ### Version
25
26 -9.9.1
26 +9.9.2
27
28 ### Description
29
content/cli/v9/using-npm/changelog.mdx
+16
@@ -9,6 +9,22 @@ redirect_from:
9 - /cli/v9/misc/changelog
10 ---
11
12 +## [9.9.2](https://github.com/npm/cli/compare/v9.9.1...v9.9.2) (2023-11-14)
13 +
14 +### Bug Fixes
15 +
16 +- [`4c9a5e1`](https://github.com/npm/cli/commit/4c9a5e15cdb7195a0781d765997eab49ef759d36) [#6993](https://github.com/npm/cli/pull/6993) look in workspace for exec commands (#6993) (@wraithgar)
17 +- [`bb6f496`](https://github.com/npm/cli/commit/bb6f4960caebfefa81bfb82bbee2a54ff2b3a8b4) [#6992](https://github.com/npm/cli/pull/6992) correctly handle object licenses in SBOM generation (#6992) (@bdehamer, @jamietanna)
18 +- [`10db3ca`](https://github.com/npm/cli/commit/10db3ca830408721c3d1ed108a4f04d9135a0598) [#6990](https://github.com/npm/cli/pull/6990) pkg: properly output in workspace mode (#6990) (@wraithgar)
19 +
20 +### Documentation
21 +
22 +- [`6ab06d7`](https://github.com/npm/cli/commit/6ab06d7a86614abb9b296feb85864e86f178f97e) [#6985](https://github.com/npm/cli/pull/6985) update npm-prune description (#6985) (@Eomm)
23 +
24 +### Dependencies
25 +
26 +- [Workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v7.5.1): `libnpmpublish@7.5.1`
27 +
28 ## [9.9.1](https://github.com/npm/cli/compare/v9.9.0...v9.9.1) (2023-10-30)
29
30 ### Bug Fixes
content/nav.yml
+2 -2
@@ -1054,7 +1054,7 @@
1054 - title: Changelog
1055 url: /cli/v8/using-npm/changelog
1056 description: Changelog notes for each version
1057 - - title: Version 9.9.1
1057 + - title: Version 9.9.2
1058 shortName: v9
1059 url: /cli/v9
1060 default: false
@@ -1324,7 +1324,7 @@
1324 - title: Changelog
1325 url: /cli/v9/using-npm/changelog
1326 description: Changelog notes for each version
1327 - - title: Version 10.2.3
1327 + - title: Version 10.2.4
1328 shortName: v10
1329 url: /cli/v10
1330 default: true