From 577e522ff2393a1db0b416db908d14422bf8e6b5 Mon Sep 17 00:00:00 2001 From: wwuck <301402+wwuck@users.noreply.github.com> Date: Tue, 16 Jan 2024 13:43:28 +1100 Subject: [PATCH 1/2] feat: rename semantic-release-replace-plugin to unscoped semantic-release-replace-plugin was moved out of the google organization --- lib/config/presets/internal/replacements.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/config/presets/internal/replacements.ts b/lib/config/presets/internal/replacements.ts index 85a073ecd5da64..308144aa7f73dc 100644 --- a/lib/config/presets/internal/replacements.ts +++ b/lib/config/presets/internal/replacements.ts @@ -751,6 +751,17 @@ export const presets: Record = { }, ], }, + 'semantic-release-replace-plugin-to-unscoped': { + description: '`semantic-release-replace-plugin` was moved out of the `google` organization.', + packageRules: [ + { + matchDatasources: ['npm'], + matchPackageNames: ['@google/semantic-release-replace-plugin'], + replacementName: 'semantic-release-replace-plugin', + replacementVersion: '1.2.1', + }, + ], + }, 'spectre-cli-to-spectre-console-cli': { description: 'The `Spectre.Cli` package was renamed to `Spectre.Console.Cli`.', From 7e8e419e07c412318f1c0807d18ecd7b74f5c972 Mon Sep 17 00:00:00 2001 From: Rhys Arkins Date: Tue, 16 Jan 2024 09:37:44 +0100 Subject: [PATCH 2/2] prettier-fix --- lib/config/presets/internal/replacements.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/config/presets/internal/replacements.ts b/lib/config/presets/internal/replacements.ts index 308144aa7f73dc..c7cbc5a7fe298f 100644 --- a/lib/config/presets/internal/replacements.ts +++ b/lib/config/presets/internal/replacements.ts @@ -752,7 +752,8 @@ export const presets: Record = { ], }, 'semantic-release-replace-plugin-to-unscoped': { - description: '`semantic-release-replace-plugin` was moved out of the `google` organization.', + description: + '`semantic-release-replace-plugin` was moved out of the `google` organization.', packageRules: [ { matchDatasources: ['npm'],