Skip to content

Commit

Permalink
[code-infra] Refactor react and react-dom definitions to simplify…
Browse files Browse the repository at this point in the history
… dep resolving (#16160)
  • Loading branch information
cherniavskii committed Jan 16, 2025
1 parent 9d7e069 commit 3b5f354
Show file tree
Hide file tree
Showing 14 changed files with 3,700 additions and 3,174 deletions.
9 changes: 0 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,6 @@ commands:
# See https://stackoverflow.com/a/73411601
command: corepack enable --install-directory ~/bin

- when:
condition:
not:
equal: [stable, << parameters.react-version >>]
steps:
- run:
name: Change pnpm setting to not install peer dependencies
command: pnpm config set auto-install-peers false --location project

- run:
name: View install environment
command: |
Expand Down
2 changes: 2 additions & 0 deletions packages/x-charts-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
"@react-spring/shared": "^9.7.5",
"@types/prop-types": "^15.7.13",
"csstype": "^3.1.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
2 changes: 2 additions & 0 deletions packages/x-charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
"@react-spring/shared": "^9.7.5",
"@types/prop-types": "^15.7.13",
"csstype": "^3.1.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
2 changes: 2 additions & 0 deletions packages/x-data-grid-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
"@mui/icons-material": "^5.16.13",
"@mui/material": "^5.16.13",
"@types/chance": "^1.1.6",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1"
},
"peerDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/x-data-grid-premium/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
"@mui/system": "^5.16.13",
"@types/prop-types": "^15.7.13",
"date-fns": "^2.30.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
2 changes: 2 additions & 0 deletions packages/x-data-grid-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
"@mui/material": "^5.16.13",
"@mui/system": "^5.16.13",
"@types/prop-types": "^15.7.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
2 changes: 2 additions & 0 deletions packages/x-data-grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
"@mui/system": "^5.16.13",
"@mui/types": "^7.2.20",
"@types/prop-types": "^15.7.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
2 changes: 2 additions & 0 deletions packages/x-date-pickers-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
"dayjs": "^1.11.13",
"luxon": "^3.5.0",
"moment": "^2.30.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
2 changes: 2 additions & 0 deletions packages/x-date-pickers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@
"moment-hijri": "^3.0.0",
"moment-jalaali": "^0.10.1",
"moment-timezone": "^0.5.46",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
2 changes: 2 additions & 0 deletions packages/x-internals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
},
"devDependencies": {
"@mui/internal-test-utils": "^1.0.24",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
2 changes: 2 additions & 0 deletions packages/x-license/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
},
"devDependencies": {
"@mui/internal-test-utils": "^1.0.24",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
2 changes: 2 additions & 0 deletions packages/x-tree-view-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
"@mui/material": "^5.16.13",
"@mui/system": "^5.16.13",
"@types/prop-types": "^15.7.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
2 changes: 2 additions & 0 deletions packages/x-tree-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
"@mui/material": "^5.16.13",
"@mui/system": "^5.16.13",
"@types/prop-types": "^15.7.13",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
Loading

0 comments on commit 3b5f354

Please sign in to comment.