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>
This commit is contained in:
Ullrich Schäfer 2026-05-24 11:52:11 +02:00
parent afd7bf09f8
commit 532b22c5c0
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
5 changed files with 1389 additions and 600 deletions

View file

@ -6,7 +6,8 @@
"expo": {
"install": {
"exclude": [
"react"
"react",
"@sentry/react-native"
]
}
},
@ -40,31 +41,31 @@
"@trails-cool/map-core": "workspace:*",
"@trails-cool/sentry-config": "workspace:*",
"@trails-cool/types": "workspace:*",
"expo": "~55.0.24",
"expo": "~56.0.4",
"expo-constants": "~56.0.15",
"expo-crypto": "~55.0.15",
"expo-dev-client": "~55.0.34",
"expo-dev-menu": "^56.0.14",
"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": "~55.0.14",
"expo-location": "~55.1.10",
"expo-navigation-bar": "~55.0.13",
"expo-notifications": "~55.0.23",
"expo-router": "~55.0.14",
"expo-secure-store": "~55.0.14",
"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": "~55.0.6",
"expo-system-ui": "^55.0.18",
"expo-web-browser": "~55.0.16",
"expo-status-bar": "~56.0.4",
"expo-system-ui": "^56.0.5",
"expo-web-browser": "~56.0.5",
"react": "catalog:",
"react-native": "0.83.4",
"react-native": "0.85.3",
"react-native-gesture-handler": "^2.31.2",
"react-native-reanimated": "^4.3.1",
"react-native-safe-area-context": "~5.8.0",
"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"
},
@ -74,6 +75,6 @@
"@types/react": "~19.2.15",
"jest-expo": "^56.0.4",
"react-test-renderer": "^19.2.6",
"typescript": "~5.9.2"
"typescript": "~6.0.3"
}
}