This should solve few issues related to bun and it has a bunx/npx support compared to https://github.com/evilmartians/lefthook/pull/705This script, bin.sh executes only as later it will be replaced to actual binary file
This approach does not work on pnpm and does not reduce startup time. For npx it is faster but not much, for bunx it is marginally faster
Related issues and PR: #688, #703, #705, #776
And #794, #796
:zap: Summary
Reduce execution startup time
This should solve few issues related to bun and it has a
bunx
/npx
support compared to https://github.com/evilmartians/lefthook/pull/705 This script,bin.sh
executes only as later it will be replaced to actualbinary
file This approach does not work onpnpm
and does not reduce startup time. Fornpx
it is faster but not much, forbunx
it is marginally faster:ballot_box_with_check: Checklist