mirror of
https://github.com/Lifeforge-app/lifeforge.git
synced 2026-06-29 07:15:48 +00:00
- Create new @lifeforge/localization package with client-i18n-config, I18nInitProvider, and useModuleTranslation hook - Rename ModuleHeaderStateProvider -> ModuleMetadataProvider and move to @lifeforge/federation - Move I18nInitProvider from apps/web to @lifeforge/localization with configurable init/fallbacks - Add module name to ModuleMetadataProvider context for scoped translations - Wire up @lifeforge/localization and @lifeforge/federation as dependencies in @lifeforge/ui - Update ModuleHeader to use useModuleTranslation for scoped i18n namespaces - Register @lifeforge/localization in shared-packages config - Update docs vite config with federation plugin
26 lines
533 B
JSON
26 lines
533 B
JSON
{
|
|
"name": "@lifeforge/localization",
|
|
"version": "0.0.1",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"type": "module",
|
|
"module": "dist/index.js",
|
|
"typings": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc"
|
|
},
|
|
"dependencies": {
|
|
"@lifeforge/federation": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^19.2.0",
|
|
"react-i18next": "^16.5.1",
|
|
"i18next": "^25.7.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.2.0",
|
|
"react-i18next": "^16.5.1",
|
|
"i18next": "^25.7.4"
|
|
}
|
|
}
|