Skip to content

Commit

Permalink
docs: fix bun.lock section (#16088)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-conway authored Dec 31, 2024
1 parent 37e7f5b commit 82f9b13
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 82f9b13

Please sign in to comment.