Commit Graph

254 Commits

Author SHA1 Message Date
Zoltan Kochan
cd00a79ab2 chore(release): libs 2023-07-19 02:19:20 +03:00
Zoltan Kochan
5ce333519d refactor: rename cafs to store.cafs 2023-07-19 01:53:42 +03:00
Zoltan Kochan
c570abb192 chore(release): 8.6.9 2023-07-18 13:32:31 +03:00
Zoltan Kochan
a35ec3fd92 chore(release): 8.6.8 2023-07-17 12:19:50 +03:00
Zoltan Kochan
e958707b2d perf: don't random ID to temp file names (#6817) 2023-07-17 11:35:34 +03:00
Zoltan Kochan
3c6144bfc6 chore: replace npm-run-all with concurrently 2023-07-16 02:00:24 +03:00
Zoltan Kochan
e0fb3913d2 chore: remove redundant scripts 2023-07-15 23:50:24 +03:00
Zoltan Kochan
a70c77ac43 test: use jest global setup/teardown to manage the registry mock (#6813)
close #6787
2023-07-15 23:00:41 +03:00
Zoltan Kochan
75673055f4 chore(deps): update 2023-07-13 18:40:03 +03:00
Zoltan Kochan
e26d15c6da fix: print more details when a bin file cannot be created (#6801) 2023-07-13 02:26:22 +03:00
await-ovo
b8cb91cf48 fix: treat the linked dependency which version type is tag as update-to-date (#6791)
* fix(core): treat the linked dependency which version type is tag as update-to-date

* docs: add changeset

* chore: code style
2023-07-12 03:58:54 +03:00
Zoltan Kochan
791f3cda01 chore(release): libs 2023-07-11 21:13:12 +03:00
Khải
4d63f5ff78 chore: remove an empty file (#6797) 2023-07-11 17:17:00 +03:00
Zoltan Kochan
e4ef6f46c9 chore(release): 8.6.7 2023-07-10 01:30:28 +03:00
Zoltan Kochan
1a4da53fdd refactor: create @pnpm/deps.graph-builder (#6783) 2023-07-09 16:11:35 +03:00
Bogdan Savluk
6fb5da19db perf(modules-cleaner): replace ramda difference with better alternative (#6760) 2023-07-03 23:16:08 +03:00
Zoltan Kochan
2f0fe96f0d chore(release): 8.6.6 2023-07-03 15:17:06 +03:00
Bogdan Savluk
abdb77f48e fix(resolve-dependencies): optimize splitNodeId, fix invalid nodeId (#6755) 2023-07-03 15:10:12 +03:00
Bogdan Savluk
fee263822c refactor(resolve-dependencies): use Maps and Sets instead of objects (#6749) 2023-07-03 01:19:23 +03:00
Bogdan Savluk
9b51108100 refactor(resolve-dependencies): remove ramda isEmpty usages (#6753) 2023-07-02 22:23:12 +03:00
Bogdan Savluk
17e4a3ab13 perf(resolve-dependencies): preferredVersions in resolveDependenciesOfImporters (#6748) 2023-07-02 15:57:30 +03:00
Zoltan Kochan
ba93356018 fix(resolve-dependencies): prefer versions found in parent packages only (#6742)
close #6737
2023-06-30 22:12:29 +03:00
await-ovo
b81cefdcd4 fix: always resolve manifest promise even if the dependency does not have package.json (#6741)
close #6721
2023-06-30 16:26:18 +03:00
Bogdan Savluk
8a68f5ad24 perf(resolve-dependencies): avoid copying parentParentPkgs in resolvePeersOfNode (#6736) 2023-06-30 02:00:51 +03:00
Bogdan Savluk
e9684b5595 perf(resolve-dependencies): avoid copying preferredVersions object (#6735)
replacing object spread with a prototype chain,
avoiding extra memory allocations in resolveDependencies

this becomes noticeable on relatively large monorepo(~2k packages)
reducing memory usage and making it slightly faster

1. allowing to complete `pnpm install` without `--max_old_space_size=8192`
   (it is noticeably slower, but at least works)
2. prevents OOM issue with `auto-install-peers=true`
   (this is crashing otherwise no matter `max_old_space_size`)
2023-06-30 02:00:15 +03:00
Zoltan Kochan
dddb8ad713 fix: link local bins created by postinstall scripts (#6728)
close #1801
2023-06-29 11:59:56 +03:00
Zoltan Kochan
9a7a249e1d chore(deps): update 2023-06-28 20:55:05 +03:00
Zoltan Kochan
8920dbce38 chore(release): 8.6.5 2023-06-26 12:36:31 +03:00
Zoltan Kochan
725c0d5adb chore(release): 8.6.4 2023-06-26 00:53:31 +03:00
Zoltan Kochan
e2c3ef313e fix: resolving peer deps when there are aliased deps (#6709)
close #6588
2023-06-23 16:11:54 +03:00
Zoltan Kochan
0119ac05b7 test(resolve-dependencies): fix 2023-06-23 02:22:41 +03:00
Zoltan Kochan
de2cbbcf56 fix: return bundled manifest for local dependency (#6702) 2023-06-23 01:30:33 +03:00
Zoltan Kochan
3c2c426d13 chore(deps): update 2023-06-23 01:29:50 +03:00
Zoltan Kochan
c2de1d4ddb chore(release): libs 2023-06-21 20:13:11 +03:00
Zoltan Kochan
61f22f9efa fix: don't include the version for local directory dependencies (#6695)
There is no need to include the version of a dependency in the lockfile,

if that dependency is installed from a local directory
2023-06-21 20:04:25 +03:00
Zoltan Kochan
f0af6b02cf chore(release): 8.6.3 2023-06-19 15:32:13 +03:00
Xiao Chuan
59aba9e725 fix: peer of subdeps when node-linker is hoisted (#6680) 2023-06-17 13:28:08 +03:00
btea
0d65d62c95 style: add restrict-template-expressions comment avoid eslint error (#6677) 2023-06-15 03:08:05 +03:00
Zoltan Kochan
0b830f947a fix: pnpm update --global --latest (#6671)
close #3779
2023-06-14 07:41:16 +03:00
Zoltan Kochan
43151bbd6e chore(release): 8.6.2 2023-06-11 21:35:42 +03:00
Zoltan Kochan
302ebffc54 fix: downgrade lockfile version to 6.0 (#6664)
close #6648
2023-06-11 21:31:11 +03:00
Zoltan Kochan
955d07394a refactor: rename find-workspace-packages package 2023-06-09 16:27:00 +03:00
await-ovo
d9da627cd3 fix: should always treat local file dependency as new dependency (#6623)
close #5381
close #6502
2023-06-08 20:12:18 +03:00
Zoltan Kochan
ce4a522c1a chore(release): 8.6.1 2023-06-05 15:10:32 +03:00
Zoltan Kochan
4b97f1f07a perf: don't use await inside loops (#6617) 2023-06-05 12:12:47 +03:00
Zoltan Kochan
d55b41a8b3 fix(deps): update 2023-06-04 02:23:19 +03:00
Zoltan Kochan
1989a068b3 chore(deps): update 2023-06-03 22:41:42 +03:00
Magnus Klingenberg
e83eacdcc8 fix(resolvePeers): fix deduplication when version missmatch (#6606)
When dedupe-peer-dependents is enabled (default), use the path to
determine compatibility.

When multiple dependency groups can be deduplicated, the
latter ones are sorted according to number of peers to allow them to
benefit from deduplication.

close #6605

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-06-03 01:32:27 +03:00
Zoltan Kochan
f0817fa165 chore(release): 8.6.0 2023-05-28 14:59:16 +03:00
Zoltan Kochan
e6052260c3 fix: error message when package is not found in workspace (#6598)
ref #4477
2023-05-27 19:40:43 +03:00