Skip to content

Commit

Permalink
Revert devDependencies to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Jan 9, 2025
1 parent 28ee5e2 commit 0d43384
Show file tree
Hide file tree
Showing 9 changed files with 174 additions and 28 deletions.
4 changes: 2 additions & 2 deletions examples/crm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"type": "module",
"dependencies": {
"@hello-pangea/dnd": "^16.3.0",
"@mui/icons-material": "^6.0.0",
"@mui/material": "^6.0.0",
"@mui/icons-material": "^5.16.12",
"@mui/material": "^5.16.12",
"@nivo/bar": "^0.80.0",
"@nivo/core": "^0.80.0",
"clsx": "^2.1.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/no-code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"serve": "vite preview"
},
"dependencies": {
"@mui/material": "^6.0.0",
"@mui/material": "^5.16.12",
"ra-data-local-storage": "^5.0.0",
"ra-no-code": "^5.0.0",
"react": "18.3.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"type-check": "tsc --noEmit"
},
"dependencies": {
"@mui/icons-material": "^6.0.0",
"@mui/material": "^6.0.0",
"@mui/icons-material": "^5.16.12",
"@mui/material": "^5.16.12",
"@tanstack/react-query": "^5.21.7",
"@tanstack/react-query-devtools": "^5.21.7",
"jsonexport": "^3.2.0",
Expand Down
2 changes: 2 additions & 0 deletions examples/tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"preview": "vite preview"
},
"dependencies": {
"@mui/icons-material": "^6.0.0",
"@mui/material": "^6.0.0",
"ra-data-json-server": "^5.0.0",
"react": "^19.0.0",
"react-admin": "^5.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/ra-input-rich-text/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@mui/icons-material": "^6.0.0",
"@mui/material": "^6.0.0",
"@mui/icons-material": "^5.16.12",
"@mui/material": "^5.16.12",
"@testing-library/react": "^15.0.7",
"@tiptap/extension-mention": "^2.0.3",
"@tiptap/suggestion": "^2.0.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/ra-ui-materialui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"watch": "tsc --outDir dist/esm --module es2015 --watch"
},
"devDependencies": {
"@mui/icons-material": "^6.0.0",
"@mui/material": "^6.0.0",
"@mui/utils": "^6.0.0",
"@mui/icons-material": "^5.16.12",
"@mui/material": "^5.16.12",
"@mui/utils": "^5.16.12",
"@testing-library/react": "^15.0.7",
"@types/dompurify": "^3.0.2",
"@types/react": "^18.3.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/ra-ui-materialui/src/layout/ThemeTestWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export const ThemeTestWrapper = ({
mode === 'dark' && query === '(prefers-color-scheme: dark)'
? true
: false,
addEventListener: () => {},
removeEventListener: () => {},
addListener: () => {},
removeListener: () => {},
});

