CLI documentation update from CI
npm CLI robot committed
Jul 5, 2023 at 20:30 UTC
88754e5a4ec2897b11ec1d58c52035fa7919086a
5 files changed
+29
-3
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.2 /path/to/npm
61
+npm@9.8.0 /path/to/npm
62
└─┬ init-package-json@0.0.4
63
└── promzard@0.1.5
64
```
content/cli/v9/commands/npm-pkg.md
+8
@@ -43,6 +43,7 @@ npm pkg get [<key> [<key> ...]]
43
npm pkg delete <key> [<key> ...]
44
npm pkg set [<array>[<index>].<key>=<value> ...]
45
npm pkg set [<array>[].<key>=<value> ...]
46
+npm pkg fix
47
```
48
49
### Description
@@ -172,6 +173,13 @@ Returned values are always in **json** format.
173
npm pkg delete scripts.build
174
```
175
176
+* `npm pkg fix`
177
+
178
+ Auto corrects common errors in your `package.json`. npm already
179
+ does this during `publish`, which leads to subtle (mostly harmless)
180
+ differences between the contents of your `package.json` file and the
181
+ manifest that npm uses during installation.
182
+
183
### Workspaces support
184
185
You can set/get/delete items across your configured workspaces by using the
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.2
34
+9.8.0
35
36
### Description
37
content/cli/v9/using-npm/changelog.md
+18
@@ -17,6 +17,24 @@ redirect_from:
17
18
# Changelog
19
20
+## [9.8.0](https://github.com/npm/cli/compare/v9.7.2...v9.8.0) (2023-07-05)
21
+
22
+### Features
23
+
24
+* [`67459e7`](https://github.com/npm/cli/commit/67459e7b56a5e8d2b4f8eb3a0487183013c63b99) [#6626](https://github.com/npm/cli/pull/6626) add `pkg fix` subcommand (@wraithgar)
25
+* [`89b2741`](https://github.com/npm/cli/commit/89b27413952ca454f715fee314d37e26f371444d) [#6548](https://github.com/npm/cli/pull/6548) add ps1 scripts (#6548) (@mribbons, @lukekarrys)
26
+
27
+### Dependencies
28
+
29
+* [`b252164`](https://github.com/npm/cli/commit/b252164dd5c866bf2d25c96836ad829d4d6909ee) [#6626](https://github.com/npm/cli/pull/6626) `@npmcli/package-json@4.0.0`
30
+* [`9238682`](https://github.com/npm/cli/commit/92386822ddf0a849fd2c269b1f5ee9ee47082da0) [#6623](https://github.com/npm/cli/pull/6623) `sigstore@1.7.0` (#6623)
31
+* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.3.0): `@npmcli/arborist@6.3.0`
32
+* [Workspace](https://github.com/npm/cli/releases/tag/libnpmdiff-v5.0.19): `libnpmdiff@5.0.19`
33
+* [Workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v6.0.2): `libnpmexec@6.0.2`
34
+* [Workspace](https://github.com/npm/cli/releases/tag/libnpmfund-v4.0.19): `libnpmfund@4.0.19`
35
+* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v5.0.19): `libnpmpack@5.0.19`
36
+* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v7.5.0): `libnpmpublish@7.5.0`
37
+
38
## [9.7.2](https://github.com/npm/cli/compare/v9.7.1...v9.7.2) (2023-06-21)
39
40
### Bug Fixes
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.2 (Latest Release)
1058
+ - title: Version 9.8.0 (Latest Release)
1059
shortName: v9
1060
url: /cli/v9
1061
default: true