6 Commits

Author SHA1 Message Date
Maciej Krüger
6f77647495 tests.pnpm: add pnpm_11_v4 test for fetcherVersion 4
Tests the SQLite dump/reconstruct code path introduced in fetcherVersion 4,
which ensures reproducibility of the pnpm v11 store index.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-23 22:13:34 +02:00
Maciej Krüger
f09853e8b7 tests.pnpm: rename pnpm_11 test to pnpm_11_v3
Make the fetcher version explicit in the test name in preparation for
adding a v4 test.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-23 22:13:33 +02:00
Sefa Eyeoglu
342203f139 tests.pnpm.pnpm_11: fix binary
During refactoring, we forgot to update the lib path in the wrapper.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2026-05-12 22:45:19 +02:00
Sefa Eyeoglu
7d318dfe3b pnpm_11: init at 11.1.0
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2026-05-11 23:13:15 +02:00
Sefa Eyeoglu
9212518207 pnpm-fixup-state-db: init at 1.0.0
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2026-05-11 18:09:20 +02:00
Sam Pointon
37955437a7 fetchPnpmDeps: don't fail on empty lockfile
If the lockfile is empty, no files will be put in the output directory. 
In this case, the find invocations produce an empty list of results. 
xargs' default behaviour is to always invoke its command at least once; 
if its input is empty, then its command will not be passed any 
filenames. This produces an invocation like `chmod 555`. chmod, however, 
fails in this case, expecting an operand. So we need to tell xargs not 
to invoke its command at all in the case of empty input.
2026-04-26 19:33:22 +01:00