diff --git a/lib/config/presets/internal/replacements.ts b/lib/config/presets/internal/replacements.ts index dab63fee76fbe91f6ca1c528ea7e1b7bc7531f07..e0a3b084d6e53720a1ad30d413401bee2defdec4 100644 --- a/lib/config/presets/internal/replacements.ts +++ b/lib/config/presets/internal/replacements.ts @@ -29,6 +29,7 @@ export const presets: Record<string, Preset> = { 'replacements:renovate-pep440-to-renovatebot-pep440', 'replacements:rollup-babel-to-scoped', 'replacements:rollup-node-resolve-to-scoped', + 'replacements:rome-to-biome', 'replacements:vso-task-lib-to-azure-pipelines-task-lib', 'replacements:vsts-task-lib-to-azure-pipelines-task-lib', 'replacements:xmldom-to-scoped', @@ -689,6 +690,18 @@ export const presets: Record<string, Preset> = { }, ], }, + 'rome-to-biome': { + description: + 'The Rome repository is archived, and Biome is the community replacement. Read [the Biome announcement](https://biomejs.dev/blog/annoucing-biome/) for migration instructions.', + packageRules: [ + { + matchDatasources: ['npm'], + matchPackageNames: ['rome'], + replacementName: '@biomejs/biome', + replacementVersion: '1.0.0', + }, + ], + }, 'spectre-cli-to-spectre-console-cli': { description: 'The `Spectre.Cli` package was renamed to `Spectre.Console.Cli`.',