mirror of
https://github.com/expo/dev-plugins.git
synced 2026-11-13 20:28:06 -10:00
The example app asked for @types/react ~19.1.10 while every package asked for ~19.0.10. Bun installed two copies and the example typecheck failed with "Type 'React.ReactNode' is not assignable to type ReactNode". Pin @types/react through the root resolutions, next to the existing react and react-dom pins, and refresh the lockfile. Co-Authored-By: Claude Fable 5.1 <[email protected]>
31 lines
711 B
JSON
31 lines
711 B
JSON
{
|
|
"name": "@dev-plugins/monorepo",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"lint:apps": "bun run --filter './apps/**' lint",
|
|
"typecheck:apps": "bun run --filter './apps/**' typecheck",
|
|
"postinstall": "./scripts/prepare-packages.js"
|
|
},
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*",
|
|
"packages/*/webui"
|
|
],
|
|
"resolutions": {
|
|
"@types/react": "~19.1.10",
|
|
"expo": "54.0.13",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0",
|
|
"react-native": "0.81.4",
|
|
"react-native-web": "0.21.0"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@expo/spawn-async": "^1.7.2",
|
|
"@tsconfig/node20": "^20.1.4",
|
|
"prettier": "^3.3.3",
|
|
"typescript": "^5.9.2"
|
|
}
|
|
}
|