Skip to content

Commit

Permalink
[code-infra] Remove @mui/material-nextjs dependency (#15925)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasTy authored Dec 18, 2024
1 parent d13909a commit 2700d7e
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 41 deletions.
1 change: 0 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ 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: 0 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@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: 0 additions & 32 deletions pnpm-lock.yaml

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

1 change: 0 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
"@mui/joy",
"@mui/lab",
"@mui/material",
"@mui/material-nextjs",
"@mui/styles",
"@mui/system",
"@mui/types",
Expand Down
1 change: 0 additions & 1 deletion scripts/useMaterialUIv6.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const pnpmUpdate = childProcess.spawnSync(
'@mui/[email protected]',
'@mui/[email protected]',
'@mui/[email protected]',
'@mui/[email protected]',
'@mui/[email protected]',
'@mui/lab@latest',
],
Expand Down
7 changes: 6 additions & 1 deletion test/regressions/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ function sleep(timeoutMS: number | undefined) {
const isMaterialUIv6 = materialPackageJson.version.startsWith('6.');

// Tests that need a longer timeout.
const timeSensitiveSuites = ['ColumnAutosizingAsync', 'DensitySelectorGrid'];
const timeSensitiveSuites = [
'ColumnAutosizingAsync',
'DensitySelectorGrid',
'DataGridOverlays',
'PopularFeaturesDemo',
];

const isConsoleWarningIgnored = (msg?: string) => {
const isMuiV6Error =
Expand Down
4 changes: 0 additions & 4 deletions webpackBaseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ 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 2700d7e

Please sign in to comment.