You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modernize dependencies and tooling: bun + Biome + TS 6
- Replace ESLint + Prettier (and the 5 config/plugin deps) with Biome
for a single Rust-based lint+format tool. New `biome.json` mirrors
the previous prettier settings (line width 120, single quotes,
arrows without parens, trailing commas) and adds `recommended` lint
rules. Drops `.eslintrc.json` and `.prettierrc`.
- Bump TypeScript 4 -> 6, command-line-args 5 -> 6, @types/bun and
@types/command-line-args to latest. winston is already current.
- Rewrite tsconfig.json: drop the boilerplate of commented options,
switch target to ESNext, module to Preserve, moduleResolution to
bundler, types: ["bun"]. ts now just typechecks; bun runs the code.
- Add `typecheck`, `check`, `check:fix`, `format` npm scripts. README
documents them.
- CI runs `bun run check` and `bun run typecheck` in addition to
`bun test` on Ubuntu and Windows.
Biome's reformat picked up cleanup the previous setup missed: `node:`
prefixes for built-ins, `import type` for type-only imports, sorted
imports, `==`/`!=` -> `===`/`!==`, and `let header` -> `const header`.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments