diff --git a/lib/config/presets/internal/replacements.ts b/lib/config/presets/internal/replacements.ts index a610b49b788fe5c9e641c63b4509c09db6b87d47..fb59322d3723a2847b16b6be3783af6c2671827a 100644 --- a/lib/config/presets/internal/replacements.ts +++ b/lib/config/presets/internal/replacements.ts @@ -1,33 +1,34 @@ import type { Preset } from '../types'; +/* eslint sort-keys: ["error", "asc", {"caseSensitive": false, "natural": true}] */ export const presets: Record<string, Preset> = { all: { description: 'All replacements', extends: [ - 'replacements:jade-to-pug', 'replacements:cucumber-to-scoped', + 'replacements:jade-to-pug', 'replacements:rollup-node-resolve-to-scoped', ], }, - 'jade-to-pug': { - description: 'Jade was renamed to Pug', + 'cucumber-to-scoped': { + description: 'cucumber became scoped', packageRules: [ { matchDatasources: ['npm'], - matchPackageNames: ['jade'], - replacementName: 'pug', - replacementVersion: '2.0.0', + matchPackageNames: ['cucumber'], + replacementName: '@cucumber/cucumber', + replacementVersion: '7.0.0', }, ], }, - 'cucumber-to-scoped': { - description: 'cucumber became scoped', + 'jade-to-pug': { + description: 'Jade was renamed to Pug', packageRules: [ { matchDatasources: ['npm'], - matchPackageNames: ['cucumber'], - replacementName: '@cucumber/cucumber', - replacementVersion: '7.0.0', + matchPackageNames: ['jade'], + replacementName: 'pug', + replacementVersion: '2.0.0', }, ], },