Skip to content

Conversation

@osteele
Copy link
Owner

@osteele osteele commented Nov 7, 2025

Replace Yarn with Bun package manager

  • Update packageManager field in package.json to use Bun
  • Replace all yarn commands with bun equivalents in package scripts
  • Update GitHub Actions workflows to use setup-bun action
  • Remove Yarn configuration files (.yarnrc.yml, .yarn directory)
  • Remove yarn.lock (bun.lockb will be generated on next install)
  • Update VSCode settings and documentation references

- Update packageManager field in package.json to use Bun
- Replace all yarn commands with bun equivalents in package scripts
- Update GitHub Actions workflows to use setup-bun action
- Remove Yarn configuration files (.yarnrc.yml, .yarn directory)
- Remove yarn.lock (bun.lockb will be generated on next install)
- Update VSCode settings and documentation references
- Replace Yarn-specific .gitignore entries with Bun equivalents
- Remove Yarn .cjs and directory git-lfs entries from .gitattributes
- Keep git-lfs for docs/explore.gif (still needed)
- GitHub Actions already updated (yarn cache removed, git-lfs kept for gif)
The --frozen-lockfile flag requires an existing bun.lockb file,
which doesn't exist yet. Bun will generate it on first install.

Once bun.lockb is committed, we can add --frozen-lockfile back
to ensure deterministic installs in CI.
- Remove git-lfs checkout steps (only needed for Yarn .cjs files)
- Remove Node.js setup step (using Bun now)
- docs/explore.gif git-lfs tracking kept in .gitattributes but not needed for CI
Bun doesn't support the --filter flag. Changed to explicitly cd into
each workspace directory and run commands there instead.

Changed:
- bun run --filter '*' lint → cd p5-analysis && bun run lint && cd ../p5-server && bun run lint
- Same pattern for build, test, clean, and build:docs
@osteele osteele merged commit 491d95d into main Nov 8, 2025
1 check passed
@osteele osteele deleted the claude/update-thi-011CUso3Us6zVX3FVQnpXAUw branch November 8, 2025 07:31
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.

3 participants