- Add i18n framework with locale detection and cookie persistence - Support English, Traditional Chinese (zh-TW), Simplified Chinese (zh-CN), Japanese (ja), Korean (ko) - Add LanguageSelector component in navigation header - Create locale JSON files with full translations - Update all page components (root, user, results, history) with i18n support - Add client-side translation helpers for dynamic content - Auto-detect user's preferred language from browser settings - Bump version to v0.1.3
34 lines
1,010 B
JSON
34 lines
1,010 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": ["ESNext"],
|
|
"module": "ESNext",
|
|
"target": "ES2021",
|
|
"moduleResolution": "bundler",
|
|
"moduleDetection": "force",
|
|
// "allowImportingTsExtensions": true,
|
|
"outDir": "dist",
|
|
"noEmit": false,
|
|
"composite": true,
|
|
"strict": true,
|
|
"downlevelIteration": true,
|
|
"skipLibCheck": true,
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "@kitajs/html",
|
|
"allowSyntheticDefaultImports": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"allowJs": true,
|
|
// non bun init
|
|
"plugins": [{ "name": "@kitajs/ts-html-plugin" }],
|
|
"noUncheckedIndexedAccess": true,
|
|
// "noUnusedLocals": true,
|
|
// "noUnusedParameters": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true
|
|
// "noImplicitReturns": true
|
|
},
|
|
"include": ["src", "src/locales/*.json", "package.json"],
|
|
"exclude": ["dist", "node_modules"]
|
|
}
|