Skip to content

Commit

Permalink
feat(presets): Add replacement for rome to biome (#24243)
Browse files Browse the repository at this point in the history
Signed-off-by: Natsuki Ikeguchi <[email protected]>
Co-authored-by: Rhys Arkins <[email protected]>
Co-authored-by: HonkingGoose <[email protected]>
  • Loading branch information
3 people authored Sep 6, 2023
1 parent a9dc062 commit a966aea
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 @@ -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',
Expand Down Expand Up @@ -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`.',
Expand Down

0 comments on commit a966aea

Please sign in to comment.