chore: use the text bun lockfile so turbo can resolve the workspace

This commit is contained in:
Jose Selesan
2026-10-15 15:42:20 -03:00
parent 62309ce582
commit 6f02f6307b
4 changed files with 1690 additions and 0 deletions

View File

@@ -15,6 +15,9 @@ No CI, no database migrations and no product features yet.
## Conventions ## Conventions
- **Package manager: Bun** — `bun install`, `bun run <script>`. Do not introduce npm/pnpm/yarn lockfiles. - **Package manager: Bun** — `bun install`, `bun run <script>`. Do not introduce npm/pnpm/yarn lockfiles.
- The committed lockfile is the text one (`bun.lock`), enabled by the repo-level `bunfig.toml`
(`saveTextLockfile = true`). Turborepo reads it to resolve the workspace graph, so keep it in sync and never
hand-edit it.
- Bun is configured with `minimumReleaseAge` (see `~/.bunfig.toml`), so brand new releases are rejected during - Bun is configured with `minimumReleaseAge` (see `~/.bunfig.toml`), so brand new releases are rejected during
install. If a dependency fails to resolve, pin the newest version that is at least a few days old instead of install. If a dependency fails to resolve, pin the newest version that is at least a few days old instead of
reaching for the very latest. reaching for the very latest.

1682
bun.lock Normal file

File diff suppressed because it is too large Load Diff

BIN
bun.lockb

Binary file not shown.

5
bunfig.toml Normal file
View File

@@ -0,0 +1,5 @@
# Repo-level override of the global ~/.bunfig.toml: Turborepo reads the text
# lockfile (`bun.lock`) to resolve the workspace graph, and text lockfiles make
# for reviewable diffs. Everything else stays at Bun's defaults.
[install]
saveTextLockfile = true