Skip to content

Proposal: Migrate package manager to Bun for faster development workflow #39

@Toby1009

Description

@Toby1009

🚀 Proposal

I suggest migrating our package manager from npm to Bun.

🤔 Motivation

Speed: Bun is significantly faster than npm/yarn/pnpm for installing dependencies, which would improve CI times and local setup speed.
Efficiency: Running scripts (like bun run docs:dev) is generally faster and more responsive.
Modernization: Adopting modern tooling aligns with the "Web3/Bleeding edge" spirit of the internship handbook.

🛠️ Changes Required

Remove package-lock.json.
Generate bun.lockb (Bun's binary lockfile).
Update CONTRIBUTING.md to guide new contributors to use bun install and bun run docs:dev.
(Optional) Update CI workflows (GitHub Actions) to use oven-sh/setup-bun.

❓ Questions for Discussion

Does this negatively impact Windows users? (Bun support on Windows is now stable, but worth verifying).
Is everyone comfortable with bun.lockb being a binary file?

🧪 Test Plan

Verified that bun run docs:dev and bun run docs:build work correctly with the current VuePress setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions