Skip to content

Switch package manager from Bun to pnpm#6

Open
sergical wants to merge 1 commit into
mainfrom
chore/pnpm
Open

Switch package manager from Bun to pnpm#6
sergical wants to merge 1 commit into
mainfrom
chore/pnpm

Conversation

@sergical

@sergical sergical commented Jun 13, 2026

Copy link
Copy Markdown
Member

What this introduces

Switches the package manager from Bun to pnpm. Tooling only — no source or runtime behavior changes.

Effect on the existing setup

  • Scripts now run through the toolchain directly instead of Bun: buildtsc, dev/evaltsx, startnode. tsx runs the TS entrypoints Bun used to execute natively.
  • Lockfile: bun.lock is replaced by pnpm-lock.yaml. A new pnpm-workspace.yaml allow-lists the esbuild and @sentry/cli post-install scripts that pnpm blocks by default.
  • Dev deps: @types/bun removed; tsx + @types/node added; packageManager pinned to pnpm@11.1.3.
  • esbuild (transitive via tsx/vitest) is pinned to >=0.28.1, clearing a high-severity advisory (GHSA-gv7w-rqvm-qjhr) that the lockfile-format switch surfaces.
  • Docs (README/CONTRIBUTING/CLAUDE.md) and the evals shebang updated to pnpm.

The dependency graph is otherwise unchanged from main.

Verification

pnpm build clean · pnpm test 53 pass · dependency-review + CodeQL green.

- package.json: tsc/tsx/node scripts (no more `bun run`), drop @types/bun,
  add tsx + @types/node, pin packageManager to pnpm@11.1.3
- Replace bun.lock with pnpm-lock.yaml; add pnpm-workspace.yaml to allow
  esbuild (tsx/vitest) and @sentry/cli post-install build scripts
- Override esbuild to >=0.28.1 to clear a high-severity advisory
  (GHSA-gv7w-rqvm-qjhr) that dependency-review flags once the lockfile
  switches format
- Update README, CONTRIBUTING, CLAUDE.md, and evals/run.ts shebang to pnpm

No source or direct-dependency changes — tooling only. Build + 53 tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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