Skip to content

Renovate: read Bun's packageManager once - #39

Merged
firsttris merged 1 commit into
mainfrom
renovate-bun-group
Nov 4, 2026
Merged

firsttris merged 1 commit into
mainfrom
renovate-bun-group

Conversation

@firsttris

Copy link
Copy Markdown
Owner

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 edits the line twice. Grouping itself was already right here (the Bun group matches bun, and both land in renovate/bun).

Fix (as in firsttris/stellwerk#26 and firsttris/fernsicht#18): drop the regex manager for packageManager; the Bun group stays as it is.

Checked with Renovate 44.211.0 (renovate --platform=local --dry-run=lookup) on an export of the repo with Bun pinned back to 1.3.0 (packageManager and oven/bun:1.3.0-slim in the Dockerfile); listed is every Bun dependency and the branch of its update. renovate-config-validator: validated successfully.

Red (origin/main, Bun pinned back to 1.3.0)

bun package.json: bun (packageManager) current=1.3.0
    minor 1.4.4 -> renovate/bun
dockerfile Dockerfile: oven/bun (stage) current=1.3.0-slim
    minor 1.4.4-slim -> renovate/bun
github-actions .github/workflows/ci.yml: bun (uses-with) current=undefined skip=unspecified-version (no update)
github-actions .github/workflows/e2e-server.yml: bun (uses-with) current=undefined skip=unspecified-version (no update)
regex package.json: bun () current=1.3.0
    minor 1.4.4 -> renovate/bun
regex package.json: bun () current=1.3.0
    minor 1.4.4 -> renovate/bun
DUPLICATE packageManager readers: bun:package.json:bun, regex:package.json:bun
FAIL: 1 problem(s)

Green (this branch)

bun package.json: bun (packageManager) current=1.3.0
    minor 1.4.4 -> renovate/bun
dockerfile Dockerfile: oven/bun (stage) current=1.3.0-slim
    minor 1.4.4-slim -> renovate/bun
github-actions .github/workflows/ci.yml: bun (uses-with) current=undefined skip=unspecified-version (no update)
github-actions .github/workflows/e2e-server.yml: bun (uses-with) current=undefined skip=unspecified-version (no update)
ok

Generated by Claude Code

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y3rdfbWb1xDUdPRng7TX9Z
@firsttris
firsttris merged commit dfab8f2 into main Nov 4, 2026
7 checks passed
@firsttris
firsttris deleted the renovate-bun-group branch November 4, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants