Skip to content

Commit 88754e5

Browse files
committed
CLI documentation update from CI
1 parent dc9ace6 commit 88754e5

File tree

5 files changed

+29
-3
lines changed

5 files changed

+29
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ packages will *also* show the paths to the specified packages. For
5858
example, running `npm ls promzard` in npm's source tree will show:
5959

6060
```bash
61-
npm@9.7.2 /path/to/npm
61+
npm@9.8.0 /path/to/npm
6262
└─┬ init-package-json@0.0.4
6363
└── promzard@0.1.5
6464
```

content/cli/v9/commands/npm-pkg.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ npm pkg get [<key> [<key> ...]]
4343
npm pkg delete <key> [<key> ...]
4444
npm pkg set [<array>[<index>].<key>=<value> ...]
4545
npm pkg set [<array>[].<key>=<value> ...]
46+
npm pkg fix
4647
```
4748
4849
### Description
@@ -172,6 +173,13 @@ Returned values are always in **json** format.
172173
npm pkg delete scripts.build
173174
```
174175
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+
175183
### Workspaces support
176184
177185
You can set/get/delete items across your configured workspaces by using the

content/cli/v9/commands/npm.md

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-
9.7.2
34+
9.8.0
3535

3636
### Description
3737

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,24 @@ redirect_from:
1717

1818
# Changelog
1919

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+
2038
## [9.7.2](https://github.com/npm/cli/compare/v9.7.1...v9.7.2) (2023-06-21)
2139

2240
### Bug Fixes

src/theme/nav.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@
10551055
- title: Changelog
10561056
url: /cli/v8/using-npm/changelog
10571057
description: Changelog notes for each version
1058-
- title: Version 9.7.2 (Latest Release)
1058+
- title: Version 9.8.0 (Latest Release)
10591059
shortName: v9
10601060
url: /cli/v9
10611061
default: true

0 commit comments

Comments
 (0)