move react types to a dev dependency and peer dependency

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
aramissennyeydd
2024-06-18 22:14:31 -04:00
parent 17ecea8223
commit dc9d3acc87
45 changed files with 331 additions and 90 deletions
+8 -2
View File
@@ -46,14 +46,20 @@
"@backstage/core-plugin-api": "workspace:^",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@rjsf/utils": "5.21.1",
"@types/react": "^16.13.1 || ^17.0.0"
"@rjsf/utils": "5.21.1"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
"@types/react": "^18.0.0",
"@types/react-grid-layout": "^1.3.2"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"peerDependencies": {
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"