Commit Graph

10701 Commits

Author SHA1 Message Date
Khải
22bbe92554 feat(git-resolver): fix private git repo (#6832)
fixes #6827
closes #6829
2023-07-19 13:48:05 +03:00
await-ovo
653e9104c0 fix(plugin-commands-patching): ignore empty patch content when patch-commit (#6826) 2023-07-19 13:47:29 +03:00
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
4bbf482d1e fix(cafs): create the locker once per process (#6836)
ref #6817
2023-07-19 01:52:40 +03:00
Zoltan Kochan
c570abb192 chore(release): 8.6.9 v8.6.9 2023-07-18 13:32:31 +03:00
Zoltan Kochan
de9b6c20d4 revert: "fix(git-resolver): wrong scheme to git ls-remote (#6806)"
This reverts commit 6fe0b60e61.

ref #6827
2023-07-18 12:44:51 +03:00
Zoltan Kochan
a35ec3fd92 chore(release): 8.6.8 v8.6.8 2023-07-17 12:19:50 +03:00
Khải
6fe0b60e61 fix(git-resolver): wrong scheme to git ls-remote (#6806)
close #6805
2023-07-17 11:40:54 +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
250f7e9fe9 Merge pull request from GHSA-5r98-f33j-g8h7
* test: extracting files with similar names

* test: manifest extraction

* fix: pick last file from tarball

* fix: pick last file from tarball

* fix: always resolve from the last occurence of the manifest
2023-07-17 11:27:06 +03:00
Zoltan Kochan
1565a31252 test: don't print the output of registry-mock 2023-07-16 12:18:19 +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
Khải
aa2ae8fe2b feat: publishConfig.registry (#6803)
close #6775
2023-07-13 16:11:40 +03:00
btea
48829ed549 refactor: reduce repeated error message (#6799) 2023-07-13 02:30:50 +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
SoonIter
35871080bd fix: pd use all sourceCode (#6795) 2023-07-12 03:56:04 +03:00
Zoltan Kochan
5b49c92e99 fix(setup): improve error message 2023-07-12 03:54:15 +03:00
Zoltan Kochan
791f3cda01 chore(release): libs 2023-07-11 21:13:12 +03:00
Zoltan Kochan
284847b621 test: fix 2023-07-11 19:57:22 +03:00
Zoltan Kochan
002f6febe4 feat(rebuild): skipIfHasSideEffectsCache (#6796) 2023-07-11 18:48:53 +03:00
Khải
4d63f5ff78 chore: remove an empty file (#6797) 2023-07-11 17:17:00 +03:00
Zoltan Kochan
16bbac8d51 fix: rebuild should upload side-effects (#6790) 2023-07-10 22:25:55 +03:00
Zoltan Kochan
e4ef6f46c9 chore(release): 8.6.7 v8.6.7 2023-07-10 01:30:28 +03:00
Zoltan Kochan
d83615cc3f fix: --parallel should not fail on single project (#6785)
close #6692
2023-07-10 01:24:57 +03:00
Zoltan Kochan
1a4da53fdd refactor: create @pnpm/deps.graph-builder (#6783) 2023-07-09 16:11:35 +03:00
Zoltan Kochan
a362a3ca16 fix(run): output of scripts running concurrently in one project (#6780)
ref #6692
2023-07-09 01:21:47 +03:00
Zoltan Kochan
8e8ec9bf1f chore(deps): update vulnerable dev dep 2023-07-08 23:44:40 +03:00
Zoltan Kochan
c099806f1d fix: remove console log from test-fixtures 2023-07-07 01:37:04 +03:00
Zoltan Kochan
8078084c8f chore(release): test-fixtures 2023-07-07 01:26:04 +03:00
Zoltan Kochan
d3a27cf43c chore(test-fixtures): rename files prefixed with an underscore 2023-07-06 23:22:10 +03:00
Bogdan Savluk
b4892acc5f perf(read-project-manifest): optimize normalize function (#6763) 2023-07-04 15:06:48 +03:00
Bogdan Savluk
6fb5da19db perf(modules-cleaner): replace ramda difference with better alternative (#6760) 2023-07-03 23:16:08 +03:00
Bogdan Savluk
e334e56709 fix(dependencies-hierarchy): move wanted lockfile loading outside dependenciesHierarchyForPackage (#6757)
Move loading wantedLockfile outside dependenciesHierarchyForPackage,
preventing OOM crash when loading the same lock file too many times
2023-07-03 16:34:14 +03:00
Zoltan Kochan
2f0fe96f0d chore(release): 8.6.6 v8.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
Zoltan Kochan
561f202499 docs: update changeset 2023-06-30 16:27:22 +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
a950aa1483 test(patching): fix 2023-06-30 01:09:37 +03:00
Zoltan Kochan
6499ba0675 fix: downgrade Yarn to versions that support node.js 16 (#6733)
ref #6732
2023-06-29 19:24:04 +03:00