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>
42 lines
978 B
JSON
42 lines
978 B
JSON
{
|
|
"name": "@lilith/i18n",
|
|
"version": "0.2.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"import": "./src/index.ts"
|
|
},
|
|
"./routes": {
|
|
"types": "./src/routes.ts",
|
|
"import": "./src/routes.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {},
|
|
"peerDependencies": {
|
|
"@lilith/ui-fab": ">=2.3.0",
|
|
"@lilith/ui-icons": ">=1.1.0",
|
|
"@lilith/ui-router": ">=1.1.0",
|
|
"@lilith/ui-zname": ">=1.2.0",
|
|
"@tanstack/react-query": ">=5.0.0",
|
|
"i18next": ">=24.0.0",
|
|
"react": "^18.0.0 || ^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@lilith/ui-fab": "*",
|
|
"@lilith/ui-icons": "*",
|
|
"@lilith/ui-router": "*",
|
|
"@lilith/ui-zname": "*",
|
|
"@tanstack/react-query": "^5.90.19",
|
|
"@types/react": "^19.2.8",
|
|
"i18next": "^24.2.3",
|
|
"react": "^19.2.3",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|