Skip to content

Commit

Permalink
feat!: migrate to MUI v6
Browse files Browse the repository at this point in the history
  • Loading branch information
pionxzh committed Sep 15, 2024
1 parent e72bbfb commit 5ed7245
Show file tree
Hide file tree
Showing 6 changed files with 1,663 additions and 2,616 deletions.
73 changes: 56 additions & 17 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,19 +1,58 @@
# sync with https://github.com/mui/material-ui/blob/v5.12.1/.browserslistrc#L12-L27
and_chr 91
and_ff 89
and_qq 10.4
and_uc 12.12
# > I recommend removing android from the list because from polyfill side it is very close to and_chr or chrome
# https://github.com/browserslist/browserslist/issues/753
# android 91
baidu 7.12
chrome 90
edge 91
firefox 78
# 12.4 but 12.2-12.5 are treated equally in caniuse-lite.
# Though caniuse-lite does not supporting finding an exact version in a range which is why `12.4` would result in "Unknown version 12.4 of ios_saf"
ios_saf 12.2
# sync with https://github.com/mui/material-ui/blob/v6.1.0/.browserslistrc#L17-L73
and_chr 122
and_chr 121
and_ff 123
and_ff 122
and_qq 14.9
and_uc 15.5
# android 122
# android 121
chrome 122
chrome 121
chrome 120
chrome 119
chrome 109
edge 122
edge 121
firefox 123
firefox 122
firefox 115
ios_saf 17.4
ios_saf 17.3
ios_saf 17.2
ios_saf 17.1
ios_saf 17.0
ios_saf 16.6-16.7
ios_saf 16.5
ios_saf 16.4
ios_saf 16.3
ios_saf 16.2
ios_saf 16.1
ios_saf 16.0
ios_saf 15.6-15.8
ios_saf 15.5
ios_saf 15.4
kaios 3.0-3.1
kaios 2.5
op_mini all
# 76 -> 73 as caniuse database doesn't have 76 :/
op_mob 73
op_mob 80
opera 108
opera 107
opera 106
safari 17.4
safari 17.3
safari 17.2
safari 17.1
safari 17.0
safari 16.6
safari 16.5
safari 16.4
safari 16.3
safari 16.2
safari 16.1
safari 16.0
safari 15.6
safari 15.5
safari 15.4
samsung 23
samsung 22
2 changes: 1 addition & 1 deletion .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": ["@commitlint/config-angular"],
"extends": ["@commitlint/config-conventional"],
"rules": {
"scope-case": [2, "always", "lower-case"],
"type-enum": [
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"@textea/json-viewer": "workspace:^",
"gray-matter": "^4.0.3",
"next": "^13.5.6",
"nextra": "^2.13.4",
"nextra-theme-docs": "^2.13.4",
"nextra": "2.13.3",
"nextra-theme-docs": "2.13.3",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-angular": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@mui/material": "^5.16.7",
"@mui/material": "^6.1.0",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
Expand Down
Loading

0 comments on commit 5ed7245

Please sign in to comment.