Skip to content
Snippets Groups Projects
Unverified Commit 2cec5c06 authored by Gabriel-Ladzaretti's avatar Gabriel-Ladzaretti Committed by GitHub
Browse files

feat(preset): Replacement preset for Material-UI to MUI (#15774)

parent 56170df9
No related branches found
No related tags found
No related merge requests found
......@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment