fix: pin react to 19.2.5 and @types/react to ~19.2.0

react-dom@19.2.5 (pulled by @expo/router-server) requires react@^19.2.5;
@react-native/virtualized-lists@0.85.2 requires @types/react@^19.2.0.
npm install now completes without errors or warnings.
This commit is contained in:
Davide Scaini
2026-04-24 11:24:16 +02:00
parent 18726699f1
commit 6e0b619ad3
+2 -2
View File
@@ -22,7 +22,7 @@
"expo-linking": "~55.0.0", "expo-linking": "~55.0.0",
"expo-splash-screen": "~55.0.0", "expo-splash-screen": "~55.0.0",
"expo-status-bar": "~55.0.0", "expo-status-bar": "~55.0.0",
"react": "19.2.3", "react": "19.2.5",
"react-native": "0.85.2", "react-native": "0.85.2",
"react-native-safe-area-context": "^5.0.0", "react-native-safe-area-context": "^5.0.0",
"react-native-screens": "^4.0.0", "react-native-screens": "^4.0.0",
@@ -31,7 +31,7 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.25.0", "@babel/core": "^7.25.0",
"@types/react": "~19.1.0", "@types/react": "~19.2.0",
"typescript": "~5.8.0" "typescript": "~5.8.0"
} }
} }