Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(npm): use bin.sh for execute #798

Closed
wants to merge 2 commits into from

Conversation

dalisoft
Copy link
Contributor

@dalisoft dalisoft commented Jul 30, 2024

Related issues and PR: #688, #703, #705, #776

And #794, #796

⚡ Summary

Reduce execution startup time

This should solve few issues related to bun and it has a bunx/npx support compared to #705
This 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

☑️ Checklist

  • Check locally
  • Add tests
  • Add documentation

dalisoft added 2 commits July 31, 2024 01:10
This should solve few issues related to bun and it has a `bunx`/`npx` support compared to evilmartians#705

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
@dalisoft
Copy link
Contributor Author

@mrexox I was not able to test locally, but really ready to test if you provide any way to test locally for bunx/npx or other failing case

@dalisoft dalisoft closed this Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants