From 4130956d5cc1af6ed6ebd8e33ca6e1c28100a672 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 4 Nov 2026 08:19:55 +0000 Subject: [PATCH] Renovate: read Bun's packageManager once Renovate's bun manager already reads "packageManager": "bun@x.y.z" in package.json as the npm package `bun`; the regex manager for the same line extracted it a second time, so the Bun PR edited the line twice. Drop the regex manager; the Bun group already matches `bun`. As in firsttris/stellwerk and firsttris/fernsicht. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Y3rdfbWb1xDUdPRng7TX9Z --- .github/renovate.json5 | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index c37b24c..d872b3a 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -14,16 +14,6 @@ $schema: "https://docs.renovatebot.com/renovate-schema.json", extends: ["github>firsttris/workflows//renovate/default.json5"], customManagers: [ - { - // The Bun of package.json (`packageManager`; CI takes its version from there, setup-bun with - // bun-version-file and npm in the Playwright image), as in firsttris/haben; the image's - // oven/bun comes with the dockerfile manager - customType: "regex", - managerFilePatterns: ["/^package\\.json$/"], - matchStrings: ['"packageManager": "bun@(?\\d+\\.\\d+\\.\\d+)"'], - depNameTemplate: "bun", - datasourceTemplate: "npm", - }, { // `cargo install cargo-chef --version x.y.z` in the Dockerfile customType: "regex", @@ -83,7 +73,9 @@ dependencyDashboardApproval: false, }, { - // Bun of the image's web stage and of package.json, in one PR, majors too + // Bun of the image's web stage and of package.json, in one PR, majors too. Renovate's bun + // manager reads "packageManager": "bun@x.y.z" itself, as the npm package `bun` (no regex + // manager needed). matchPackageNames: ["docker.io/oven/bun", "oven/bun", "bun"], groupName: "Bun", sourceUrl: "https://github.com/oven-sh/bun",