Zoltan Kochan
54591c6867
feat!: dedupe-peer-dependents is true by default ( #6185 )
2023-03-06 02:44:35 +02:00
Zoltan Kochan
1f81e70e1a
Merge branch 'main' into v8
2023-03-05 15:06:47 +02:00
Zoltan Kochan
670bea8440
fix: update on a subset of projects should work with dedupe-peer-dependents ( #6178 )
2023-03-05 12:01:52 +02:00
Zoltan Kochan
5c31fa8be6
feat: dedupe packages that have peers when dedupe-peer-dependents is true ( #6153 )
2023-03-03 08:31:41 +02:00
Zoltan Kochan
ea460e51e3
Merge branch 'main' into v8
2023-02-20 22:46:24 +02:00
Zoltan Kochan
972de58abf
fix: update the lockfile if a new project is added to the workspace with no deps ( #6110 )
2023-02-20 11:39:58 +02:00
Zoltan Kochan
8b49472833
Merge branch 'main' into v8
2023-02-19 16:02:45 +02:00
Zoltan Kochan
f17ca4218d
fix: don't try to fix a lockfile that did not exist ( #6091 )
2023-02-16 13:29:42 +02:00
Brandon Cheng
c7fb372433
refactor(core): rename lockfileIsUpToDate to lockfileIsNotUpToDate ( #6071 )
2023-02-11 13:24:00 +02:00
Zoltan Kochan
b3d31838d6
fix: give priority to packages installed in the root, when deduping ( #6054 )
2023-02-08 15:39:16 +02:00
Zoltan Kochan
029143cfff
fix: give priority to packages installed in the root, when deduping ( #6054 )
2023-02-08 13:19:40 +02:00
Zoltan Kochan
113f0ae266
feat!: resolution-mode is lowest-direct by default ( #6047 )
2023-02-07 05:12:11 +02:00
Zoltan Kochan
47e45d717d
feat!: breaking config changes in v8 ( #6035 )
...
* auto-install-peers=true
* save-workspace-protocol=rolling
* publishConfig.linkDirectory true by default
* resolve-peers-from-workspace-root is true by default
* set dedupeDirectDeps to true by default in @pnpm/core.
2023-02-05 11:43:22 +02:00
Zoltan Kochan
74b535f192
fix: improve deduplication ( #6026 )
2023-02-04 01:17:22 +02:00
Zoltan Kochan
59ee536787
feat: lowest-direct resolution mode ( #6004 )
2023-02-01 04:48:05 +02:00
await-ovo
6348f59314
fix: update without specify --latest should not update tag version ( #5996 )
2023-02-01 03:02:04 +02:00
Zoltan Kochan
583e3954be
fix: remove suppressImplicitAnyIndexErrors from typescript settings ( #5991 )
2023-01-28 18:19:26 +02:00
Brandon Cheng
e8f6ab6833
feat: add pnpm dedupe command ( #5958 )
2023-01-23 12:27:42 +02:00
Zoltan Kochan
1072ec1286
fix: don't remove hoisted dependencies from .pnpm on repeat install ( #5971 )
2023-01-22 20:03:30 +02:00
bohan
5a00b705a3
fix(@pnpm/core): fix typo of resolution ( #5968 )
2023-01-22 14:27:52 +02:00
Andrew Sprouse
28b47a1569
feat: restore extend-node-path option ( #5910 )
...
Co-authored-by: Zoltan Kochan <z@kochan.io >
2023-01-13 18:15:24 +02:00
Zoltan Kochan
0055af5898
style: fix
2023-01-11 02:19:41 +02:00
Zoltan Kochan
9d425962f4
fix: lockfile v6 repeat install when use-lockfile-v6 is not set
2023-01-11 01:09:08 +02:00
Zoltan Kochan
0f6e95872a
fix: lockfile v6 should not be corrupted on repeat install ( #5905 )
...
* fix: lockfile v6 should not be corrupted on repeat install
* fix: don't add empty specifiers to lockfile v6
* fix: lockfile v6 should be saved to node_modules/.pnpm/lock.yaml
* fix: frozen lockfile with lockfile v6
2023-01-10 11:41:17 +02:00
Zoltan Kochan
3ebce5db7a
feat!: lockfile format v6 ( #5810 )
2023-01-09 14:37:05 +02:00
Zoltan Kochan
c7b05cd9a4
fix: don't build git-hosted dependencies when scripts are ignored ( #5897 )
...
close #5876
2023-01-09 03:59:37 +02:00
Zoltan Kochan
1fad508b07
feat: resolve peer dependencies from workspace root ( #5882 )
...
partially reverts #4469
2023-01-05 15:13:40 +02:00
Zoltan Kochan
7030cc26e8
refactor: use Object.fromEntries instead of Ramda.fromPairs
2022-12-21 03:23:10 +02:00
Zoltan Kochan
2458741fab
feat: store locations of deps when node-linker is set to hoisted ( #5795 )
...
Currently, when `node-linker=hoisted` is used and `node_modules` is not up-to-date, pnpm relinks all dependencies inside node_modules. This is not efficient, so with this optimisation pnpm will only relink what needs to be relinked.
2022-12-18 20:53:53 +02:00
Zoltan Kochan
450e0b1d10
feat: add a new option to the hoister to ignore some deps ( #5784 )
2022-12-13 00:15:26 +02:00
await-ovo
49f6c917fb
fix: should not replace workspace:* when update ( #5764 )
...
close #5317
close #5303
close #5312
close #5726
2022-12-09 20:51:03 +02:00
Jordan
868f2fb163
fix: --lockfile-only and readPackage hook modifying workspace packages ( #5678 )
...
close #5670
2022-11-26 20:31:57 +02:00
Zoltan Kochan
043bbeaf3b
feat: dedupe direct dependencies ( #5676 )
2022-11-25 21:29:41 +02:00
Zoltan Kochan
d5496cc3f8
refactor: linking direct dependencies ( #5669 )
2022-11-23 23:21:01 +02:00
Zoltan Kochan
4ca53b0b50
refactor: group projects in different subdirectories ( #5659 )
2022-11-20 01:35:22 +02:00