feat(preset): add @renovate/pep440 replacement (#13493)

This commit is contained in:
Michael Kriese 2022-01-11 15:55:08 +01:00 committed by GitHub
parent cc016ac14c
commit d984ea8bc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,7 @@ export const presets: Record<string, Preset> = {
'replacements:jade-to-pug', 'replacements:jade-to-pug',
'replacements:joi-to-scoped', 'replacements:joi-to-scoped',
'replacements:joi-to-unscoped', 'replacements:joi-to-unscoped',
'replacements:renovate-pep440-to-renovatebot-pep440',
'replacements:rollup-node-resolve-to-scoped', 'replacements:rollup-node-resolve-to-scoped',
], ],
}, },
@ -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': { 'rollup-node-resolve-to-scoped': {
description: 'the node-resolve plugin for rollup became scoped', description: 'the node-resolve plugin for rollup became scoped',
packageRules: [ packageRules: [