File tree Expand file tree Collapse file tree 5 files changed +29
-3
lines changed Expand file tree Collapse file tree 5 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ packages will *also* show the paths to the specified packages. For
58
58
example, running ` npm ls promzard ` in npm's source tree will show:
59
59
60
60
``` bash
61
- npm@9.7.2 /path/to/npm
61
+ npm@9.8.0 /path/to/npm
62
62
└─┬ init-package-json@0.0.4
63
63
└── promzard@0.1.5
64
64
```
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ npm pkg get [<key> [<key> ...]]
43
43
npm pkg delete < key> [< key> ...]
44
44
npm pkg set [< array> [< index> ].< key>=< value> ...]
45
45
npm pkg set [< array> [].< key>=< value> ...]
46
+ npm pkg fix
46
47
` ` `
47
48
48
49
# ## Description
@@ -172,6 +173,13 @@ Returned values are always in **json** format.
172
173
npm pkg delete scripts.build
173
174
` ` `
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
+
175
183
# ## Workspaces support
176
184
177
185
You can set/get/delete items across your configured workspaces by using the
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Note: This command is unaware of workspaces.
31
31
32
32
### Version
33
33
34
- 9.7.2
34
+ 9.8.0
35
35
36
36
### Description
37
37
Original file line number Diff line number Diff line change @@ -17,6 +17,24 @@ redirect_from:
17
17
18
18
# Changelog
19
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
+
20
38
## [ 9.7.2] ( https://github.com/npm/cli/compare/v9.7.1...v9.7.2 ) (2023-06-21)
21
39
22
40
### Bug Fixes
Original file line number Diff line number Diff line change 1055
1055
- title : Changelog
1056
1056
url : /cli/v8/using-npm/changelog
1057
1057
description : Changelog notes for each version
1058
- - title : Version 9.7.2 (Latest Release)
1058
+ - title : Version 9.8.0 (Latest Release)
1059
1059
shortName : v9
1060
1060
url : /cli/v9
1061
1061
default : true
You can’t perform that action at this time.
0 commit comments