RC/Bun - Testing bun features as package manager and runtime for projects as a default solution #59
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
All script commands are working as expected, but bun is installed per homebrew. I'm running with win/ws2 with debian.
I tried to install bun locally on the project and run commands from there - in order to force the user to use bun, but without giving him the effort to install bun itself and ease the learning curve - but got some conflicts when running command scripts.
Other point that didn't work as expected: the
--bun
flag.When I run a command script as
bun run --bun dev
, it works as expected. When I put the--bun
flag inside the script, let's say"dev": "--bun vite --host",
and runbun dev
, it doesn't work as expected, unfortunatelly. I think we should be able to use the flag on the scripts, so on your daily job, all people that works on the project, doesn't have to remember to have to use the flag, so it's a better DX overall. Also putting the flag at the end of the flag, also doesn't do.Besides that: works like a charm.