Bun package manager not detected in Shared Monorepo
matthieumordrel
HOBBYOP

9 months ago

Hi, I'm trying to deploy some services using bun as packet manager.

I'm using a shared monorepo setup with bun workspace, and a single bun.lock file at the root.

I'm using Railpack as it seems to have better support for bun as runtime than Nixipacks, but happy to switch if needed.

I suppose that because there is not bun.lock in the service directory, it's not being properly detected and fallback to npm. I was hoping it would check the root directory but doesn't seem to be the case.

Is there any relatively simple workaround ? Worst case I suppose I could create a DockerFile to override Railpack but please let me know if there is better.

Thanks!

0 Replies

Loading...