Skip to content

chore(deps): pin packageManager to bun@1.4.0 - #53

Merged
TheGreatAxios merged 2 commits into
mainfrom
chore/pin-bun-package-manager
Sep 21, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
chore/pin-bun-package-manager

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • Adds "packageManager": "bun@1.4.0" — this is a bun project, and the field is how Corepack-aware tooling knows it
  • Motivation: a stray pnpm install in the repo produced a .pnpm node_modules store resolved against react@19.3.0/@types/react@19.3.0 while the bun lockfile pins 19.2.x — silently breaking typecheck (Radix Slot variance) and 17 tests (duplicate React copies). With the pin, pnpm install/npm install under Corepack refuse or redirect to bun instead of poisoning the tree
  • Version matches the bun release CI pins (oven-sh/setup-bun with bun-version: 1.4.0)

Test plan

  • bun install --frozen-lockfile clean, 668 packages
  • bun test passes post-reinstall

Declares bun as the project's package manager so Corepack-aware tooling
stops resolving pnpm/npm and producing foreign node_modules layouts
(which already bit once: a pnpm store resolved react@19.3.0 against the
lockfile's 19.2.8, breaking typecheck and tests). Matches the bun
version CI installs.
@TheGreatAxios
TheGreatAxios merged commit 2093efb into main Sep 21, 2026
1 check passed
@TheGreatAxios
TheGreatAxios deleted the chore/pin-bun-package-manager branch September 21, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant