Skip to content

Commit

Permalink
feat(preset): add @renovate/pep440 replacement (#13493)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Jan 11, 2022
1 parent cc016ac commit d984ea8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/config/presets/internal/replacements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const presets: Record<string, Preset> = {
'replacements:jade-to-pug',
'replacements:joi-to-scoped',
'replacements:joi-to-unscoped',
'replacements:renovate-pep440-to-renovatebot-pep440',
'replacements:rollup-node-resolve-to-scoped',
],
},
Expand Down Expand Up @@ -84,6 +85,18 @@ export const presets: Record<string, Preset> = {
},
],
},
'renovate-pep440-to-renovatebot-pep440': {
description:
'the @renovate/pep440 package was renamed to @renovatebot/pep440',
packageRules: [
{
matchDatasources: ['npm'],
matchPackageNames: ['@renovate/pep440'],
replacementName: '@renovatebot/pep440',
replacementVersion: '1.0.0',
},
],
},
'rollup-node-resolve-to-scoped': {
description: 'the node-resolve plugin for rollup became scoped',
packageRules: [
Expand Down

0 comments on commit d984ea8

Please sign in to comment.