mirror of
https://github.com/hanzoai/turborepo.git
synced 2026-10-30 19:44:51 +00:00
## 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
23 lines
458 B
JSON
23 lines
458 B
JSON
{
|
|
"name": "@repo/ui",
|
|
"version": "0.0.0",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"devDependencies": {
|
|
"@repo/typescript-config": "*",
|
|
"@types/minimatch": "^6.0.0",
|
|
"@types/react": "~19.2.10",
|
|
"tsup": "^8.0.1",
|
|
"typescript": "5.9.2"
|
|
},
|
|
"dependencies": {
|
|
"react": "19.2.0",
|
|
"react-native": "0.83.2"
|
|
}
|
|
}
|