From 38a8b7f1827685f60ea8cc9aaa1485e71b78cc7c Mon Sep 17 00:00:00 2001 From: Sigurd Spieckermann Date: Thu, 31 Oct 2024 11:37:17 +0100 Subject: [PATCH] feat(presets): add `poetry` manager support to `:semanticPrefixFixDepsChoreOthers` preset --- lib/config/presets/__snapshots__/index.spec.ts.snap | 10 ++++++++++ lib/config/presets/internal/default.ts | 5 +++++ 2 files changed, 15 insertions(+) diff --git a/lib/config/presets/__snapshots__/index.spec.ts.snap b/lib/config/presets/__snapshots__/index.spec.ts.snap index 51cee269b2f601..bd3fea422a76f5 100644 --- a/lib/config/presets/__snapshots__/index.spec.ts.snap +++ b/lib/config/presets/__snapshots__/index.spec.ts.snap @@ -92,6 +92,16 @@ exports[`config/presets/index resolvePreset migrates automerge in presets 1`] = ], "semanticCommitType": "fix", }, + { + "matchDepTypes": [ + "dependencies", + "extras", + ], + "matchManagers": [ + "poetry", + ], + "semanticCommitType": "fix", + }, { "matchPackageNames": [ "*", diff --git a/lib/config/presets/internal/default.ts b/lib/config/presets/internal/default.ts index 296b2c851ddc3d..389d4e8288b0a3 100644 --- a/lib/config/presets/internal/default.ts +++ b/lib/config/presets/internal/default.ts @@ -582,6 +582,11 @@ export const presets: Record = { matchManagers: ['pep621'], semanticCommitType: 'fix', }, + { + matchDepTypes: ['dependencies', 'extras'], + matchManagers: ['poetry'], + semanticCommitType: 'fix', + }, ], }, separateMajorReleases: {