chore: migrate from npm/node to bun across the stack#25
Merged
KailasMahavarkar merged 2 commits intomainfrom Apr 10, 2026
Merged
chore: migrate from npm/node to bun across the stack#25KailasMahavarkar merged 2 commits intomainfrom
KailasMahavarkar merged 2 commits intomainfrom
Conversation
- Dockerfile: oven/bun:alpine base image, bun install, bun src/index.ts entrypoint - bin/hyperstack.mjs: detect process.versions.bun and skip tsx loader when running under bun - package.json: test/start/dev scripts now use bun (bun test, bun src/index.ts, bun --watch) - bun.lock: migrated from package-lock.json - CI: replace actions/setup-node + npm with oven-sh/setup-bun + bun; matrix now uses bun-version - tests/workflow-behaviour.test.ts: update assertions to match bun-based CI matrix - install.md: Option B now uses bun instead of Node + tsx - README.md: from-source commands updated to bun Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Workflow file is checked out with CRLF on Windows runners. The strategy/matrix regex used \n which never matched after .* stopped at \r. Normalise to LF once before all assertions. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
KailasMahavarkar
added a commit
that referenced
this pull request
Apr 14, 2026
* chore: migrate from npm/node to bun across the stack - Dockerfile: oven/bun:alpine base image, bun install, bun src/index.ts entrypoint - bin/hyperstack.mjs: detect process.versions.bun and skip tsx loader when running under bun - package.json: test/start/dev scripts now use bun (bun test, bun src/index.ts, bun --watch) - bun.lock: migrated from package-lock.json - CI: replace actions/setup-node + npm with oven-sh/setup-bun + bun; matrix now uses bun-version - tests/workflow-behaviour.test.ts: update assertions to match bun-based CI matrix - install.md: Option B now uses bun instead of Node + tsx - README.md: from-source commands updated to bun Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(tests): normalise CRLF before regex matching on Windows CI Workflow file is checked out with CRLF on Windows runners. The strategy/matrix regex used \n which never matched after .* stopped at \r. Normalise to LF once before all assertions. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
Full migration from npm/node+tsx to bun.
oven/bun:alpinebase image,bun install --frozen-lockfile,bun src/index.tsentrypoint. No morenpx tsx.process.versions.bunat runtime. Under bun: spawnsbun src/index.tsdirectly. Under node: falls back to tsx loader (backwards compat for node users).test/start/devscripts use bun.bun testreplacestsx --test.package-lock.jsonviabun install.oven-sh/setup-bun@v2replacesactions/setup-node. Matrix is nowbun-version: [latest]across 3 OSes. No more Node 18/20/24 matrix.Test plan
bun test- 8/8 pass locally🤖 Generated with Claude Code