theme: make MUI v4 an optional peer dep

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-01-07 15:56:01 +01:00
committed by Philipp Hugenroth
parent c545211e91
commit d2d90b1d30
2 changed files with 18 additions and 2 deletions
+7 -1
View File
@@ -34,14 +34,20 @@
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@material-ui/core": "^4.12.2",
"@mui/material": "^5.11.2",
"@mui/styles": "^5.11.2"
},
"peerDependencies": {
"@material-ui/core": "^4.12.2",
"@types/react": "^16.13.1 || ^17.0.0",
"react": "^16.13.1 || ^17.0.0",
"react-dom": "^16.13.1 || ^17.0.0"
},
"peerDependenciesMeta": {
"@material-ui/core": {
"optional": true
}
},
"devDependencies": {
"@backstage/cli": "workspace:^",
"@types/react": "^16.13.1 || ^17.0.0"