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

Bun 1.2 compatibility #166

Open
r3cha opened this issue Jan 26, 2025 · 0 comments
Open

Bun 1.2 compatibility #166

r3cha opened this issue Jan 26, 2025 · 0 comments

Comments

@r3cha
Copy link

r3cha commented Jan 26, 2025

I'm using bun and install packages with bun install --yarn and its generate a yarn.lock file, same time new version of bun 1.2 generates bun.lock file instead of bun.lockb.
Some users may have bun with yarn.lock file or bun with bun.lock

My assets recompilation failed with:

RAILS_ENV=production rails assets:precompile
bin/rails aborted!
cssbundling-rails: Command install failed, ensure yarn is installed

Tasks: TOP => assets:precompile => css:build => css:install
(See full trace by running task with --trace)

Here is a proposal PR to handle this, idk what best way to do this. Also we have using_bun? method at Helpers module that dose not check for bun.lock and return false if bun exists and yarn.lock present

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

No branches or pull requests

1 participant