Files
Serj AgopianandGitHub ec926570b3 examples: Upgrade with-react-native-web example to use latest versions (#12085)
## Description

This PR upgrades the with-react-native-web example from Expo SDK 52 to
SDK 55, bringing it up to date with the latest stable releases.
#### Major Version Updates:
  - Expo: 52.0.49 → 55.0.4
  - React: 18.3.1 → 19.2.0
  - React DOM: 18.3.1 → 19.2.0
  - React Native: 0.76.9 → 0.83.2
  - React Native Web: 0.19.10/0.19.13 → 0.21.0
  - TypeScript: 5.5.4/5.8.3 → 5.9.2

#### Configuration Updates:
- Removed newArchEnabled from app.json (now enabled by default in SDK
55)
  - Removed implicit @babel/core dependency (managed by Expo)
  - Removed babel.config.js (only contained default preset)
- Removed disableHierarchicalLookup from Metro config (no longer
recommended)
- Added Turbopack configuration to Next.js config for react-native-web
aliasing

#### Build Fixes:
  - Added @types/minimatch to fix TypeScript declaration generation
  - Configured tsup with skipLibCheck to prevent type resolution issues
  - Updated TypeScript configs to prevent implicit type loading

#### Verification
- Ran npx-expo doctor
- Ran yarn install
- Ran yarn turbo build
- Ran yarn dev and launched the iOS and Web applications
2026-03-01 20:14:54 -07:00

40 lines
894 B
JSON

{
"name": "native",
"version": "1.0.0",
"private": true,
"main": "index.js",
"scripts": {
"dev": "expo start --web",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"@repo/ui": "*",
"expo": "^55.0.4",
"expo-constants": "~55.0.7",
"expo-linking": "~55.0.7",
"expo-router": "~55.0.3",
"expo-status-bar": "~55.0.4",
"expo-system-ui": "~55.0.9",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-native": "0.83.2",
"react-native-safe-area-context": "~5.6.2",
"react-native-screens": "~4.23.0",
"react-native-web": "^0.21.0"
},
"devDependencies": {
"@types/react": "~19.2.10",
"typescript": "5.9.2"
},
"expo": {
"doctor": {
"reactNativeDirectoryCheck": {
"listUnknownPackages": false
}
}
}
}