fix: add PNPM_HOME/bin to PATH for pnpm v11

pnpm v11 moved global binaries from PNPM_HOME to PNPM_HOME/bin.
Add the new bin subdirectory to PATH so that pnpm's global bin
directory check passes. This is backwards compatible — the extra
PATH entry is harmless for older pnpm versions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Zoltan Kochan
2026-03-21 13:53:41 +01:00
parent 1f69135d3d
commit 53ef38b049
3 changed files with 114 additions and 113 deletions

224
dist/index.js vendored

File diff suppressed because one or more lines are too long