From ba3bd0187e1227ccaf35089598bdcf8a88ef0708 Mon Sep 17 00:00:00 2001 From: Matt Travi <126441+travi@users.noreply.github.com> Date: Sun, 3 Dec 2023 23:57:45 -0600 Subject: [PATCH] feat(replacements): add the rename of `read-pkg-up` to `read-package-up` (#26101) --- 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 009009cf1fbc2c..2f200001adc971 100644 --- a/lib/config/presets/internal/replacements.ts +++ b/lib/config/presets/internal/replacements.ts @@ -655,6 +655,17 @@ export const presets: Record = { }, ], }, + 'read-pkg-up-rename': { + description: '`read-pkg-up` was renamed to `read-package-up`.', + packageRules: [ + { + matchDatasources: ['npm'], + matchPackageNames: ['read-pkg-up'], + replacementName: 'read-package-up', + replacementVersion: '11.0.0', + }, + ], + }, 'redux-devtools-extension-to-scope': { description: 'The `redux-devtools-extension` package was renamed to `@redux-devtools/extension`.',