https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36682 --- Comment #13 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Created attachment 202890 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202890&action=edit Bug 36682: Adapt lockfile test for pnpm The existing test uses `yarn check` to validate yarn.lock and the installed node_modules tree. It therefore contains special handling for ktd's shared dependency directory and Yarn cache. pnpm provides a lockfile-only frozen installation mode. This validates that package.json and pnpm-lock.yaml agree without linking dependencies, running build scripts, or modifying ktd's shared node_modules tree. Rename the test for pnpm and replace the Yarn- and ktd-specific logic with `pnpm install --lockfile-only --frozen-lockfile`. Test plan: 1. Start ktd before applying the patches: ktd up -d 2. Install pnpm in the running container: ktd --root --shell --run \ 'npm install --global pnpm@10.34.5' 3. Apply only this patch. 4. Run: prove xt/verify-pnpm-lock.t 5. Confirm the test fails because pnpm-lock.yaml does not exist yet. 6. Apply the following pnpm migration patch. 7. Generate the pnpm lockfile: pnpm import pnpm install --lockfile-only 8. Run the test again. 9. Confirm it passes. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> -- You are receiving this mail because: You are watching all bug changes.