fix: copy pnpm.exe to .bin/ on Windows for standalone mode

The .cmd wrapper approach didn't work because CMD doesn't properly
wait for extensionless PE binaries. Instead, copy the actual .exe
(and .cmd for pnpx) from @pnpm/exe into .bin/ so PATHEXT finds
pnpm.exe directly, bypassing npm's broken node-wrapping shim.
This commit is contained in:
Zoltan Kochan
2026-03-27 19:15:32 +01:00
parent 6bbd5b7dd6
commit cd98fe77eb
2 changed files with 126 additions and 133 deletions

207
dist/index.js vendored

File diff suppressed because one or more lines are too long