1
+ ## 7.0.8 (2020-11-03)
2
+
3
+ ### DOCUMENTATION
4
+
5
+ * [ ` 052e977b9 ` ] ( https://github.com/npm/cli/commit/052e977b9d071e1b3654976881d10cd3ddcba788 )
6
+ [ #1822 ] ( https://github.com/npm/cli/issues/1822 )
7
+ [ #1247 ] ( https://github.com/npm/cli/issues/1247 )
8
+ add section on peerDependenciesMeta field in package.json
9
+ ([ @foxxyz ] ( https://github.com/foxxyz ) )
10
+ * [ ` 52d32d175 ` ] ( https://github.com/npm/cli/commit/52d32d1758c5ebc58944a1e8d98d57e30048e527 )
11
+ [ #1970 ] ( https://github.com/npm/cli/issues/1970 )
12
+ match npm-exec.md -p usage with lib/exec.js
13
+ ([ @dr-js ] ( https://github.com/dr-js ) )
14
+ * [ ` 48ee8d01e ` ] ( https://github.com/npm/cli/commit/48ee8d01edd11ed6186c483e1169ff4d2070b963 )
15
+ [ #2096 ] ( https://github.com/npm/cli/issues/2096 )
16
+ Fix RFC links in changelog
17
+ ([ @jtojnar ] ( https://github.com/jtojnar ) )
18
+
19
+
20
+ ### BUG FIXES
21
+
22
+ * [ ` 6cd3cd08a ` ] ( https://github.com/npm/cli/commit/6cd3cd08af56445e13757cac3af87f3e7d54ed27 )
23
+ Support * all* conf keys in publishConfig
24
+ * [ ` a1f9be8a7 ` ] ( https://github.com/npm/cli/commit/a1f9be8a7f9b7a3a813fc3e5e705bc982470b0e2 )
25
+ [ #2074 ] ( https://github.com/npm/cli/issues/2074 )
26
+ Support publishing any kind of spec, not just directories
27
+
28
+ ### DEPENDENCIES
29
+
30
+ * [ ` 545382df6 ` ] ( https://github.com/npm/cli/commit/545382df62e3014f3e51d7034e52498fb2b01a37 )
31
+
32
+ * Support publishing things other than folders
33
+ * [ ` 7d88f1719 ` ] ( https://github.com/npm/cli/commit/7d88f17197e3c8cca9b277378d6f9b054b1b7886 )
34
+
35
+ * [ ` 823b40a4e ` ] ( https://github.com/npm/cli/commit/823b40a4e9c6ef76388af6fe01a3624f6f7675be )
36
+
37
+ * [ ` 90bf57826 ` ] ( https://github.com/npm/cli/commit/90bf57826edf2f78ddf8deb0793115ead8a8b556 )
38
+
39
+ * [ ` e5a413577 ` ] ( https://github.com/npm/cli/commit/e5a4135770d13cf114fac439167637181f87d824 )
40
+
41
+ * [ ` fc5aa7b4a ` ] ( https://github.com/npm/cli/commit/fc5aa7b4ad45cb65893f734e1229a6720f7966e5 )
42
+
43
+ * [ ` 9fc1dee13 ` ] ( https://github.com/npm/cli/commit/9fc1dee138ca33ecdbd57e63142b27c60cf88f9b )
44
+
45
+ * [ ` 0ea870ec5 ` ] ( https://github.com/npm/cli/commit/0ea870ec5d2be1d44f050ad8bc24ed936cc45fde )
46
+
47
+ * [ ` 32fd744ea ` ] ( https://github.com/npm/cli/commit/32fd744ea745f297f0be79a80955f077a57c4ac7 )
48
+
49
+ * [ ` fc76f3d9f ` ] ( https://github.com/npm/cli/commit/fc76f3d9fcf19e65a9373ab3d9068c4326d2f782 )
50
+
51
+ * Fix ` cannot read property 'description' of undefined ` in ` npm ls `
52
+ when ` package-lock.json ` is corrupted
53
+ * Do not allow peerDependencies to be nested under dependents in any
54
+ circumstances
55
+ * Always resolve peerDependencies in ` --prefer-dedupe ` mode
56
+
1
57
## 7.0.7 (2020-10-30)
2
58
3
59
### BUG FIXES
602
658
sources ([ @ruyadorno ] ( https://github.com/ruyadorno ) )
603
659
* [ ` 3a63ecb6f ` ] ( https://github.com/npm/cli/commit/3a63ecb6f6a0b235660f73a3ffa329b1f131b0c3 )
604
660
[ #1718 ] ( https://github.com/npm/cli/pull/1718 )
605
- [ RFC-0029] ( https://github.com/npm/rfcs/blob/latest/accepted /0029-add-ability-to-skip-hooks.md )
661
+ [ RFC-0029] ( https://github.com/npm/rfcs/blob/latest/implemented /0029-add-ability-to-skip-hooks.md )
606
662
add ability to skip pre/post hooks to ` npm run-script ` by using
607
663
` --ignore-scripts ` ([ @ruyadorno ] ( https://github.com/ruyadorno ) )
608
664
@@ -829,7 +885,7 @@ Now on to the list of **BREAKING CHANGES**!
829
885
### Programmatic Usage
830
886
831
887
- [ RFC
832
- 20] ( https://github.com/npm/rfcs/blob/latest/accepted /0020-npm-option-handling.md )
888
+ 20] ( https://github.com/npm/rfcs/blob/latest/implemented /0020-npm-option-handling.md )
833
889
The CLI and its dependencies no longer use the ` figgy-pudding ` library
834
890
for configs. Configuration is done using a flat plain old JavaScript
835
891
object.
@@ -859,7 +915,7 @@ The environment for lifecycle scripts (eg, build scripts, `npm test`, etc.)
859
915
has changed.
860
916
861
917
- [ RFC
862
- 21] ( https://github.com/npm/rfcs/blob/latest/accepted /0021-reduce-lifecycle-script-environment.md )
918
+ 21] ( https://github.com/npm/rfcs/blob/latest/implemented /0021-reduce-lifecycle-script-environment.md )
863
919
Environment no longer includes ` npm_package_* ` fields, or ` npm_config_* `
864
920
fields for default configs. ` npm_package_json ` , ` npm_package_integrity ` ,
865
921
` npm_package_resolved ` , and ` npm_command ` environment variables added.
@@ -868,13 +924,13 @@ has changed.
868
924
release] ( https://github.com/npm/rfcs/pull/183 ) )
869
925
870
926
- [ RFC
871
- 22] ( https://github.com/npm/rfcs/blob/latest/accepted /0022-quieter-install-scripts.md )
927
+ 22] ( https://github.com/npm/rfcs/blob/latest/implemented /0022-quieter-install-scripts.md )
872
928
Scripts run during the normal course of installation are silenced unless
873
929
they exit in error (ie, with a signal or non-zero exit status code), and
874
930
are for a non-optional dependency.
875
931
876
932
- [ RFC
877
- 24] ( https://github.com/npm/rfcs/blob/latest/accepted /0024-npm-run-traverse-directory-tree.md )
933
+ 24] ( https://github.com/npm/rfcs/blob/latest/implemented /0024-npm-run-traverse-directory-tree.md )
878
934
` PATH ` environment variable includes all ` node_modules/.bin ` folders,
879
935
even if found outside of an existing ` node_modules ` folder hierarchy.
880
936
@@ -924,7 +980,7 @@ We do intend to continue supporting the `npx` that npm ships; just not the
924
980
### Files On Disk
925
981
926
982
- [ RFC
927
- 13] ( https://github.com/npm/rfcs/blob/latest/accepted /0013-no-package-json-_fields.md )
983
+ 13] ( https://github.com/npm/rfcs/blob/latest/implemented /0013-no-package-json-_fields.md )
928
984
Installed ` package.json ` files no longer are mutated to include extra
929
985
metadata. (This extra metadata is stored in the lockfile.)
930
986
- ` package-lock.json ` is updated to a newer format, using
@@ -940,7 +996,7 @@ These changes affect `install`, `ci`, `install-test`, `install-ci-test`,
940
996
` update ` , ` prune ` , ` dedupe ` , ` uninstall ` , ` link ` , and ` audit fix ` .
941
997
942
998
- [ RFC
943
- 25] ( https://github.com/npm/rfcs/blob/latest/accepted /0025-install-peer-deps.md )
999
+ 25] ( https://github.com/npm/rfcs/blob/latest/implemented /0025-install-peer-deps.md )
944
1000
` peerDependencies ` are installed by default. This behavior can be
945
1001
disabled by setting the ` legacy-peer-deps ` configuration flag.
946
1002
@@ -951,7 +1007,7 @@ These changes affect `install`, `ci`, `install-test`, `install-ci-test`,
951
1007
of correctness. Use the ` --legacy-peer-deps ` config flag if impacted.
952
1008
953
1009
- [ RFC
954
- 23] ( https://github.com/npm/rfcs/blob/latest/accepted /0023-acceptDependencies.md )
1010
+ 23] ( https://github.com/npm/rfcs/blob/latest/implemented /0023-acceptDependencies.md )
955
1011
Support for ` acceptDependencies ` is added. This can result in dependency
956
1012
resolutions that previous versions of npm will incorrectly flag as invalid.
957
1013
@@ -973,23 +1029,23 @@ These changes affect `install`, `ci`, `install-test`, `install-ci-test`,
973
1029
### Workspaces
974
1030
975
1031
- [ RFC
976
- 26] ( https://github.com/npm/rfcs/blob/latest/accepted /0026-workspaces.md )
1032
+ 26] ( https://github.com/npm/rfcs/blob/latest/implemented /0026-workspaces.md )
977
1033
First phase of ` workspaces ` support is added. This changes npm's
978
1034
behavior when a root project's ` package.json ` file contains a
979
1035
` workspaces ` field.
980
1036
981
1037
### ` npm update `
982
1038
983
1039
- [ RFC
984
- 19] ( https://github.com/npm/rfcs/blob/latest/accepted /0019-remove-update-depth-option.md )
1040
+ 19] ( https://github.com/npm/rfcs/blob/latest/implemented /0019-remove-update-depth-option.md )
985
1041
Update all dependencies when ` npm update ` is run without any arguments.
986
1042
As it is no longer relevant, ` --depth ` config flag removed from `npm
987
1043
update`.
988
1044
989
1045
### ` npm outdated `
990
1046
991
1047
- [ RFC
992
- 27] ( https://github.com/npm/rfcs/blob/latest/accepted /0027-remove-depth-outdated.md )
1048
+ 27] ( https://github.com/npm/rfcs/blob/latest/implemented /0027-remove-depth-outdated.md )
993
1049
Remove ` --depth ` config from ` npm outdated ` . Only top-level dependencies
994
1050
are shown, unless ` --all ` config option is set.
995
1051
0 commit comments