Skip to content

UI: Migrate off of yarn to bun for the UC UI #1731

Closed

Description

@newfront

This feature isn't so much a problem as an opportunity. Bun is a swiss-army knife for UI (https://bun.sh/), and is replacing yarn in a lot of js/ts/node environments.

I have really enjoyed using bun across a few projects this year, and this is an opportunity to upgrade our toolchain.

Describe the solution you would like
Simply put. I'd love to see bun install && bun run start as the "getting started with the UI".

Why Bun
It is like uv but for the javascript ecosystem (node/js/typescript) and builds incredibly fast. The toolchain provides a lot of opportunity for hooks/scripts and other quality of life improvements. Bun is also it's own native runtime.

Activity

  1. added
    enhancement
    on Jul 29, 2026
  2. openinx commented on Jul 29, 2026

    @openinx
    Collaborator

    Hi @newfront , thanks for the contribution ! do you know what's the pros and cons after migrate from yarn to the bun? I remembered bun is the project that fully re-written to Rust via AI, which was a big news before.

  3. newfront commented on Jul 29, 2026

    @newfront
    CollaboratorAuthor

    The biggest change is in terms of dependency graph for the builds. The old yarn.lock was over 10k lines, bun.lock is ~3k. The rust based builds are incredibly fast - this is like uv for python.

  4. added a commit that references this issue on Aug 24, 2026
  5. newfront commented on Sep 4, 2026

    @newfront
    CollaboratorAuthor

    This has been merged in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions