Files
multica/apps/mobile/package.json
Naiyuan Qing ec1589f7b6 fix(deps): add eslint phantom dep detection + fix existing violations (MUL-2654) (#3249)
* fix(deps): add eslint phantom dep detection + fix existing violations (MUL-2654)

Introduce eslint-plugin-import-x/no-extraneous-dependencies rule to
prevent phantom deps from causing production build splits when pnpm
creates peer-dep variants. Fix all existing phantom deps across the
monorepo, unify catalog references, and enable desktop smoke CI on PRs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>

* revert(ci): remove desktop smoke PR trigger per user feedback

The existing smoke workflow only verifies packaging completes — it does
not actually start the app or check rendering. This means it wouldn't
have caught the white-screen bug (which was a runtime issue, not a build
failure). Adding it to PRs would slow CI without providing meaningful
protection. The ESLint no-extraneous-dependencies rule is the actual
prevention mechanism.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>

* fix(deps): sync pnpm-lock.yaml for rehype-sanitize dep classification

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>

* fix(ui): move rehype-sanitize to deps + declare eslint-config (MUL-2654)

- Move rehype-sanitize from devDependencies to dependencies (used in
  production Markdown.tsx)
- Add @multica/eslint-config to devDependencies (imported by
  eslint.config.mjs but previously undeclared)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-05-26 09:42:29 +08:00

92 lines
3.5 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 -- cross-env APP_ENV=production expo start",
"ios": "expo run:ios",
"ios:staging": "dotenv -e .env.staging -- cross-env APP_ENV=staging expo run:ios",
"ios:prod": "dotenv -e .env.production -- cross-env APP_ENV=production expo run:ios",
"ios:device": "expo run:ios --device",
"ios:device:staging": "dotenv -e .env.staging -- cross-env APP_ENV=staging expo run:ios --device",
"ios:device:staging:release": "dotenv -e .env.staging -- cross-env APP_ENV=staging expo run:ios --device --configuration Release",
"ios:device:prod": "dotenv -e .env.production -- cross-env APP_ENV=production expo run:ios --device",
"ios:device:prod:release": "dotenv -e .env.production -- cross-env APP_ENV=production expo run:ios --device --configuration Release",
"lint": "expo lint",
"typecheck": "tsc --noEmit"
},
"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-router": "~55.0.14",
"expo-secure-store": "~55.0.13",
"expo-status-bar": "~55.0.0",
"expo-system-ui": "~55.0.0",
"input-otp-native": "^0.5.0",
"marked": "^18.0.3",
"nativewind": "^4.1.23",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-native": "0.83.6",
"react-native-enriched-markdown": "^0.5.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"
}
}