Replies: 2 comments
-
pnpm seems to read the hashbang from the bin file which means it already works. E.g:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Even without using Bun apis, I think using Bun as the runtime could help with some of the perf penalty you get from wrapping pnpm around any given script. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1. Use Bun to run pnpm
I wonder if anyone has tried benchmarking pnpm running with Bun? Can any Bun-specific API's bring perf improvements?
2. Use Bun to run globally installed packages with pnpm
How can Bun be used for running globally installed packages?
I noticed this property in
cat "$(pnpm root -g)/../package.json"
:~/Library/pnpm/global/5/package.json
However everything has hard-coded bin wrappers for Node.js:
Beta Was this translation helpful? Give feedback.
All reactions