fix: add CommonJS shims for compatibility with older Corepack versions (#10245)

close #10242
This commit is contained in:
Trevor Burnham
2025-11-27 12:18:55 -05:00
committed by GitHub
parent d2a7b0206f
commit 9620df2789
2 changed files with 6 additions and 0 deletions

3
pnpm/bin/pnpm.cjs Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env node
// CommonJS shim for compatibility with older Corepack versions
import('./pnpm.mjs')

3
pnpm/bin/pnpx.cjs Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env node
// CommonJS shim for compatibility with older Corepack versions
import('./pnpx.mjs')