Skip to content

Commit 82d1945

Browse files
committed
CLI documentation update from CI
1 parent 2c6e3cc commit 82d1945

File tree

10 files changed

+60
-8
lines changed

10 files changed

+60
-8
lines changed

content/cli/v10/commands/npm-ls.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Note: to get a "bottoms up" view of why a given package is included in the tree
5252
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:
5353

5454
```bash
55-
npm@10.2.3 /path/to/npm
55+
npm@10.2.4 /path/to/npm
5656
└─┬ init-package-json@0.0.4
5757
└── promzard@0.1.5
5858
```

content/cli/v10/commands/npm-prune.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ This command removes "extraneous" packages. If a package name is provided, then
4747

4848
Extraneous packages are those present in the `node_modules` folder that are not listed as any package's dependency list.
4949

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`.
5151

5252
If the `--dry-run` flag is used then no changes will actually be made.
5353

content/cli/v10/commands/npm-view.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ Field names can be specified after the package descriptor. For example, to show
6161
npm view ronn@0.3.5 dependencies
6262
```
6363

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+
6470
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:
6571

6672
```bash

content/cli/v10/commands/npm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Note: This command is unaware of workspaces.
3131

3232
### Version
3333

34-
10.2.3
34+
10.2.4
3535

3636
### Description
3737

content/cli/v10/using-npm/changelog.mdx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,36 @@ redirect_from:
1515
- /using-npm/changelog
1616
---
1717

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+
1848
## [10.2.3](https://github.com/npm/cli/compare/v10.2.2...v10.2.3) (2023-11-02)
1949

2050
### Dependencies

content/cli/v9/commands/npm-ls.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Note: to get a "bottoms up" view of why a given package is included in the tree
3636
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:
3737

3838
```bash
39-
npm@9.9.1 /path/to/npm
39+
npm@9.9.2 /path/to/npm
4040
└─┬ init-package-json@0.0.4
4141
└── promzard@0.1.5
4242
```

content/cli/v9/commands/npm-prune.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This command removes "extraneous" packages. If a package name is provided, then
3131

3232
Extraneous packages are those present in the `node_modules` folder that are not listed as any package's dependency list.
3333

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`.
3535

3636
If the `--dry-run` flag is used then no changes will actually be made.
3737

content/cli/v9/commands/npm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Note: This command is unaware of workspaces.
2323

2424
### Version
2525

26-
9.9.1
26+
9.9.2
2727

2828
### Description
2929

content/cli/v9/using-npm/changelog.mdx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ redirect_from:
99
- /cli/v9/misc/changelog
1010
---
1111

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+
1228
## [9.9.1](https://github.com/npm/cli/compare/v9.9.0...v9.9.1) (2023-10-30)
1329

1430
### Bug Fixes

content/nav.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@
10541054
- title: Changelog
10551055
url: /cli/v8/using-npm/changelog
10561056
description: Changelog notes for each version
1057-
- title: Version 9.9.1
1057+
- title: Version 9.9.2
10581058
shortName: v9
10591059
url: /cli/v9
10601060
default: false
@@ -1324,7 +1324,7 @@
13241324
- title: Changelog
13251325
url: /cli/v9/using-npm/changelog
13261326
description: Changelog notes for each version
1327-
- title: Version 10.2.3
1327+
- title: Version 10.2.4
13281328
shortName: v10
13291329
url: /cli/v10
13301330
default: true

0 commit comments

Comments
 (0)