Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the repo to rely on Bun (runtime + package manager) more consistently across local scripts, package scripts, documentation, and GitHub Actions, aligning with Issue #433.
Changes:
- Add Bun-based helper scripts for version bumping, dependency updates, and copying
index.d.tsin the renderer package. - Update root + renderer
package.jsonscripts/docs to preferbun run --cwd ...and Bun-driven workflows (including addingengines.bun). - Update CI/CD workflows to install Bun directly (and remove general Node setup where it’s no longer required).
Reviewed changes
Copilot reviewed 9 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/renderer/scripts/version.new.js |
Adds a Bun script to compute and apply a date-based version bump across root + renderer package.json. |
src/renderer/scripts/dependencies.update.js |
Adds a Bun script to run the existing dependency refresh flow for both root and renderer directories. |
src/renderer/scripts/copy.indexdts.js |
Replaces cp with a cross-platform Bun/Node-fs copy for index.d.ts into dist/. |
src/renderer/package.json |
Adds engines.bun, updates scripts to use the new Bun helpers, and bumps version/deps. |
src/renderer/bun.lock |
Lockfile updates corresponding to dependency bumps. |
src/renderer/BUILD.md |
Updates renderer build prerequisites/instructions to Bun-only. |
package.json |
Adds engines.bun, routes web scripts through renderer via --cwd, bumps version/deps. |
bun.lock |
Lockfile updates corresponding to dependency bumps. |
BUILD.md |
Updates root build prerequisites/instructions to Bun-first. |
.github/workflows/ci.yml |
Removes general Node setup and standardizes on Bun install (incl. Windows ARM handling). |
.github/workflows/cddev.yml |
Removes Node-based Bun install and uses oven-sh/setup-bun. |
.github/workflows/cd.yml |
Removes general Node setup from non-npm jobs; retains Node where npm publishing requires it. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Fixes #433