diff --git a/lib/config/presets/internal/replacements.ts b/lib/config/presets/internal/replacements.ts index 572451d8201425058520a742da2ad2e0b784cf90..ae2d0f90478f64033f233d93f14f4880e57553dd 100644 --- a/lib/config/presets/internal/replacements.ts +++ b/lib/config/presets/internal/replacements.ts @@ -11,6 +11,7 @@ export const presets: Record<string, Preset> = { 'replacements:jade-to-pug', 'replacements:joi-to-scoped', 'replacements:joi-to-unscoped', + 'replacements:material-ui-to-mui', 'replacements:renovate-pep440-to-renovatebot-pep440', 'replacements:rollup-node-resolve-to-scoped', 'replacements:xmldom-to-scoped', @@ -86,6 +87,18 @@ export const presets: Record<string, Preset> = { }, ], }, + 'material-ui-to-mui': { + description: 'the @material-ui/core monorepo was renamed to @mui/material', + packageRules: [ + { + matchCurrentVersion: '>=4.0.0 <5.0.0', + matchDatasources: ['npm'], + matchPackageNames: ['@material-ui/core'], + replacementName: '@mui/material', + replacementVersion: '5.0.0', + }, + ], + }, 'redux-devtools-extension-to-scope': { description: 'the redux-devtools-extension package was renamed to @redux-devtools/extension',