Skip to content

chore: modernize the renovate config - #9

Merged
emmanuel merged 1 commit into
masterfrom
chore/renovate
Sep 6, 2026
Merged

chore: modernize the renovate config#9
emmanuel merged 1 commit into
masterfrom
chore/renovate

Conversation

@emmanuel

@emmanuel emmanuel commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Third of three stacked PRs. Based on #8, which is based on #7.

The old config automerged everything, majors included, with no PR

{ "matchPackagePatterns": ["*"], "automerge": true, "automergeType": "branch" }

["*"] matched every package and automergeType: "branch" skipped the pull
request entirely. Nothing reviewed chokidar 4→5 or glob 11→13; they would have
landed on master unseen. The only reason they did not is that CI was red, so
automerge never fired. Fixing CI without fixing this rearms it.

Automerge is now limited to dev-dependency minor and patch updates, after a
three-day soak, and goes through a PR so the checks actually gate it. Runtime
dependencies and every major open a PR for review.

typescript was disabled outright

That is why it sat on 5.0.4 for three years — a rule, not neglect. It now takes
6.x updates but is held below 7, which is a real blocker rather than a
preference: typescript-eslint refuses TS 7, and the CLI parses SQL-in-TS through
the compiler API that TS 7's native rewrite does not expose.

antlr4ts stays disabled because the committed parsers are generated against
that exact prerelease.

Deprecations and additions

config:baseconfig:recommended; matchPackagePatterns and
matchPackagePrefixesmatchPackageNames with globs. Adds the dependency
dashboard, lock file maintenance, and :semanticCommits — that last one so
renovate's own commits and PR titles satisfy the commitlint rules #7 introduces.

Base automatically changed from chore/release-please to master September 6, 2026 19:03
The old config automerged everything, majors included, straight to master with
no pull request: matchPackagePatterns ["*"] matched every package and
automergeType "branch" skipped the PR entirely. Nothing reviewed chokidar 4 to 5
or glob 11 to 13; they would have landed unseen. The only reason they did not is
that CI was red, so automerge never fired. Fixing CI without fixing this rearms
it.

Automerge is now limited to dev-dependency minor and patch updates, after a
three day soak, and goes through a pull request so the checks actually gate it.
Runtime dependencies and every major open a PR for review.

typescript was disabled outright, which is why it sat on 5.0.4 for three years:
a rule, not neglect. It now takes 6.x updates but is held below 7, which is a
real blocker rather than a preference, since typescript-eslint refuses TS 7 and
the CLI parses SQL-in-TS through the compiler API that TS 7's native rewrite does
not expose. antlr4ts stays disabled because the generated parsers are built
against that exact prerelease.

Three deprecated syntaxes replaced: config:base is now config:recommended, and
matchPackagePatterns and matchPackagePrefixes give way to matchPackageNames with
globs. Adds the dependency dashboard, lock file maintenance, and semantic commit
messages, that last one so renovate's own commits and PR titles satisfy the
commitlint rules this branch introduces.
@emmanuel
emmanuel merged commit 4307781 into master Sep 6, 2026
3 checks passed
@emmanuel
emmanuel deleted the chore/renovate branch September 6, 2026 19:13
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.

1 participant