Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,24 @@
},
{
"matchManagers": ["npm"],
"matchPackageNames": ["astro", "@astrojs/*", "starlight-*"],
"matchUpdateTypes": ["minor"],
"groupName": "Astro and Starlight",
"automerge": false
"matchPackageNames": ["astro", "astro-*", "@astrojs/*", "starlight-*", "@*/starlight*"],
"matchCurrentVersion": "/^0\\./",
"separateMinorPatch": true
},
{
"matchManagers": ["npm"],
"matchPackageNames": ["astro", "@astrojs/*", "starlight-*"],
"matchPackageNames": ["astro", "astro-*", "@astrojs/*", "starlight-*", "@*/starlight*"],
"matchUpdateTypes": ["major"],
"groupName": "Astro and Starlight (major)",
"automerge": false
"automerge": true
},
{
"matchManagers": ["npm"],
"matchPackageNames": ["astro", "astro-*", "@astrojs/*", "starlight-*", "@*/starlight*"],
"matchCurrentVersion": "/^0\\./",
"matchUpdateTypes": ["minor"],
"groupName": "Astro and Starlight (major)",
"automerge": true
},
{
"description": "Hold TypeScript below v7 until typescript-eslint supports it.",
Expand Down
11 changes: 5 additions & 6 deletions docs/docs-site.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,9 @@ jobs:

## Renovate updates for Astro and Starlight

Extending the [shared Renovate preset](renovate.md#use-the-preset) (`github>hakulab/devkit#v3`, defined in [`default.json`](../default.json)) groups Astro (`astro`, `@astrojs/*`) and Starlight (`starlight-*`) updates by update type.
Extending the [shared Renovate preset](renovate.md#use-the-preset) (`github>hakulab/devkit#v3`, defined in [`default.json`](../default.json)) groups `npm` updates for Astro (`astro`, `astro-*`, `@astrojs/*`) and Starlight (`starlight-*`, `@*/starlight*`) with automerge enabled, relying on CI to block broken updates. Enabling `separateMinorPatch` lets the preset treat `0.x` minor releases as breaking alongside `>=1.0` major releases.

| Update type | Group name | Automerge |
| ----------- | ----------------------------- | --------- |
| Patch | `Node dependencies` | Enabled |
| Minor | `Astro and Starlight` | Disabled |
| Major | `Astro and Starlight (major)` | Disabled |
| Update type | Group name | Automerge |
| ------------------------------------ | ----------------------------- | --------- |
| `>=1.0` minor and patch, `0.x` patch | `Node dependencies` | Enabled |
| `>=1.0` major, `0.x` minor | `Astro and Starlight (major)` | Enabled |
Loading