Skip to content

chore(web): migrate website from npm to bun#281

Merged
NikolayS merged 1 commit into
mainfrom
chore/web-bun-migration
Jun 3, 2026
Merged

chore(web): migrate website from npm to bun#281
NikolayS merged 1 commit into
mainfrom
chore/web-bun-migration

Conversation

@NikolayS
Copy link
Copy Markdown
Owner

@NikolayS NikolayS commented Jun 3, 2026

Migrate the web/ Astro 5 + Starlight site from npm to Bun as package manager and runtime.

Changes

  • web/: generated bun.lock, removed package-lock.json. Dependencies and versions unchanged. bun run build produces the same static web/dist/ (landing page + docs).
  • .gitignore: bun.lock committed on purpose; ignore any stale web/package-lock.json.
  • CI: web-ci.yml and deploy-pages.yml now use oven-sh/setup-bun@v2 (pinned bun-version: 1.3.5) + bun install --frozen-lockfile + bun run build, replacing actions/setup-node + npm ci/npm run build. SQL/client-test jobs untouched.
  • web/README.md: dev/build/preview commands updated to bun run ....

sharp

sharp@0.33.5 installs and runs cleanly under Bun 1.3.5 — no workaround needed; Astro image optimization is unchanged.

Verification

cd web && bun install && bun run build succeeds:

[build] 10 page(s) built in 3.88s
[build] Complete!

web/dist/ contains index.html (landing page) plus docs/{tutorial,reference,installation,concepts,examples,monitoring,latency-and-tuning,index}. bun install --frozen-lockfile passes (no lockfile drift). Both workflow YAMLs validate.

🤖 Generated with Claude Code

Use Bun as package manager and runtime for the Astro + Starlight site.
Replace the npm lockfile with bun.lock, switch the website CI and Pages
deploy workflows to oven-sh/setup-bun + bun install --frozen-lockfile +
bun run build, and update web/README.md commands. sharp installs and
runs cleanly under Bun, so image optimization is unchanged. Dependencies
and versions are identical; build output to web/dist/ is the same.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@NikolayS NikolayS merged commit 55ddc1d into main Jun 3, 2026
15 checks passed
@NikolayS NikolayS deleted the chore/web-bun-migration branch June 3, 2026 02:13
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