Skip to content

Migrate package management to Bun - #30

Merged
aagra109 merged 1 commit into
mainfrom
migrate-to-bun
May 14, 2026
Merged

Migrate package management to Bun#30
aagra109 merged 1 commit into
mainfrom
migrate-to-bun

Conversation

@aagra109

@aagra109 aagra109 commented May 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace npm lockfile with Bun lockfile
  • update package metadata and scripts for Bun
  • update PR checks workflow to use oven-sh/setup-bun and bun ci
  • update README dev command to Bun

Verification

  • bun ci
  • bun run check
  • bun run build

Summary by CodeRabbit

Release Notes

  • Documentation

    • Updated development setup guide to reflect the new development environment configuration.
  • Chores

    • Designated Bun (v1.3.14) as the official package manager for the project.
    • Transitioned the continuous integration pipeline to use the new package manager for installing dependencies and executing build and validation commands.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 14, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3bcefaa6-39cc-44cd-871c-ab49cba17031

📥 Commits

Reviewing files that changed from the base of the PR and between 86e3676 and a4cd8dd.

⛔ Files ignored due to path filters (2)
  • bun.lock is excluded by !**/*.lock
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (3)
  • .github/workflows/pr-checks.yml
  • README.md
  • package.json
💤 Files with no reviewable changes (1)
  • README.md

📝 Walkthrough

Walkthrough

The PR migrates project tooling from npm/Node to Bun. package.json declares Bun 1.3.14 as the package manager and updates the check script to directly invoke prettier and eslint. The GitHub Actions workflow replaces Node setup with Bun setup and updates CI commands to use Bun.

Changes

Bun Package Manager Migration

Layer / File(s) Summary
Package manager declaration and scripts
package.json
packageManager field is set to Bun 1.3.14, and the check script is rewritten to execute prettier --check . and eslint . directly instead of chaining npm subscripts.
CI workflow Bun setup
.github/workflows/pr-checks.yml
GitHub Actions workflow replaces Node.js setup with Bun 1.3.14 setup and updates all script invocations from npm commands to equivalent Bun commands (bun ci, bun run check, bun run build).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

🐰 A faster hop to Bun we go,
No more npm's lumbering flow,
Package scripts run lean and fleet,
CI pipes now skip and beat,
Scripts direct, not chained in chains—
Swift Bun now powers all domains! 🚀

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Migrate package management to Bun' directly and clearly summarizes the main change—switching the project's package manager from npm to Bun across all configuration files and workflows.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch migrate-to-bun

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@aagra109
aagra109 merged commit 1185afa into main May 14, 2026
3 checks passed
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