Merge pull request #26844 from aramissennyeydd/react-types-peer-dependencies

move react types to a dev dependency and peer dependency
This commit is contained in:
Fredrik Adelöw
2024-10-01 11:02:49 +02:00
committed by GitHub
58 changed files with 1295 additions and 145 deletions
+14 -3
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",
@@ -70,11 +69,23 @@
"@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"
"msw": "^1.3.1",
"react": "^18.0.2",
"react-dom": "^18.0.2",
"react-router-dom": "^6.3.0"
},
"peerDependencies": {
"react": "^16.13.1 || ^17.0.0 || ^18.0.0"
"@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"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"configSchema": "config.d.ts"
}