Skip to content

chore: switch to Bun fmt/check/build and update dependencies - #6

Merged
jkyberneees merged 1 commit into
mainfrom
chore/bun-tooling
Oct 24, 2026
Merged

jkyberneees merged 1 commit into
mainfrom
chore/bun-tooling

Conversation

@jkyberneees

Copy link
Copy Markdown
Contributor

Summary

  • Formatting: Rome → bun fmt (same style: 120 cols, no semicolons, single quotes, no trailing commas — configured in bunfig.toml)
  • Linting: bun check && bun fmt --check
  • Build: JS bundled by bun build (CJS, dist/index.js); tsc (TypeScript 7 native) is used only to emit .d.ts via tsconfig.build.json
  • Dependencies: all updated to latest — ioredis 6.0.0, @msgpack/msgpack 3.1.3, TypeScript 7.0.2, bun-types 1.4.4, msgpack-lite 0.2.2
  • ioredis 6 typings reject a numeric stop in zrange; stop indexes are now passed as strings (same command sent to Redis)
  • main/types now point to dist/index.js / dist/index.d.ts
  • Removed rome.json and package-lock.json; CI uses actions/checkout@v4 and setup-bun@v2

Test plan

  • bun run lint — no type errors, all files formatted
  • bun run test against Redis — 51 pass
  • bun run build and require('./dist') from Node

🤖 Generated with Claude Code

- Replace Rome with `bun fmt` (style preserved via bunfig.toml)
- Replace tsc JS emit with `bun build`; tsc now only emits declarations
- Type check with `bun check`; modernize tsconfig
- Update all dependencies to latest (ioredis 6, @msgpack/msgpack 3, TypeScript 7)
- Adapt zrange calls to ioredis 6 typings
- Drop rome.json and package-lock.json; bump CI actions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jkyberneees
jkyberneees merged commit e43f6f3 into main Oct 24, 2026
5 checks passed
@jkyberneees
jkyberneees deleted the chore/bun-tooling branch October 24, 2026 15:10
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