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
+10 -4
View File
@@ -53,7 +53,6 @@
"@material-ui/core": "^4.9.13",
"@material-ui/icons": "^4.11.3",
"@material-ui/lab": "^4.0.0-alpha.61",
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"cronstrue": "^2.32.0",
"js-yaml": "^4.1.0",
"kubernetes-models": "^4.3.1",
@@ -64,17 +63,24 @@
"xterm-addon-attach": "^0.9.0",
"xterm-addon-fit": "^0.8.0"
},
"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"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
"@backstage/core-app-api": "workspace:^",
"@backstage/test-utils": "workspace:^",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@types/react": "^18.0.0",
"jest-websocket-mock": "^2.5.0",
"msw": "^1.3.1"
},
"peerDependencies": {
"react": "^16.13.1 || ^17.0.0 || ^18.0.0"
},
"configSchema": "config.d.ts"
}