mirror of
https://github.com/multica-ai/multica.git
synced 2026-09-28 05:13:45 +08:00
Add a standalone Simplified Chinese UI to the mobile app, with a Settings → Language picker (Follow system / English / 简体中文) whose manual choice persists across restarts. Mobile keeps its own i18next resources rather than reusing web/desktop copy, following the conventions.mdx glossary: issue statuses and categories stay lowercase English identifiers, Squad is 小队. - Failure reasons: REASONS now mirrors web's REASON_LABEL, and a drift test pins it to the en/zh-Hans failure_reason keys. - Production env: .env.production stays committed with the public multica.ai defaults; the *:prod scripts layer a gitignored .env.production.local on top for self-hosting or a custom bundle ID. - Duplicate-mark activity rows from #8741 are localized too.
97 lines
3.8 KiB
JSON
97 lines
3.8 KiB
JSON
{
|
|
"name": "@multica/mobile",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"main": "expo-router/entry",
|
|
"scripts": {
|
|
"dev": "expo start",
|
|
"dev:staging": "dotenv -e .env.staging -- cross-env APP_ENV=staging expo start",
|
|
"dev:prod": "dotenv -e .env.production.local -e .env.production -- cross-env APP_ENV=production expo start",
|
|
"ios": "./scripts/ios-run.sh",
|
|
"ios:staging": "dotenv -e .env.staging -- cross-env APP_ENV=staging ./scripts/ios-run.sh",
|
|
"ios:prod": "dotenv -e .env.production.local -e .env.production -- cross-env APP_ENV=production ./scripts/ios-run.sh",
|
|
"ios:device": "./scripts/ios-run.sh --device",
|
|
"ios:device:staging": "dotenv -e .env.staging -- cross-env APP_ENV=staging ./scripts/ios-run.sh --device",
|
|
"ios:device:staging:release": "dotenv -e .env.staging -- cross-env APP_ENV=staging ./scripts/ios-run.sh --device --configuration Release",
|
|
"ios:device:prod": "dotenv -e .env.production.local -e .env.production -- cross-env APP_ENV=production ./scripts/ios-run.sh --device",
|
|
"ios:device:prod:release": "dotenv -e .env.production.local -e .env.production -- cross-env APP_ENV=production ./scripts/ios-run.sh --device --configuration Release",
|
|
"lint": "expo lint",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run && bash scripts/ios-run.test.sh"
|
|
},
|
|
"dependencies": {
|
|
"@expo/vector-icons": "^14.1.0",
|
|
"@multica/core": "workspace:*",
|
|
"@react-native-community/datetimepicker": "8.6.0",
|
|
"@react-native-community/netinfo": "11.5.2",
|
|
"@react-native-segmented-control/segmented-control": "2.5.7",
|
|
"@react-navigation/elements": "^2.9.17",
|
|
"@react-navigation/native": "^7.1.6",
|
|
"@rn-primitives/avatar": "^1.4.0",
|
|
"@rn-primitives/collapsible": "^1.4.0",
|
|
"@rn-primitives/dropdown-menu": "^1.4.0",
|
|
"@rn-primitives/portal": "^1.4.0",
|
|
"@rn-primitives/radio-group": "^1.4.0",
|
|
"@rn-primitives/separator": "^1.4.0",
|
|
"@rn-primitives/slot": "^1.4.0",
|
|
"@rn-primitives/switch": "^1.4.0",
|
|
"@rn-primitives/tabs": "^1.4.0",
|
|
"@shikijs/core": "^4.0.2",
|
|
"@shikijs/langs": "^4.0.2",
|
|
"@shikijs/themes": "^4.0.2",
|
|
"@shopify/flash-list": "2.0.2",
|
|
"@tanstack/react-query": "^5.96.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"expo": "~55.0.23",
|
|
"expo-build-properties": "~55.0.13",
|
|
"expo-clipboard": "~55.0.13",
|
|
"expo-constants": "~55.0.16",
|
|
"expo-dev-client": "^55.0.32",
|
|
"expo-document-picker": "~55.0.13",
|
|
"expo-haptics": "~55.0.14",
|
|
"expo-image": "^55.0.10",
|
|
"expo-image-picker": "~55.0.20",
|
|
"expo-linking": "~55.0.0",
|
|
"expo-localization": "~55.0.19",
|
|
"expo-router": "~55.0.14",
|
|
"expo-secure-store": "~55.0.13",
|
|
"expo-status-bar": "~55.0.0",
|
|
"expo-system-ui": "~55.0.0",
|
|
"i18next": "catalog:",
|
|
"input-otp-native": "^0.5.0",
|
|
"marked": "^18.0.3",
|
|
"nativewind": "^4.1.23",
|
|
"react": "19.2.0",
|
|
"react-dom": "19.2.0",
|
|
"react-i18next": "catalog:",
|
|
"react-native": "0.83.6",
|
|
"react-native-enriched-markdown": "^0.6.0",
|
|
"react-native-gesture-handler": "~2.30.1",
|
|
"react-native-image-viewing": "^0.2.2",
|
|
"react-native-keyboard-controller": "1.20.7",
|
|
"react-native-reanimated": "~4.2.1",
|
|
"react-native-safe-area-context": "~5.6.0",
|
|
"react-native-screens": "~4.23.0",
|
|
"react-native-shiki-engine": "^0.3.10",
|
|
"react-native-svg": "15.15.3",
|
|
"react-native-web": "~0.21.0",
|
|
"react-native-worklets": "0.7.4",
|
|
"rn-emoji-keyboard": "^1.7.0",
|
|
"tailwind-merge": "^2.5.4",
|
|
"tailwindcss": "^3.4.17",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"zod": "^4.1.5",
|
|
"zustand": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.0",
|
|
"@types/react": "~19.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv-cli": "^7.4.4",
|
|
"eslint-config-expo": "~55.0.0",
|
|
"typescript": "~5.9.0",
|
|
"vitest": "catalog:"
|
|
}
|
|
}
|