return (
Expand Down
4 changes: 2 additions & 2 deletions packages/ra-ui-materialui/src/theme/useTheme.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ describe('useTheme', () => {
it('should return the user preferred theme by default', async () => {
const ssrMatchMedia = query => ({
matches: query === '(prefers-color-scheme: dark)' ? true : false,
addEventListener: () => {},
removeEventListener: () => {},
addListener: () => {},
removeListener: () => {},
});

render(
Expand Down
172 changes: 158 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2815,13 +2815,36 @@ __metadata:
languageName: node
linkType: hard

"@mui/core-downloads-tracker@npm:^5.16.14":
version: 5.16.14
resolution: "@mui/core-downloads-tracker@npm:5.16.14"
checksum: eb866003ee4564c40423aadc4513b4c7d72c69723fe7dee4697ac70c19951e6e11093bb190761dc51a8f4d2731e562034ecb284930eec931bae1a56b8e18ca60
languageName: node
linkType: hard

"@mui/core-downloads-tracker@npm:^6.3.1":
version: 6.3.1
resolution: "@mui/core-downloads-tracker@npm:6.3.1"
checksum: a996ad8db6bd8c981c4e2e2d243526c838dd29f0bbe7dc5ab6933be357e41f748781d322b1decf79ae1c9abba24190162559d84deedcb7c8824a68754dddf216
languageName: node
linkType: hard

"@mui/icons-material@npm:^5.16.12":
version: 5.16.14
resolution: "@mui/icons-material@npm:5.16.14"
dependencies:
"@babel/runtime": "npm:^7.23.9"
peerDependencies:
"@mui/material": ^5.0.0
"@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0
react: ^17.0.0 || ^18.0.0 || ^19.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 11632d1f9904fda0a751e442d3d948a83977cd9ba81481cda4e61b9dfdbd80b0616e27750728c066a4dc505035d7ad6aa29ff7c6160a9b52a2b313fc89aa4be3
languageName: node
linkType: hard

"@mui/icons-material@npm:^5.16.12 || ^6.0.0, @mui/icons-material@npm:^6.0.0":
version: 6.3.1
resolution: "@mui/icons-material@npm:6.3.1"
Expand All @@ -2838,6 +2861,39 @@ __metadata:
languageName: node
linkType: hard

"@mui/material@npm:^5.16.12":
version: 5.16.14
resolution: "@mui/material@npm:5.16.14"
dependencies:
"@babel/runtime": "npm:^7.23.9"
"@mui/core-downloads-tracker": "npm:^5.16.14"
"@mui/system": "npm:^5.16.14"
"@mui/types": "npm:^7.2.15"
"@mui/utils": "npm:^5.16.14"
"@popperjs/core": "npm:^2.11.8"
"@types/react-transition-group": "npm:^4.4.10"
clsx: "npm:^2.1.0"
csstype: "npm:^3.1.3"
prop-types: "npm:^15.8.1"
react-is: "npm:^19.0.0"
react-transition-group: "npm:^4.4.5"
peerDependencies:
"@emotion/react": ^11.5.0
"@emotion/styled": ^11.3.0
"@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0
react: ^17.0.0 || ^18.0.0 || ^19.0.0
react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0
peerDependenciesMeta:
"@emotion/react":
optional: true
"@emotion/styled":
optional: true
"@types/react":
optional: true
checksum: e313c1274f18a245f7128c9ccbd6444d6edb91a99fef7b6ec9ece4d2d19da0fec9a484afc24c0c35e9fcc53fb090dc524083d682c78428754a1c5b6cebb70a63
languageName: node
linkType: hard

"@mui/material@npm:^5.16.12 || ^6.0.0, @mui/material@npm:^6.0.0":
version: 6.3.1
resolution: "@mui/material@npm:6.3.1"
Expand Down Expand Up @@ -2874,6 +2930,23 @@ __metadata:
languageName: node
linkType: hard

"@mui/private-theming@npm:^5.16.14":
version: 5.16.14
resolution: "@mui/private-theming@npm:5.16.14"
dependencies:
"@babel/runtime": "npm:^7.23.9"
"@mui/utils": "npm:^5.16.14"
prop-types: "npm:^15.8.1"
peerDependencies:
"@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0
react: ^17.0.0 || ^18.0.0 || ^19.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 9723b63bd19000c096884f5a8900dc228afbe829d880d371865ae29387448cc669c10160bb55369210f3e903afb577ba832a39bc565427351bc27b42591c8099
languageName: node
linkType: hard

"@mui/private-theming@npm:^6.3.1":
version: 6.3.1
resolution: "@mui/private-theming@npm:6.3.1"
Expand All @@ -2891,6 +2964,27 @@ __metadata:
languageName: node
linkType: hard

"@mui/styled-engine@npm:^5.16.14":
version: 5.16.14
resolution: "@mui/styled-engine@npm:5.16.14"
dependencies:
"@babel/runtime": "npm:^7.23.9"
"@emotion/cache": "npm:^11.13.5"
csstype: "npm:^3.1.3"
prop-types: "npm:^15.8.1"
peerDependencies:
"@emotion/react": ^11.4.1
"@emotion/styled": ^11.3.0
react: ^17.0.0 || ^18.0.0 || ^19.0.0
peerDependenciesMeta:
"@emotion/react":
optional: true
"@emotion/styled":
optional: true
checksum: cd512faea4ad3ff5a9b315e136a518223ea3e4e34462fe70c56d1f166c46bee0a885ed982773d75c1d56ead62b95989cc5907601e8d65bfa75494b3f3288c2ad
languageName: node
linkType: hard

"@mui/styled-engine@npm:^6.3.1":
version: 6.3.1
resolution: "@mui/styled-engine@npm:6.3.1"
Expand All @@ -2914,6 +3008,34 @@ __metadata:
languageName: node
linkType: hard

"@mui/system@npm:^5.16.14":
version: 5.16.14
resolution: "@mui/system@npm:5.16.14"
dependencies:
"@babel/runtime": "npm:^7.23.9"
"@mui/private-theming": "npm:^5.16.14"
"@mui/styled-engine": "npm:^5.16.14"
"@mui/types": "npm:^7.2.15"
"@mui/utils": "npm:^5.16.14"
clsx: "npm:^2.1.0"
csstype: "npm:^3.1.3"
prop-types: "npm:^15.8.1"
peerDependencies:
"@emotion/react": ^11.5.0
"@emotion/styled": ^11.3.0
"@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0
react: ^17.0.0 || ^18.0.0 || ^19.0.0
peerDependenciesMeta:
"@emotion/react":
optional: true
"@emotion/styled":
optional: true
"@types/react":
optional: true
checksum: d7ab8dfd9fbecbde4423a0d432e63f45cd8c96bb4e48116f9f9b46cb001c2e32df3a1f09727f8b30c1bc182774cc33e338b1475287a2985dba795ee5486fc4cb
languageName: node
linkType: hard

"@mui/system@npm:^6.3.1":
version: 6.3.1
resolution: "@mui/system@npm:6.3.1"
Expand Down Expand Up @@ -2942,7 +3064,7 @@ __metadata:
languageName: node
linkType: hard

"@mui/types@npm:^7.2.21":
"@mui/types@npm:^7.2.15, @mui/types@npm:^7.2.21":
version: 7.2.21
resolution: "@mui/types@npm:7.2.21"
peerDependencies:
Expand All @@ -2954,7 +3076,27 @@ __metadata:
languageName: node
linkType: hard

"@mui/utils@npm:^6.0.0, @mui/utils@npm:^6.3.1":
"@mui/utils@npm:^5.16.12, @mui/utils@npm:^5.16.14":
version: 5.16.14
resolution: "@mui/utils@npm:5.16.14"
dependencies:
"@babel/runtime": "npm:^7.23.9"
"@mui/types": "npm:^7.2.15"
"@types/prop-types": "npm:^15.7.12"
clsx: "npm:^2.1.1"
prop-types: "npm:^15.8.1"
react-is: "npm:^19.0.0"
peerDependencies:
"@types/react": ^17.0.0 || ^18.0.0 || ^19.0.0
react: ^17.0.0 || ^18.0.0 || ^19.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 5148dedb8597a76df193df4c3b4ff4bb3c19d99f3b69df8b9d6c9905c5cc5eb750a71429aea7e52a03ad8b858c7ec48d04e5670ecf4e39b8c3a6a84f1a83721a
languageName: node
linkType: hard

"@mui/utils@npm:^6.3.1":
version: 6.3.1
resolution: "@mui/utils@npm:6.3.1"
dependencies:
Expand Down Expand Up @@ -4997,7 +5139,7 @@ __metadata:
languageName: node
linkType: hard

"@types/prop-types@npm:*, @types/prop-types@npm:^15.7.14":
"@types/prop-types@npm:*, @types/prop-types@npm:^15.7.12, @types/prop-types@npm:^15.7.14":
version: 15.7.14
resolution: "@types/prop-types@npm:15.7.14"
checksum: 1ec775160bfab90b67a782d735952158c7e702ca4502968aa82565bd8e452c2de8601c8dfe349733073c31179116cf7340710160d3836aa8a1ef76d1532893b1
Expand Down Expand Up @@ -7126,7 +7268,7 @@ __metadata:
languageName: node
linkType: hard

"clsx@npm:^2.1.1":
"clsx@npm:^2.1.0, clsx@npm:^2.1.1":
version: 2.1.1
resolution: "clsx@npm:2.1.1"
checksum: c4c8eb865f8c82baab07e71bfa8897c73454881c4f99d6bc81585aecd7c441746c1399d08363dc096c550cceaf97bd4ce1e8854e1771e9998d9f94c4fe075839
Expand Down Expand Up @@ -13978,7 +14120,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "no-code@workspace:examples/no-code"
dependencies:
"@mui/material": "npm:^6.0.0"
"@mui/material": "npm:^5.16.12"
"@vitejs/plugin-react": "npm:^4.2.1"
ra-data-local-storage: "npm:^5.0.0"
ra-no-code: "npm:^5.0.0"
Expand Down Expand Up @@ -15940,8 +16082,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "ra-input-rich-text@workspace:packages/ra-input-rich-text"
dependencies:
"@mui/icons-material": "npm:^6.0.0"
"@mui/material": "npm:^6.0.0"
"@mui/icons-material": "npm:^5.16.12"
"@mui/material": "npm:^5.16.12"
"@testing-library/react": "npm:^15.0.7"
"@tiptap/core": "npm:^2.0.3"
"@tiptap/extension-color": "npm:^2.0.3"
Expand Down Expand Up @@ -16032,9 +16174,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "ra-ui-materialui@workspace:packages/ra-ui-materialui"
dependencies:
"@mui/icons-material": "npm:^6.0.0"
"@mui/material": "npm:^6.0.0"
"@mui/utils": "npm:^6.0.0"
"@mui/icons-material": "npm:^5.16.12"
"@mui/material": "npm:^5.16.12"
"@mui/utils": "npm:^5.16.12"
"@tanstack/react-query": "npm:^5.21.7"
"@testing-library/react": "npm:^15.0.7"
"@types/dompurify": "npm:^3.0.2"
Expand Down Expand Up @@ -16131,8 +16273,8 @@ __metadata:
resolution: "react-admin-crm@workspace:examples/crm"
dependencies:
"@hello-pangea/dnd": "npm:^16.3.0"
"@mui/icons-material": "npm:^6.0.0"
"@mui/material": "npm:^6.0.0"
"@mui/icons-material": "npm:^5.16.12"
"@mui/material": "npm:^5.16.12"
"@nivo/bar": "npm:^0.80.0"
"@nivo/core": "npm:^0.80.0"
"@testing-library/jest-dom": "npm:^6.4.5"
Expand Down Expand Up @@ -17520,8 +17662,8 @@ __metadata:
resolution: "simple@workspace:examples/simple"
dependencies:
"@hookform/devtools": "npm:^4.0.2"
"@mui/icons-material": "npm:^6.0.0"
"@mui/material": "npm:^6.0.0"
"@mui/icons-material": "npm:^5.16.12"
"@mui/material": "npm:^5.16.12"
"@tanstack/react-query": "npm:^5.21.7"
"@tanstack/react-query-devtools": "npm:^5.21.7"
"@vitejs/plugin-react": "npm:^4.2.1"
Expand Down Expand Up @@ -18627,6 +18769,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "tutorial@workspace:examples/tutorial"
dependencies:
"@mui/icons-material": "npm:^6.0.0"
"@mui/material": "npm:^6.0.0"
"@types/react": "npm:^18.3.3"
"@types/react-dom": "npm:^18.3.0"
"@vitejs/plugin-react": "npm:^4.2.1"
Expand Down

0 comments on commit 0d43384

Please sign in to comment.