- This repo is a clone of https://github.com/nrwl/large-ts-monorepo
- And also includes a copy of code from https://github.com/goetzrobin/spartan
Our goal is to debug compatability issues with Bun and Nx
- ✅
bun build:docker:bun-on-node
- ❌
bun build:docker:buntime
- Use
bun build:docker:buntime-debug
to see the error
- Use
build large-ts-monorepo
✅: bunx nx run-many --target=build --projects=tag:stack:large-ts-monorepo --configuration=production --parallel=12
-- with cache
✅: bunx nx run-many --target=build --projects=tag:stack:large-ts-monorepo --configuration=production --parallel=12 --skip-nx-cache
-- without cache
✅: bunx --bun nx run-many --target=build --projects=tag:stack:large-ts-monorepo --configuration=production --parallel=12
-- with cache, buntime
✅: bunx --bun nx run-many --target=build --projects=tag:stack:large-ts-monorepo --configuration=production --parallel=12 --skip-nx-cache
-- without cache, buntime
✅: bunx nx run-many --target=build --projects=tag:stack:spartan --configuration=production --parallel=12
-- with cache
✅: bunx nx run-many --target=build --projects=tag:stack:spartan --configuration=production --parallel=12 --skip-nx-cache
-- without cache
✅: bunx --bun nx run-many --target=build --projects=tag:stack:spartan --configuration=production --parallel=12
-- with cache, buntime
✅: bunx --bun nx run-many --target=build --projects=tag:stack:spartan --configuration=production --parallel=12 --skip-nx-cache
-- without cache, buntime
build apps from the analogjs repo by Brandon Roberts
✅: bunx nx run-many --target=build --projects=tag:stack:analog-repo --configuration=production --parallel=12
-- with cache
✅: bunx nx run-many --target=build --projects=tag:stack:analog-repo --configuration=production --parallel=12 --skip-nx-cache
-- without cache
✅: bunx --bun nx run-many --target=build --projects=tag:stack:analog-repo --configuration=production --parallel=12
-- with cache, buntime
✅: bunx --bun nx run-many --target=build --projects=tag:stack:analog-repo --configuration=production --parallel=12 --skip-nx-cache
-- without cache, buntime
- [nrwl/nx] :: Issue #25965 | When using Bun and building within Dockerfile - 'Failed to process project graph. Run "nx reset" to fix this.' re: 'nx/js/dependencies-and-lockfile' #25965
- (not implemented yet)
- [nrwl/nx] :: Issue #25978 | When using Bun and building in containers, respect the yarn.lock file #25978
- (not implemented yet)
- [nrwl/nx] :: Issue #25987 | When using Bun, 'nx migrate --run-migrations' adds a package-lock.json and does not respect bun.lockb ✅