Repository navigation
build: migrate from Bun to Node and pnpm - #45
Merged
Merged
Conversation
Bun was only the package manager and CI runner; the SDK already builds with tsup and tests with vitest on Node. Switching to pnpm aligns it with the rest of the toolchain and adds pnpm's supply-chain protections. prettier is held at ~3.6.2, the version the Bun lockfile resolved, so formatting is unchanged. The built dist/ is byte-identical to main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
shan8851
marked this pull request as ready for review
October 29, 2026 13:54
shan8851
requested review from
taylanpince
and removed request for
taylanpince
October 29, 2026 13:54
py-zoid
approved these changes
Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bun was only used as the package manager and CI runner. The SDK already builds with tsup and tests with vitest on Node, so this swaps the toolchain to Node + pnpm, matching how the rest of our TypeScript repos are set up.
Changes
bun.lock→pnpm-lock.yaml,packageManager: pnpm@10.30.3,.nvmrc(24)pnpm-workspace.yamlwith pnpm supply-chain protections (blockExoticSubdeps,minimumReleaseAge,trustPolicy: no-downgrade). Two dev-only transitive packages published without provenance are excluded from the trust check:undici-types@6.21.0(via@types/node) andchokidar@4.0.3(viatsup).test.yml,release.yml):setup-bun→pnpm/action-setup+actions/setup-node(SHA-pinned),bun run→pnpm run. The npm OIDC publish steps inrelease.ymlare unchanged.prettierheld at~3.6.2, the version the Bun lockfile resolved; newer prettier reformats union types.Verification (Node 24)
dist/is byte-identical to a Bun build ofmain, andnpm pack --dry-runlists the same 8 files🤖 Generated with Claude Code