Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using bun >1.2.0 text based lockfile is required #30607

Open
1 of 4 tasks
ezraripps opened this issue Apr 4, 2025 · 1 comment
Open
1 of 4 tasks

When using bun >1.2.0 text based lockfile is required #30607

ezraripps opened this issue Apr 4, 2025 · 1 comment

Comments

@ezraripps
Copy link

Current Behavior

Related to #30302 and #30362

Bun allows for the following configuration to be set, which does not use the new text based lockfile format.

[install]
saveTextLockfile = false

nx does not look for the older bun.lockb file if the read bun version is higher than 1.2.0.

Expected Behavior

nx should respect either bun.lock or bun.lockb depending on which is installed, currently there is no such check.

GitHub Repo

No response

Steps to Reproduce

  1. Install bun 1.2.0 or newer
  2. Install latest nx

Nx Report

n.a.

Failure Logs

Package Manager Version

bun 1.2.8

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@nwidynski
Copy link

Adding to this, the @nx/dependency-checks rule does not work when using the text based lockfile, because deps are not properly recognized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants