Closed JulioC closed 9 months ago
You are able to run bun applications yes.
However, we still unable to remove the need for bun as bun --bun nx doesn't work. So in short you can create applications and libraries now and it works. But NX commands will run in node
I could be wrong not checked it for a little bit but using the worker task runner does allow you to run bun --bun so nx runs in bun too.
This is area I'm working on next. Got PR in for bun package manager and I'm going to provide a patch file for anyone that once it. #14 need to change Ci away from nx-cloud as it doesn't support bun runtime then this is merged and work on task runner and patch files will be coming
V1 released. Closing this as the support coming in next
If you are willing to swap the NX task runner for https://www.npmjs.com/package/@nx-bun/task-worker-runner you can use NX in complete bun environment today
@JulioC here a template repo for pure bun https://github.com/Jordan-Hall/nx-bun-template
That was much quicker than expected! I'll experiment with it and report back any issues. Thanks a lot!
For now, the answer appears to be "no".
@Jordan-Hall commented on nx Discord:
I'm creating this issue so anyone interested can follow. It would be nice if the maintainers could share milestone updates here.