From d0c6dd3b910d36e02752c1c54d64ebf668c0560c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dudak?= Date: Thu, 14 Sep 2023 10:58:32 +0200 Subject: [PATCH 1/2] [core] Remove react from styled-engine dependencies (#38971) --- packages/mui-styled-engine-sc/package.json | 4 ++-- packages/mui-styled-engine/package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/mui-styled-engine-sc/package.json b/packages/mui-styled-engine-sc/package.json index 1d10c512a7576e..5ec8ef5bb9cd52 100644 --- a/packages/mui-styled-engine-sc/package.json +++ b/packages/mui-styled-engine-sc/package.json @@ -40,8 +40,7 @@ "dependencies": { "@babel/runtime": "^7.22.15", "csstype": "^3.1.2", - "prop-types": "^15.8.1", - "react": "^18.2.0" + "prop-types": "^15.8.1" }, "devDependencies": { "@types/chai": "^4.3.5", @@ -49,6 +48,7 @@ "@types/styled-components": "^5.1.26", "chai": "^4.3.7", "styled-components": "^5.3.1", + "react": "^18.2.0", "test": "^5.0.0" }, "peerDependencies": { diff --git a/packages/mui-styled-engine/package.json b/packages/mui-styled-engine/package.json index 6740ae0a9da1fd..cfac31770e8482 100644 --- a/packages/mui-styled-engine/package.json +++ b/packages/mui-styled-engine/package.json @@ -41,8 +41,7 @@ "@babel/runtime": "^7.22.15", "@emotion/cache": "^11.11.0", "csstype": "^3.1.2", - "prop-types": "^15.8.1", - "react": "^18.2.0" + "prop-types": "^15.8.1" }, "devDependencies": { "@emotion/react": "^11.11.1", @@ -50,6 +49,7 @@ "@types/chai": "^4.3.5", "@types/react": "^18.2.21", "chai": "^4.3.7", + "react": "^18.2.0", "test": "^5.0.0" }, "peerDependencies": { From 41bdcb74ce1b19542ab92ff8b24fe864c1d665a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dudak?= Date: Thu, 14 Sep 2023 10:58:53 +0200 Subject: [PATCH 2/2] [core] Remove react-dom from @mui/utils peerDependencies (#38974) --- packages/mui-utils/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/mui-utils/package.json b/packages/mui-utils/package.json index 1fc7be71bdbc1a..d872f7f1712b9a 100644 --- a/packages/mui-utils/package.json +++ b/packages/mui-utils/package.json @@ -65,8 +65,7 @@ }, "peerDependencies": { "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^17.0.0 || ^18.0.0" }, "peerDependenciesMeta": { "@types/react": {