Closed
Conversation
… bunx in /usr/local/bin for accessibility in child shells
…reamline bun installation process
…bc installation and adjusting bun ci command
Contributor
Author
|
note: bunx (or Bun in general) has some compatibility issues with Alpine Linux because Alpine uses musl libc instead of glibc, and Bun is built against glibc. So running Bun in a plain alpine image usually fails. |
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
* chore: update dependencies across multiple packages for improved stability and performance * chore: remove unused npx dependency and update agentkeepalive and ansi-regex versions in bun.lock and package.json * update bun.lock * chore: update dependencies for @chakra-ui and sherif in bun.lock and package.json * chore: update dependencies for @aws-sdk, @CASL, pg, and rollup across multiple package.json files * update turbo * patch lodash-es * upgrade next to 15.5.10 * upgrade aws SDK to fix fast-xml-parser high vulnerabilities * bump lodash
…; add bunfig.toml for installation configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
As part of learning month, im experimenting the use of
bunas a package manager to improve DX (faster install time) as well as faster CI (on average 1.5mins saved per action). This will also translate to better codebuild time (if cold build)Reference:
Solution
Breaking Changes
Features:
npmtobunas a package managerBenchmarking from root package (locally on my macbook)
*Setup stage on every CI action
*Codebuild (cold build without cache)
Note
This also opens up the possibility for us to use catalogs and minimumReleaseAge (better protection against supply chain attack)
before
After (WIP)
note: more in #1796
Note
Medium Risk
Broad tooling and build pipeline migration (CI + Docker + lockfile) plus large dependency bumps could introduce install/build regressions or runtime incompatibilities despite limited app-logic changes.
Overview
Switches the repo’s package manager from
npmtobunend-to-end: CI workflows, the shared GitHub Action setup, Chromatic builds, and docs now usebun/bunx, with caching and Dependabot updated to trackbun.lock.Updates local/dev environments to match (devcontainer installs Bun; Studio Docker build moves to
node:22-slimand installs Bun/Turbo; removesapps/studio/render.yaml). Studio scripts are adjusted forbunx,next.config.mjsaddsserverExternalPackages, andapps/studio/package.jsonrefreshes a large set of dependencies plus regenerates vendored assets (mockServiceWorker.js,preview-tw.css).Written by Cursor Bugbot for commit bba6385. This will update automatically on new commits. Configure here.