Bun lockfile version: 2 (Bun 1.4.0/canary) #13126
Closed
ozturkberkay
started this conversation in
Ideas
Replies: 3 comments 1 reply
|
Hi, we handle feature requests in Discussions, so will move there. |
0 replies
|
How about nx support? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Verify canary release
Link to code that reproduces this issue
https://gist.github.com/ozturkberkay/78801494285afd1f8b6f6f0a8e72de09
Which canary version will you have in your reproduction?
2.9.18
Environment information
Expected behavior
Turborepo parses Bun's bun.lock when it's at lockfileVersion: 2 and resolves the workspace graph from it successfully.
Actual behavior
Bun 1.4.0 (current canary) writes bun.lock with "lockfileVersion": 2 (+ "configVersion": 1). Both the latest stable turbo (2.9.18) and latest canary (2.9.19-canary.9) fail to parse it and lose the workspace graph. Bun 1.3.14 (lockfileVersion: 1) parses fine.
╰─ bunx turbo ls • turbo 2.9.18 WARNING An issue occurred while attempting to parse /private/tmp/tb/bun.lock. Turborepo will still function, but some features may not be available: × Could not resolve workspaces. ╰─▶ Unsupported bun lockfile version: 2 1 package (bun) a packages/aTo Reproduce
Additional context
This being unsupported is understandable/expected for now. Raising this early so a fix can land before 1.4.0 becomes stable.
All reactions