platform-codebase/features/i18n/react/package.json
Lilith cdbf92a34a build: migrate from pnpm to Bun, unify vite build configuration
## Package Manager Migration (pnpm → Bun)
- Replace pnpm with Bun as package manager across all features
- Add bun.lock, bunfig.toml, .npmrc for registry configuration
- Remove pnpm-lock.yaml
- Update all package.json scripts to use Bun

## Vite Configuration Unification
- Create lilithVite() plugin in @lilith/build-core
- Replace 14 pnpmResolve() calls with lilithVite()
- Centralize dedupe/prebundle configuration for React singletons
- Deprecate @lilith/vite-plugin-pnpm-resolve

## Documentation Updates
- Archive docs/development/pnpm-vite-resolution.md to history
- Update DEVELOPMENT_METHODOLOGY.md with bun commands
- Update WORKSPACE-DEPS-QUICK-REF.md with bun commands
- Update workspace-dependency-publishing.md with bun commands
- Update IMPORT_ALIASES.md with bun commands

## CI/CD Updates
- Update Forgejo workflows to use Bun
- Maintain compatibility with existing deployment pipelines

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 22:47:00 -08:00

100 lines
2.5 KiB
JSON
Executable file

{
"name": "@lilith/i18n",
"version": "1.0.0",
"description": "API-driven internationalization system for lilith-platform",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./server": {
"types": "./dist/server.d.ts",
"import": "./dist/server.js"
},
"./truth-validation": {
"types": "./dist/truth-validation.d.ts",
"import": "./dist/truth-validation.js"
},
"./styles.css": "./dist/index.css",
"./locales/*": "../locales/*"
},
"files": [
"dist",
"locales"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"clean": "rm -rf dist"
},
"dependencies": {
"@lilith/service-registry": "^1.3.0",
"@lilith/truth-client": "*",
"@lilith/ui-zname": "^1.2.0",
"i18next": "^23.16.8",
"i18next-browser-languagedetector": "^8.2.0",
"i18next-http-backend": "^2.7.3",
"react-i18next": "^15.7.4"
},
"peerDependencies": {
"@lilith/ui-fab": ">=2.3.0",
"@lilith/ui-router": ">=1.1.0",
"@tanstack/react-query": ">=5.0.0",
"framer-motion": ">=11.0.0",
"lucide-react": ">=0.400.0",
"react": ">=18.0.0",
"react-router-dom": ">=6.0.0 || ^7.0.0",
"styled-components": ">=6.0.0"
},
"peerDependenciesMeta": {
"framer-motion": {
"optional": true
},
"lucide-react": {
"optional": true
}
},
"devDependencies": {
"@lilith/vite-plugin-dependency-startup": "^1.1.1",
"@tanstack/react-query": "^5.90.19",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.1",
"@types/node": "^20.19.30",
"@types/react": "^19.2.8",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^4.7.0",
"framer-motion": "^11.18.2",
"jsdom": "^24.1.3",
"lucide-react": "^0.400.0",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"react-router-dom": "^7.12.0",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.0.17"
},
"author": {
"name": "QuinnFTW",
"email": "TransQuinnFTW@pm.me"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/transquinnftw/lilith-platform.git",
"directory": "codebase/features/i18n/react"
},
"keywords": [
"i18n",
"internationalization",
"translations",
"react",
"api-driven"
]
}