lilith-platform.live/codebase/@packages/i18n
Natalie 91f5b9c110 fix(i18n): declare i18next dep and add 'escort' to UserType
Two clean-checkout typecheck failures in @lilith/i18n that also propagated to
consumers (landing, provider-website):
- src/types.ts imported types from 'i18next' without declaring it — added
  i18next to peer+devDependencies (^24.2.3, already in bun.lock) so tsc
  resolves it on a fresh install.
- UserType union was missing 'escort' while 8 Record<UserType,...> literals in
  landing supply an escort entry (TS2353). Added 'escort' and the matching
  USER_TYPE_COLORS entry in hooks.ts (full Record literal that would otherwise
  go missing the key). Private workspace pkg — no publish.

Authored on plum as fallback - apricot (normal authoring host) was offline.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 05:53:02 -05:00
..
src
package.json
tsconfig.json