Skip to content

Back to Bun#931

Merged
martpie merged 1 commit intomasterfrom
backbun
Mar 4, 2026
Merged

Back to Bun#931
martpie merged 1 commit intomasterfrom
backbun

Conversation

@martpie
Copy link
Owner

@martpie martpie commented Feb 26, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 26, 2026 23:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request migrates the project's JavaScript runtime from npm/Node.js to Bun, while also including improvements to the TrackList component's layout structure.

Changes:

  • Migrates build commands, documentation, and CI workflows from npm to Bun
  • Enhances the Scrollable component to support optional custom className prop
  • Restructures TrackListDefault component with improved flexbox layout for better scrolling behavior

Reviewed changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/translations/languages.ts Updated comment to reference bun run instead of npm run
src/elements/Scrollable.tsx Added optional className prop for style extensibility
src/components/TrackListDefault.tsx Restructured with wrapper div and updated to use Scrollable's className prop
src/components/TrackListDefault.module.css Added flex layout styles for root container and scroll area
src-tauri/tauri.conf.json Updated build commands to use bun run and added schema reference
src-tauri/src/plugins/file_associations.rs Updated test command comment to use bun run
package.json Updated pre-commit hook to use Bun and added simple-git-hooks to trustedDependencies
README.md Updated setup and development instructions to use Bun instead of Node.js/npm
.github/workflows/build.yml Updated qa job to use Bun for setup and dependency installation
Comments suppressed due to low confidence (2)

.github/workflows/build.yml:40

  • For consistency with the migration to Bun, consider replacing npx with bunx here. Bun provides bunx as the equivalent of npx for running packages. This would align with the rest of the PR's goal of migrating from npm to Bun.
        run: npx playwright install chromium --with-deps

.github/workflows/build.yml:117

  • The binaries job at line 92-94 still uses Node.js (actions/setup-node@v4) instead of Bun. For consistency with the migration to Bun, that section should also be updated to use oven-sh/setup-bun@v2. Currently, the qa job uses Bun while the binaries job uses Node.js, which creates an inconsistency in the build pipeline.
        run: bun ci

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@martpie martpie force-pushed the backbun branch 3 times, most recently from 2b952b0 to 3103e1f Compare March 2, 2026 22:56
@martpie martpie merged commit 0174b88 into master Mar 4, 2026
6 checks passed
@martpie martpie deleted the backbun branch March 4, 2026 22:54
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.

2 participants