Files
dev-plugins/package.json
Vojtech NovakandClaude Fable 5.1 9c094555e4 fix(example): pin @types/react to one version so typecheck passes
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]>
2026-09-21 11:40:25 +02:00

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"
}
}