Skip to content

Commit

Permalink
feat(presets): Add replacements:xmldom-to-scoped (#15588)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Kriese <[email protected]>
  • Loading branch information
karfau and viceice authored May 17, 2022
1 parent 4ef5aa2 commit 8d7e309
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/config/presets/internal/replacements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const presets: Record<string, Preset> = {
'replacements:joi-to-unscoped',
'replacements:renovate-pep440-to-renovatebot-pep440',
'replacements:rollup-node-resolve-to-scoped',
'replacements:xmldom-to-scoped',
],
},
'babel-eslint-to-eslint-parser': {
Expand Down Expand Up @@ -120,4 +121,15 @@ export const presets: Record<string, Preset> = {
},
],
},
'xmldom-to-scoped': {
description: 'the xmldom package is now published as @xmldom/xmldom',
packageRules: [
{
matchDatasources: ['npm'],
matchPackageNames: ['xmldom', 'xmldom-alpha'],
replacementName: '@xmldom/xmldom',
replacementVersion: '0.7.5',
},
],
},
};

0 comments on commit 8d7e309

Please sign in to comment.