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
+12 -3
View File
@@ -37,8 +37,7 @@
"@backstage/core-plugin-api": "workspace:^",
"@backstage/integration": "workspace:^",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@types/react": "^16.13.1 || ^17.0.0"
"@material-ui/icons": "^4.9.1"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
@@ -47,11 +46,21 @@
"@backstage/test-utils": "workspace:^",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.0.0",
"msw": "^1.0.0"
"@types/react": "^18.0.0",
"msw": "^1.0.0",
"react": "^18.0.2",
"react-dom": "^18.0.2",
"react-router-dom": "^6.3.0"
},
"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"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
}