Skip to content

chore: migrate tooling to Vite+ and pnpm - #8

Merged
b2m9 merged 8 commits into
mainfrom
chore/migrate-vite-plus-pnpm
Jul 31, 2026
Merged

chore: migrate tooling to Vite+ and pnpm#8
b2m9 merged 8 commits into
mainfrom
chore/migrate-vite-plus-pnpm

Conversation

@b2m9

@b2m9 b2m9 commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • migrate the repository from npm and standalone tooling to Vite+ and pnpm
  • pin the Vite+ setup action and avoid duplicate workflow installs
  • simplify the pnpm workspace configuration and enforce a seven-day minimum release age
  • update Vite+ to 0.2.6 and align release and contributor guidance

Validation

  • vp install --frozen-lockfile
  • vp run check (formatting, lint, typecheck, 90 tests, build, publint, and attw)

Prepared with Codex.


Summary by cubic

Migrate the repo to vite-plus tooling and pnpm to simplify builds, speed CI, and unify checks. CI now uses a pinned Vite+ setup and avoids duplicate installs.

  • Refactors

    • Switch to vite-plus (vp) and pnpm; replace package-lock.json with pnpm-lock.yaml and add a workspace with a 7‑day minimum release age.
    • Add vite.config.ts and tsconfig.test.json; remove vitest.config.ts and tsconfig.build.json; tests now import from vite-plus/test.
    • Update package.json: ESM export ./dist/index.mjs, types ./dist/index.d.mts, and scripts rewritten to vp commands.
    • CI uses voidzero-dev/setup-vp, runs vp install --frozen-lockfile and vp run check, and avoids duplicate workflow installs.
    • Docs aligned for new commands; removed .oxfmtrc.json.
  • Migration

    • Install and validate with: vp install --frozen-lockfile then vp run check; iterate with vp test run (or vp test).
    • Use Node >=22 and pnpm v11+ (repo pins pnpm@11.7.0).
    • No runtime or API changes; package remains ESM-only.

Written for commit 4d8ba0f. Summary will update on new commits.

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 19 files

Re-trigger cubic

@b2m9
b2m9 merged commit 57f2fb7 into main Jul 31, 2026
3 checks passed
@b2m9
b2m9 deleted the chore/migrate-vite-plus-pnpm branch July 31, 2026 12:42
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