Commit Graph

55 Commits

Author SHA1 Message Date
Daniel-Khodabakhsh
e87754df1f fix: make the FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE error and hint messages more clear (#6304)
Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-03-29 22:51:33 +03:00
Zoltan Kochan
3f0ea1defa fix: dedupe direct deps after hoisting (#6286) 2023-03-27 05:28:52 +03:00
Zoltan Kochan
0e26acb0fb refactor: dependency-path 2023-03-24 15:25:53 +02:00
Zoltan Kochan
f835994eab fix: direct deduplication with resolution-mode=lowest-direct (#6262)
close #6042
2023-03-24 02:17:22 +02:00
Zoltan Kochan
1d105e7fcd fix!: save the whole tarball URL, when it doesn't use the standard format (#6265) 2023-03-24 01:36:13 +02:00
Zoltan Kochan
2a2032810f fix: don't write pnpm-lock.yaml if it has no changes (#6260)
close #6158
2023-03-23 04:40:42 +02:00
Rex Zeng
cfb6bb3bfe feat: support resolving peers with npm aliases (#6220)
close #4301
Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-03-22 04:39:11 +02:00
Zoltan Kochan
158d8cf22f feat!: only allow lockfile v6 (#6240) 2023-03-19 04:23:51 +02:00
Zoltan Kochan
ee61ca4cb7 style: update eslint (#6236) 2023-03-18 14:57:29 +02:00
Zoltan Kochan
506f3f7b93 Merge branch 'main' into v8 2023-03-17 03:27:23 +02:00
Zoltan Kochan
f9c30c6d78 fix: multiple Jest versions in a single workspace should work (#6138)
close #5176
close #6213
2023-03-15 03:57:12 +00:00
Zoltan Kochan
54591c6867 feat!: dedupe-peer-dependents is true by default (#6185) 2023-03-06 02:44:35 +02:00
Zoltan Kochan
9bdb875397 test: fix 2023-03-05 23:45:39 +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
a4ce8e1f27 Merge branch 'main' into v8 2023-02-23 13:13:30 +02:00
Zoltan Kochan
ed946c73e9 fix: automatically resolve conflicts in lockfile v6 (#6127) 2023-02-23 12:13:04 +02:00
Zoltan Kochan
91b8027441 ci: use pnpm v8 (#6116) 2023-02-22 17:50:20 +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
417c8ac595 fix!: always create a lockfile (#6073) 2023-02-13 22:33:10 +02:00
Zoltan Kochan
170d975ec7 test: fix 2023-02-12 02:29:08 +02:00
Zoltan Kochan
6071380eb7 Merge branch 'main' into v8 2023-02-12 02:03:38 +02:00
Zoltan Kochan
54346d6e2c test: fix 2023-02-09 03:12:17 +02:00
Dominik Schmidt
7540267aec fix: replace version number for namespaced workspace packages (#6052)
Without this patch 'workspace:@foo/bar@*' is replaced by 'npm:@foo/bar@*' on publish,
i.e. the * is not replaced by the actual version number from @foo/bar's package.json.

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-02-08 15:39:16 +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
Dominik Schmidt
b71c6ed743 fix: replace version number for namespaced workspace packages (#6052)
Without this patch 'workspace:@foo/bar@*' is replaced by 'npm:@foo/bar@*' on publish,
i.e. the * is not replaced by the actual version number from @foo/bar's package.json.

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-02-08 14:20:14 +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
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
Zoltan Kochan
583e3954be fix: remove suppressImplicitAnyIndexErrors from typescript settings (#5991) 2023-01-28 18:19:26 +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
Zoltan Kochan
98d6603f31 fix: corrupted side effects cache should be ignored (#5930)
close #4997
2023-01-18 23:33:50 +02:00
Candy
6c7ac6320f fix: install --fix-lockfile error when package has no dependencies (#5918)
close #5878
2023-01-17 02:29:09 +00: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
bc8df37871 fix: re-add manually removed packages to node_modules when node-linker is set to hoisted (#5921) 2023-01-13 17:07:34 +02:00
Zoltan Kochan
891a8d7633 fix: side effects upload when node-linker is set to hoisted (#5902)
This fixes a bug introduced by #5814

сlose #5823
2023-01-09 19:23:50 +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
Pascal Jufer
08ceaf3fcb chore(deps): replace is-ci by ci-info (#5862) 2023-01-01 20:53:07 +02:00
Zoltan Kochan
339c0a7046 fix: run prepublish scripts of packages installed from Git (#5837)
close #5826
2022-12-25 21:18:18 +02:00
Zoltan Kochan
3360c9f4b0 perf: do not build the same dependency multiple times when node-linker is hoisted (#5814) 2022-12-21 12:29:59 +02:00
Zoltan Kochan
c9d3970e33 fix: rebuild when node-linker is set to hoisted (#5811)
close #5560
2022-12-21 03:07:01 +02:00
Zoltan Kochan
313702d76b refactor: all packages should be in the @pnpm scope (#5785) 2022-12-13 03:46:56 +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
Zoltan Kochan
32288715d3 fix: dedupe direct deps when headless install is used 2022-11-28 17:27:00 +02:00