chore: fix Ultracite and TypeScript diagnostics
MY
5d ago+1267+1267+0123456789012345678901234567890123456789-717-717-012345678901234567890123456789
What changed
- Update lint and test tooling dependencies, and run the suite with Vitest.
- Fix the reported Ultracite and TypeScript issues across source, scripts, and tests.
- Add a patch changeset covering the tooling updates and fixes.
- Include the editor and hook configuration changes already present in the local worktree.
Verification
bun run checkbun run typecheckbun run test(51 tests passed)
Summary by cubic
Migrates the test suite from bun:test to Vitest and fixes the reported Ultracite and TypeScript diagnostics across source, scripts, and tests.
- The
testscript now builds the package before running Vitest, which resolves the@alias throughvitest.config.ts. - Updates lint and tooling dependencies (
ultracite,oxlint,lefthook,effect,@types/bun) and extends oxlint with Vitest, jsdoc, and tsdoc plugins. - Adds a regression test for
consumeResetCreditrejecting positional string arguments. - Configures editor TypeScript paths and formatter defaults in
.vscodeand.zed.