R

@robonen/renovate

A shared Renovate configuration preset — one line in your renovate.json and dependency updates run on autopilot.

Every repository ends up re-deriving the same Renovate setup: which update types to auto-merge, when to schedule the noise, how to phrase commit messages, who to assign reviews to. @robonen/renovate captures those decisions once as a single default.json preset that any repo can extend, so the policy lives in one place instead of being copied and slowly drifting across projects.

One-line adoption

Extend it via github>robonen/tools//infra/renovate/default.json — no copy-pasted config, and updates to the policy roll out to every consumer.

Quiet by default

Non-major updates are grouped via group:allNonMajor, so you review one consolidated PR instead of a wall of individual bumps.

Hands-off minor & patch

Minor, patch, pin, and digest updates auto-approve and auto-merge on a 1–3 AM schedule — safe upgrades land overnight, majors still wait for you.

Conventional commits

Every update commits as chore with a bump range strategy, and reviews are assigned straight from CODEOWNERS.

Install

You don't import this package in code — Renovate reads it from the repo by reference. Add the package to your workspace if you want the bundled renovate-config-validator available locally:

sh
pnpm add @robonen/renovate

Usage

Create (or edit) renovate.json in your repository root and extend the preset:

json
{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["github>robonen/tools//infra/renovate/default.json"]
}

That's the whole setup. To diverge from the shared policy, append your own packageRules after the extend — for example, opt out of auto-merging major upgrades:

json
{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["github>robonen/tools//infra/renovate/default.json"],
  "packageRules": [
    {
      "matchUpdateTypes": ["major"],
      "automerge": false
    }
  ]
}
Tip: validate any config that extends this preset with renovate-config-validator before committing — the package ships it as a test script against default.json.

Where to next

  • Read the guide sections below for the full list of what the preset enables — extended configs, schedules, and package rules.
  • See the upstream Renovate docs for the complete configuration schema you can layer on top.

@robonen/renovate

Shared Renovate configuration preset.

Usage

Reference it in your renovate.json:

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["github>robonen/tools//infra/renovate/default.json"]
}

What's Included

  • Extends config:base and group:allNonMajor
  • Semantic commit type: chore
  • Range strategy: bump
  • Auto-approves & auto-merges minor, patch, pin, and digest updates (scheduled 1–3 AM)