diff --git a/.github/renovate.json5 b/.github/renovate.json5 index aca2486..d743201 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -2,8 +2,11 @@ // easier to maintain. { $schema: "https://docs.renovatebot.com/renovate-schema.json", - // Disable every built-in manager (npm, dockerfile, ...) except github-actions. - enabledManagers: ["github-actions"], + // Enable only the package managers used by this repository. + enabledManagers: ["github-actions", "npm"], + npm: { + managerFilePatterns: ["/^package\\.json$/"], + }, // PR titles use Conventional Commits: `deps(): ...` semanticCommits: "enabled", semanticCommitType: "deps", @@ -16,7 +19,7 @@ // (typically major) instead of a separate minor PR. { matchManagers: ["github-actions"], - schedule: ["* 0-3 1 * *"], + schedule: ["* 0-3 1 * *"], // 00:00-03:59 UTC on the first day of each month minimumReleaseAge: "14 days", // Track upgrades by semver tag, but pin the resolved version to its full // commit SHA (semver tag kept as a trailing comment). Use the coerced @@ -25,8 +28,21 @@ versioning: "semver-coerced", pinDigests: true, separateMajorMinor: false, + groupName: "GitHub Actions", + groupSlug: "github-actions", semanticCommitScope: "{{depName}}", commitMessageTopic: "{{depName}}", }, + // Keep all Yarn development-tool updates in one monthly PR. + { + matchManagers: ["npm"], + schedule: ["* 0-3 1 * *"], // 00:00-03:59 UTC on the first day of each month + minimumReleaseAge: "14 days", + separateMajorMinor: false, + groupName: "dev dependencies", + groupSlug: "dev-dependencies", + semanticCommitScope: "dev-dependencies", + commitMessageTopic: "dev dependencies", + }, ], }