Skip to content

Commit

Permalink
Revert "[code-infra] Remove @mui/material-nextjs dependency (#15925)" (
Browse files Browse the repository at this point in the history
  • Loading branch information
JCQuintas authored Dec 19, 2024
1 parent 9a8aa05 commit 488e6bb
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const defaultAlias = {
'@mui/x-tree-view': resolveAliasPath('./packages/x-tree-view/src'),
'@mui/x-tree-view-pro': resolveAliasPath('./packages/x-tree-view-pro/src'),
'@mui/x-internals': resolveAliasPath('./packages/x-internals/src'),
'@mui/material-nextjs': '@mui/monorepo/packages/mui-material-nextjs/src',
'@mui-internal/api-docs-builder': resolveAliasPath(
'./node_modules/@mui/monorepo/packages/api-docs-builder',
),
Expand Down
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@mui/joy": "^5.0.0-beta.48",
"@mui/lab": "^5.0.0-alpha.173",
"@mui/material": "^5.16.11",
"@mui/material-nextjs": "^5.16.8",
"@mui/styles": "^5.16.11",
"@mui/system": "^5.16.8",
"@mui/utils": "^5.16.8",
Expand Down
32 changes: 32 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"@mui/joy",
"@mui/lab",
"@mui/material",
"@mui/material-nextjs",
"@mui/styles",
"@mui/system",
"@mui/types",
Expand Down
1 change: 1 addition & 0 deletions scripts/useMaterialUIv6.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const pnpmUpdate = childProcess.spawnSync(
'@mui/system@6.x',
'@mui/icons-material@6.x',
'@mui/utils@6.x',
'@mui/material-nextjs@6.x',
'@mui/styles@6.x',
'@mui/lab@latest',
],
Expand Down
4 changes: 4 additions & 0 deletions webpackBaseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ module.exports = {
'@mui/x-tree-view-pro': path.resolve(__dirname, './packages/x-tree-view-pro/src'),
'@mui/x-license': path.resolve(__dirname, './packages/x-license/src'),
'@mui/x-internals': path.resolve(__dirname, './packages/x-internals/src'),
'@mui/material-nextjs': path.resolve(
__dirname,
'./node_modules/@mui/monorepo/packages/mui-material-nextjs/src',
),
docs: path.resolve(__dirname, './node_modules/@mui/monorepo/docs'),
docsx: path.resolve(__dirname, './docs'),
},
Expand Down

0 comments on commit 488e6bb

Please sign in to comment.