Skip to content

feat: i18n (en/id), bun-native redis, dep updates & tooling#35

Merged
zulfikar-ditya merged 6 commits into
aolus-software:mainfrom
zulfikar-ditya:main
May 13, 2026
Merged

feat: i18n (en/id), bun-native redis, dep updates & tooling#35
zulfikar-ditya merged 6 commits into
aolus-software:mainfrom
zulfikar-ditya:main

Conversation

@zulfikar-ditya

@zulfikar-ditya zulfikar-ditya commented May 13, 2026

Copy link
Copy Markdown
Member

Summary

Bundles today's work from the fork:

  • feat: i18n with en/id locales + Accept-Language detection (ec1cad4) — new src/libs/i18n/ module (loader, locale store, validation, key generator), Indonesian translations of auth mail templates, LocalePlugin, and locale-aware error handling.
  • refactor: swap ioredis for the Bun-native Redis client (744ebca) — src/libs/database/redis/ and src/libs/cache/cache.ts now use bun:redis; queue/worker connections updated to match.
  • chore: bump all dependencies to latest (4b935f3) — refreshed package.json + bun.lock.
  • chore: add Claude Code project tooling, drop completed TODO (e3712ab) — .claude/rules/* and .agents/skills/* for IDE assistant context; removes TODO.md.
  • chore: prettier formatting for Indonesian mail templates (66814fe).

Test plan

  • bun install
  • bun run typecheck
  • bun run lint
  • bun run dev and hit an endpoint with Accept-Language: id — error/response messages should resolve to Indonesian; default (en) still works.
  • Verify Redis-backed flows (auth cache, BullMQ mail queue) still function with the Bun-native client.
  • Trigger an auth mail (verification / forgot-password) with id locale — Indonesian template renders.

🤖 Generated with Claude Code

zulfikar-ditya and others added 5 commits May 13, 2026 20:41
Land CLAUDE.md, .claude/ rules + commands, and .agents/ skill bundle so future
Claude Code sessions inherit the project's conventions; exclude those dirs from
lint/format/typecheck so the skill examples don't churn the hook; silence the
node10 moduleResolution deprecation surfaced by the latest TypeScript bump;
ignore generated opencode.json/skills-lock.json; remove TODO.md whose items
are already implemented.
Move Cache and the shared Redis client to Bun's built-in RedisClient.
BullMQ keeps working by receiving plain connection options instead of an
ioredis instance, so ioredis is no longer a direct dependency. Switch the
build target to bun so the bundle can resolve the bun builtin.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Localizes route response messages, custom errors, TypeBox validation
output, and mailer templates so responses honour the request's
Accept-Language header (default en). Translations live in JSON with a
generated TranslationKey union to enforce locale completeness at compile
time.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@vercel

vercel Bot commented May 13, 2026

Copy link
Copy Markdown

@zulfikar-ditya is attempting to deploy a commit to the zulfikarditya's projects Team on Vercel.

A member of the Team first needs to authorize it.

@zulfikar-ditya zulfikar-ditya merged commit 6f849ec into aolus-software:main May 13, 2026
4 of 5 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