Commit Graph

51 Commits

Author SHA1 Message Date
Diogo Correia
780af09808 fix(worker): inconsistent store structure due to race condition (#10536)
close #10535
2026-01-31 01:49:35 +01:00
Zoltan Kochan
e2e0a321b3 perf: optimize how the integrities of files in the CAFS are stored (#10504) 2026-01-24 21:41:11 +01:00
Zoltan Kochan
40b107efa7 perf: migrate internal cache and index files to MessagePack serialization (#10500) 2026-01-23 01:31:09 +01:00
Zoltan Kochan
da112f7cb2 revert: "perf: use v8 serialize/deserialize instead of JSON (#9971)" (#10420)
close #10409
2026-01-13 15:16:33 +01:00
Zoltan Kochan
8a8a51c394 perf: don't calculate package file paths in the store twice (#10428) 2026-01-12 15:58:25 +01:00
Zoltan Kochan
c5d4d81f56 refactor: rename FilesIndex to FilesMap (#10427) 2026-01-08 18:17:57 +01:00
Zoltan Kochan
d71174a4fa perf: calculate the package file maps in the workers (#10422) 2026-01-08 14:53:47 +01:00
Zoltan Kochan
3bf5e218a6 fix: linking commands of engines (#10354)
close #10244
2025-12-23 12:26:59 +01:00
Zoltan Kochan
0048667db4 refactor: use Maps instead of Records (#10312) 2025-12-15 11:48:19 +01:00
Oren
98a0410aa1 fix(tarball-resolver): add integrity hash to HTTP tarball dependencies (#10287)
* fix(tarball-resolver): add integrity hash to HTTP tarball dependencies

* Refactor to download tarball just once

* Fix tests

* fix: only calc hash when it is not passed in to the fetcher

* docs: update changesets
2025-12-08 23:38:27 +01:00
btea
7cec347701 fix: WMIC is being removed (#10223)
* fix: `WMI` is being removed

* fix: update

* fix: update

* fix: validate drive before usage

* fix: remove not needed dep

* refactor: regex

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-11-27 14:08:12 +01:00
Zoltan Kochan
4893853569 perf: increase the default network concurrency on machines with many CPU cores (#10215)
close #10068
2025-11-21 15:29:56 +01:00
Zoltan Kochan
9b344c8982 perf: use v8 serialize/deserialize instead of JSON (#9971)
close #9965
2025-11-06 01:01:06 +01:00
Zoltan Kochan
dab9abef5c Merge remote-tracking branch 'origin/main' into v11 2025-10-24 14:19:07 +02:00
Zoltan Kochan
8993f682cc feat: export a startWorker function from @pnpm/worker (#10110) 2025-10-21 15:24:52 +02:00
Zoltan Kochan
a43166624e Merge remote-tracking branch 'origin/main' into v11 2025-10-10 10:01:19 +02:00
Zoltan Kochan
06d2160476 feat: allow to specify the max amount of workers used by pnpm (#10056) 2025-10-09 15:07:08 +02:00
Zoltan Kochan
3df6702bcb fix: update load-json-file, write-json-file, write-pkg 2025-08-28 11:37:38 +02:00
Zoltan Kochan
491a84fb26 feat: use ESM instead of commonjs (#9870) 2025-08-25 10:02:00 +02:00
Zoltan Kochan
51bc234712 Merge branch 'main' into v11 2025-08-19 15:29:18 +02:00
Zoltan Kochan
facd7656e8 refactor: always use extensions in relative imports (#9878) 2025-08-19 15:25:11 +02:00
Zoltan Kochan
c4272201b4 refactor: remove @pnpm/crypto.polyfill (#9867) 2025-08-15 16:14:17 +02:00
Junxiao Shi
589ac1ffc7 fix(lifecycle): replace shell-quote with shlex (#9695)
* fix(lifecycle): replace shell-quote with shlex

close #9381

* fix: use shlex in @pnpm/worker

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-06-30 03:03:31 +02:00
Zoltan Kochan
91332a4cbd perf: optimize the amount of workers (#9289)
ref #9286
2025-03-15 23:46:04 +01:00
btea
adb236f1a1 refactor: improve regexp (#9203) 2025-03-02 13:17:09 +01:00
Zoltan Kochan
d86015b09c chore: fix spellcheck error 2024-12-26 01:54:19 +01:00
btea
7272992741 feat: extend symlink error message (#8879)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-12-26 01:24:47 +01:00
Zoltan Kochan
298e5dcafd feat!: create a separate directory in the store for index files (#8700) 2024-10-27 21:00:28 +01:00
Zoltan Kochan
50c3aaf46f Merge branch 'main' into v10 2024-10-23 14:08:15 +02:00
btea
222d10ac79 perf: use hash to replace createHash (#8629)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-10-21 10:51:33 +02:00
Zoltan Kochan
099e6af9e1 feat!: don't duplicate all file entries in the side effects section of the index file (#8636) 2024-10-14 11:01:23 +02:00
btea
807f2de798 refactor: remove unused parameters (#8593) 2024-10-01 13:35:34 +02:00
Khải
58a2f799c0 refactor(text+worker): type checking perf (#7891) 2024-04-10 16:28:27 +02:00
Khải
1cf763da04 refactor(worker): remove ReturnType expression from worker.ts (#7889) 2024-04-10 14:55:22 +02:00
Zoltan Kochan
0e6b757cf5 feat!: remove requiresBuild from the lockfile (#7710)
close #7707
2024-02-27 11:50:43 +01:00
Zoltan Kochan
11d9ebd7db fix: always add name and version to the index file (#7708)
close #7115
2024-02-24 12:54:55 +01:00
Zoltan Kochan
3ded840001 fix: error code when cannot add tarball to store (#7694)
close #7679
2024-02-23 10:36:22 +01:00
Zoltan Kochan
36dcaa0163 fix!: only fetch the included files of a git-hosted dependency (#7638)
close #6512
close #7329
2024-02-12 13:23:24 +01:00
Zoltan Kochan
99fd38bf2b style: fix 2023-12-14 20:29:52 +01:00
btea
e79ab3847b chore(dep): update @types/node (#7414)
* chore(dep): update @types/node

* chore: update
2023-12-13 14:06:52 +01:00
btea
1e7bd4af3a feat: use availableParallelism get the amount of paralllelism available (#7304) 2023-11-14 11:57:28 +02:00
Zoltan Kochan
733d612ad1 test: check spelling with cspell (#7229) 2023-10-20 15:58:27 +03:00
Zoltan Kochan
6390033cde perf: use a worker for hard linking directories (#7154) 2023-10-19 17:24:49 +03:00
Zoltan Kochan
9caa33d535 feat: new option for disabling local directory dependencies relinking (#7083)
Removed `disableRelinkFromStore` and `relinkLocalDirDeps`. Replaced them with `disableRelinkLocalDirDeps`.
2023-09-13 12:23:03 +03:00
Zoltan Kochan
03cdccc6e6 feat(core): add a disableRelinkFromStore option (#7075) 2023-09-11 14:25:13 +03:00
Zoltan Kochan
48dcd108c8 perf: symlink dependencies in a worker thread (#7069) 2023-09-09 18:56:43 +03:00
Zoltan Kochan
b548f2f438 fix: don't hang while reading package.json from the store
close #7051
2023-09-05 19:32:54 +03:00
Zoltan Kochan
f48113eac8 refactor: improve the way workers are finished (#7039) 2023-09-04 15:15:20 +03:00
Zoltan Kochan
70b2830acc refactor: worker (#7033) 2023-09-03 02:30:08 +03:00
Zoltan Kochan
69430e13ae perf: verify package integrity with a worker (#7022) 2023-09-02 19:34:19 +03:00