trails/apps/mobile/package.json
Ullrich Schäfer 532b22c5c0
Complete Expo SDK 56 upgrade
- Upgrade expo, expo-router, expo-dev-client, expo-crypto, expo-localization,
  expo-location, expo-navigation-bar, expo-notifications, expo-secure-store,
  expo-status-bar, expo-system-ui, expo-web-browser to SDK 56 versions
- Upgrade react-native 0.83.4 → 0.85.3
- Upgrade TypeScript 5.9 → 6.0.3 (required by SDK 56)
- Add react-native-worklets (required peer dep for react-native-reanimated)
- Remove expo-dev-menu as a direct dependency (transitive, managed by Expo)
- Move splash config from top-level ExpoConfig to expo-splash-screen plugin
  (ExpoConfig.splash was removed in SDK 56 types)
- Add expo-localization and expo-splash-screen to plugins array
- Fix metro.config.js watchFolders to merge with Expo defaults instead of
  overwriting them (fixes expo-doctor Metro config check)
- Add types: ["jest"] to tsconfig.json (required for jest globals in TS 6)
- Exclude @sentry/react-native from Expo version validation (bundledNativeModules
  has a stale entry; Sentry 8.x officially supports Expo 51+ and RN 0.73+)

expo-doctor: 18/18 checks passed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 11:52:11 +02:00

80 lines
2.5 KiB
JSON

{
"name": "@trails-cool/mobile",
"version": "0.0.1",
"private": true,
"main": "index.ts",
"expo": {
"install": {
"exclude": [
"react",
"@sentry/react-native"
]
}
},
"scripts": {
"start": "expo start --dev-client",
"prebuild": "expo prebuild",
"prebuild:clean": "expo prebuild --clean",
"ios": "expo run:ios",
"android": "expo run:android",
"typecheck": "tsc --noEmit",
"test": "jest",
"lint": "eslint .",
"eas:dev": "npx eas-cli build:dev --platform ios",
"eas:preview": "npx eas-cli build --profile preview --platform all"
},
"jest": {
"preset": "jest-expo",
"transformIgnorePatterns": [
"node_modules/(?!(.pnpm/)?((jest-)?react-native|@react-native(-community)?|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@trails-cool/.*))"
]
},
"dependencies": {
"@expo/metro-runtime": "^56.0.12",
"@gorhom/bottom-sheet": "^5.2.14",
"@maplibre/maplibre-react-native": "^11.2.1",
"@sentry/cli": "^3.4.3",
"@sentry/react-native": "~8.12.0",
"@trails-cool/api": "workspace:*",
"@trails-cool/gpx": "workspace:*",
"@trails-cool/i18n": "workspace:*",
"@trails-cool/map-core": "workspace:*",
"@trails-cool/sentry-config": "workspace:*",
"@trails-cool/types": "workspace:*",
"expo": "~56.0.4",
"expo-constants": "~56.0.15",
"expo-crypto": "~56.0.3",
"expo-dev-client": "~56.0.15",
"expo-device": "~56.0.4",
"expo-file-system": "~56.0.7",
"expo-linking": "~56.0.11",
"expo-localization": "~56.0.6",
"expo-location": "~56.0.13",
"expo-navigation-bar": "~56.0.3",
"expo-notifications": "~56.0.13",
"expo-router": "~56.2.6",
"expo-secure-store": "~56.0.4",
"expo-splash-screen": "~56.0.10",
"expo-sqlite": "~56.0.4",
"expo-status-bar": "~56.0.4",
"expo-system-ui": "^56.0.5",
"expo-web-browser": "~56.0.5",
"react": "catalog:",
"react-native": "0.85.3",
"react-native-gesture-handler": "^2.31.2",
"react-native-reanimated": "^4.3.1",
"react-native-safe-area-context": "~5.7.0",
"react-native-screens": "~4.25.2",
"react-native-worklets": "0.8.3",
"use-latest-callback": "^0.3.4",
"zod": "^4.4.3"
},
"devDependencies": {
"@testing-library/react-native": "^13.3.3",
"@types/jest": "^29.5.14",
"@types/react": "~19.2.15",
"jest-expo": "^56.0.4",
"react-test-renderer": "^19.2.6",
"typescript": "~6.0.3"
}
}