Skip to content

chore: Migrate to vite-plus#2

Merged
roll merged 10 commits intomainfrom
migrate-to-vite-plus
Mar 16, 2026
Merged

chore: Migrate to vite-plus#2
roll merged 10 commits intomainfrom
migrate-to-vite-plus

Conversation

@roll
Copy link
Copy Markdown
Member

@roll roll commented Mar 16, 2026

Summary by CodeRabbit

  • Chores
    • Transitioned project tooling from Biome to vp (vite-plus) for code formatting, linting, and testing operations.
    • Enhanced configuration management with explicit module exclusions and refined formatting and linting rule preferences.
    • Upgraded test infrastructure to new testing framework for improved code quality, reliability, and maintainability.
    • Refreshed development dependencies to support the updated toolchain.

@roll roll changed the title chore: Migrate to vite plus chore: Migrate to vite-plus Mar 16, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 16, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
uptask 1ac78da Mar 16 2026, 12:20 PM

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 16, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 73f274b5-85cd-474d-bf95-71a67ed44669

📥 Commits

Reviewing files that changed from the base of the PR and between 70c5abe and 1ac78da.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (11)
  • biome.jsonc
  • package.json
  • terminal/actions/command/create.unit.ts
  • terminal/actions/config/define.unit.ts
  • terminal/actions/config/load.ts
  • terminal/actions/config/load.unit.ts
  • terminal/actions/function/parse.unit.ts
  • terminal/actions/module/search.unit.ts
  • terminal/actions/program/create.unit.ts
  • vite.config.ts
  • website/wrangler.jsonc

📝 Walkthrough

Walkthrough

The project transitions from Biome to vite-plus for code formatting, linting, and testing. The biome.jsonc configuration file is removed, package.json scripts are updated to use vp commands, test imports across the terminal/actions directory are switched from vitest to vite-plus/test, and vite.config.ts is restructured with new fmt and lint configuration sections.

Changes

Cohort / File(s) Summary
Tooling & Dependency Migration
biome.jsonc, package.json, vite.config.ts
Deleted biome configuration; updated npm scripts to use vp fmt, vp lint, and vp test; replaced @biomejs/biome and vitest dependencies with vite-plus (0.1.12); added fmt and lint config sections to vite.config.ts with formatting preferences and linting options; removed legacy environment file loading logic; tightened test exclusions.
Test Import Updates
terminal/actions/command/create.unit.ts, terminal/actions/config/define.unit.ts, terminal/actions/config/load.unit.ts, terminal/actions/function/parse.unit.ts, terminal/actions/module/search.unit.ts, terminal/actions/program/create.unit.ts
Updated test imports from vitest to vite-plus/test across six unit test files with no changes to test logic or behavior.
Minor Formatting & Adjustments
terminal/actions/config/load.ts, website/wrangler.jsonc
Refactored error handling condition to multiline format in load.ts (semantics unchanged); added trailing commas to wrangler.jsonc configuration.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Poem

🐰 A hop and a skip, from Biome so neat,
To vite-plus we bound, with tools light and fleet,
Test imports rewired, configurations refined,
A toolchain refreshed, a new path to find!
With fmt and lint in their rightful place,
Our burrow runs faster—a productive space! 🚀

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch migrate-to-vite-plus
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can disable poems in the walkthrough.

Disable the reviews.poem setting to disable the poems in the walkthrough.

@roll roll merged commit 76b80d0 into main Mar 16, 2026
4 of 5 checks passed
@roll roll deleted the migrate-to-vite-plus branch March 16, 2026 12:23
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.

1 participant