Skip to content

feat: Move to Bun monorepo #396

@ponderingdemocritus

Description

@ponderingdemocritus

Description

Currently, the repository uses multiple package managers, which makes it difficult to contribute and get up and running.
I propose migrating to a unified Bun-powered monorepo for faster installs, consistent tooling, and improved testing workflows.

Proposed Structure

apps/
docs/
examples/
full-examples/
packages/

Technical Plan
• Use Bun as the single package manager for all apps, examples, and packages.
• Introduce Changesets for versioning, publishing, and release management.
• Unify testing and build commands across the monorepo (bun run test, bun run build, etc.).
• Replace existing npm/yarn/pnpm lockfiles with a single bun.lockb.
• Ensure compatibility with existing CI pipelines.

Benefits
• ⚡ Speed — ultra-fast installs and builds with Bun.
• 🧩 Consistency — single dependency graph across all packages.
• 🧪 Simplified Testing — shared test runner and environment.
• 🔄 Streamlined Releases — managed via Changesets.
• 👥 Easier Contributions — no setup confusion or package mismatch.

Next Steps
• Add Bun and Changesets config.
• Migrate existing sub-projects into /apps, /examples, and /packages.
• Test end-to-end setup and adjust CI.
• Document new workflow in CONTRIBUTING.md.

  • I am willing to do this migration

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