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

docs: fix bun.lock section #16088

Merged
merged 1 commit into from
Dec 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/install/lockfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ $ bun install --yarn
print = "yarn"
```

{% /codetabs %}

### Text-based lockfile

Bun v1.1.39 introduced `bun.lock`, a JSONC formatted lockfile. `bun.lock` is human-readable and git-diffable without configuration, at [no cost to performance](https://bun.sh/blog/bun-lock-text-lockfile#cached-bun-install-gets-30-faster).
Expand All @@ -90,8 +92,6 @@ Once `bun.lock` is generated, Bun will use it for all subsequent installs and up

Bun v1.2.0 will switch the default lockfile format to `bun.lock`.

{% /codetabs %}

{% details summary="Configuring lockfile" %}

```toml
Expand Down
Loading