From a540c9f432e4a8fe9c77c0a2a8ca8dc4f6f66a1a Mon Sep 17 00:00:00 2001
From: wwuck <301402+wwuck@users.noreply.github.com>
Date: Tue, 16 Jan 2024 19:40:46 +1100
Subject: [PATCH] feat(replacements): rename semantic-release-replace-plugin to
 unscoped (#26656)

Co-authored-by: Rhys Arkins <rhys@arkins.net>
---
 lib/config/presets/internal/replacements.ts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/lib/config/presets/internal/replacements.ts b/lib/config/presets/internal/replacements.ts
index 85a073ecd5..c7cbc5a7fe 100644
--- a/lib/config/presets/internal/replacements.ts
+++ b/lib/config/presets/internal/replacements.ts
@@ -751,6 +751,18 @@ export const presets: Record<string, Preset> = {
       },
     ],
   },
+  '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`.',
-- 
GitLab