Skip to content

refactor: use Bun, Biome.js, Lefthook; upgrade packages#151

Merged
dmythro merged 8 commits into
mainfrom
use-bun-biome
Oct 20, 2025
Merged

refactor: use Bun, Biome.js, Lefthook; upgrade packages#151
dmythro merged 8 commits into
mainfrom
use-bun-biome

Conversation

@dmythro
Copy link
Copy Markdown
Member

@dmythro dmythro commented Oct 20, 2025

  • use Bun 1.3
  • use Biome.js 2.2
  • use Lefthook

@dmythro dmythro requested review from Copilot and removed request for Copilot October 20, 2025 14:54
Copilot AI review requested due to automatic review settings October 20, 2025 15:29
Copy link
Copy Markdown

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 PR modernizes the development toolchain by migrating from npm to Bun 1.3 and replacing ESLint/Prettier with Biome.js 2.2, while upgrading package dependencies.

  • Migrated build tooling and test runner from Node.js to Bun 1.3
  • Replaced ESLint and Prettier with Biome.js 2.2 for unified linting/formatting
  • Replaced Husky/lint-staged with Lefthook for Git hooks
  • Updated package dependencies and reorganized turbo task definitions

Reviewed Changes

Copilot reviewed 43 out of 48 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
package.json Updated package manager to Bun, added workspace catalogs for version management, replaced dev dependencies with Biome and Lefthook
turbo.json Added root-level lint and check-types tasks, updated task dependencies to reference these new tasks
biome.json Added Biome.js configuration with formatting and linting rules
bunfig.toml Added Bun configuration for workspace management
lefthook.yml Added Lefthook configuration for pre-commit Biome checks
packages/test-node/* Migrated from Node.js test runner to Bun test, updated test syntax from assert to expect
packages/scripts/* Updated imports to use type keyword, replaced npm commands with bun
packages/countries/* Updated imports to use type keyword, changed JSON import assertions to with syntax
.github/workflows/js.yml Updated CI workflow from Node.js matrix to Bun 1.3
.prettierrc.json Removed Prettier configuration (replaced by Biome)
.eslintrc.json Removed ESLint configuration (replaced by Biome)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread packages/test-node/index.test.ts
Comment thread packages/test-node/index.test.ts Outdated
@dmythro dmythro changed the title refactor: use Bun, Biome.js; upgrade packages refactor: use Bun, Biome.js, Lefthook; upgrade packages Oct 20, 2025
@dmythro dmythro requested a review from Copilot October 20, 2025 15:47
Copy link
Copy Markdown

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

Copilot reviewed 43 out of 51 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@dmythro dmythro merged commit 4581965 into main Oct 20, 2025
2 checks passed
@dmythro dmythro deleted the use-bun-biome branch October 20, 2025 16:00
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