Skip to content

Renovate: read the Bun of packageManager once - #29

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 web/package.json as the npm package bun (it does here, although the file is in web/: no unknown-engines skip in the run below). The extra regex manager read the same line a second time, so two dependencies edited it. This drops the regex manager; bun stays in the Bun group next to oven/bun, so grouping was already right and stays so.

Test

A Renovate 44.211.0 lookup run (--platform=local --dry-run=lookup) on a copy of the Bun-related files with Bun pinned back to 1.3.0, checking the branch of every Bun update and that packageManager is read by one manager only (same check as in firsttris/fernsicht#18 and firsttris/stellwerk#26).

Before (origin/main):

bun web/package.json: bun 1.3.0 -> renovate/bun
dockerfile docker/Dockerfile: oven/bun 1.3.0-slim -> renovate/bun
regex web/package.json: bun 1.3.0 -> renovate/bun
FAIL: packageManager of web/package.json read by bun and regex
FAIL: 1 problem(s)
exit 1

After (this branch):

bun web/package.json: bun 1.3.0 -> renovate/bun
dockerfile docker/Dockerfile: oven/bun 1.3.0-slim -> renovate/bun
ok: every Bun update in renovate/bun, packageManager read once
exit 0

renovate-config-validator --strict (Renovate 44.211.0): Config validated successfully.


Generated by Claude Code

Renovate's bun manager already reads "packageManager": "bun@x.y.z" of web/package.json as
the npm package `bun`, so the regex manager for the same line extracted it a second time and both
edited it. Drop the regex manager; `bun` stays in the Bun group with oven/bun, as in
firsttris/fernsicht#18 and firsttris/stellwerk#26.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y3rdfbWb1xDUdPRng7TX9Z
@firsttris
firsttris merged commit 0cc9e47 into main Nov 4, 2026
5 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