-
Notifications
You must be signed in to change notification settings - Fork 329
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
Use bun for installation if applicable #494
Conversation
@afcapel are you able to review this? It might be time-sensitive see this comment and this one too. |
Thanks @terracatta |
Thanks @afcapel are you able to do a similar review for hotwired/stimulus-rails#125 ? |
Just saying: This needs to released to make Currently turbo-rails runs When using Uses bun correctly: |
cc/ @dhh any possibility you can cut a release for this gem before 7.1.0 final is out? Can you also merge hotwired/stimulus-rails#125 can cut a release for stimulus-rails? This will be the only way to ensure the new |
@dhh bump on this ^ ref: rails/rails#49522 |
cc @afcapel |
This PR is part of an overall effort to allow Rails developers to completely use the Bun JS runtime and bundler without needing to use Node.JS and Yarn.
This gem is automatically invoked when a new rails projects is created and before this PR would always use Yarn. After this PR this gem will detect which JS bundler is being used and use the correct one so that Yarn doesn't accidentally slip into your Rails project.
I have opened a companion PR to the stimulus-rails repo as well.
Example run of
javascript:install:bun
andbin/rails turbo:install