Skip to content

chore: migrate to Biome and TypeScript 7, bump deps, modernize syntax - #9

Merged
v1rtl merged 4 commits into
masterfrom
chore/biome-ts7
Oct 26, 2026
Merged

v1rtl merged 4 commits into
masterfrom
chore/biome-ts7

Conversation

@v1rtl

@v1rtl v1rtl commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Replace ESLint with Biome 2 (recommended rules + import sorting; formatter matches existing style: single quotes, no semicolons, 2-space, 80 cols). Adds lint, format, typecheck scripts.
  • Bump all devDeps: TypeScript 5.2 → 7.0, c8 8 → 12, @types/node 20 → 26.
  • Drop tsup: pnpm build is now plain tsc -p tsconfig.build.json, emitting dist/index.js + dist/index.d.ts. The JS is no longer whitespace-minified.
  • tsconfig: NodeNext (old Node resolution is deprecated) and strict.
  • Source: import type, includes() instead of indexOf() !== -1, a Set for seen values, every() validation, template literals, slice, no assignment-in-condition, explicit return types. No behaviour change. Runtime output still needs only ES2016, so engines: >=12.20 holds.
  • Tests: replace uvu + tsm with the built-in node:test runner (node --test), running the .ts files directly via Node's native type stripping (Node ≥22.18). Also node:assert, plus 4 new tests for vary(), which had none. 31/31 pass, 100% coverage via c8.
  • CI: pnpm/setup@v3 installs pnpm and Node 24 in one step (and runs a frozen install with store caching), replacing actions/setup-node + pnpm/action-setup. checkout v7, coveralls v2. Lint and typecheck now run in CI.
  • pnpm 10 → 12.15 (packageManager), lockfile regenerated; pnpm/setup requires pnpm ≥11.

https://claude.ai/code/session_01Cr1XmtnqJWfHjhrXu3mnPa


Generated by Claude Code

@socket-security

socket-security Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​types/​node@​20.7.1 ⏵ 26.6.510010081 -195 -1100
Updatedc8@​8.0.1 ⏵ 12.0.099 +1100100 +183 +1100
Updatedtypescript@​5.2.2 ⏵ 7.0.29910089 -1100100 +10
Added@​biomejs/​biome@​2.6.310010010099100

View full report

@v1rtl
v1rtl merged commit b82a7b4 into master Oct 26, 2026
3 checks passed
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