Files
Jamie Tanna 0a1b54a852 feat(manager/renovate-config): extract constraints (#42873)
* feat(manager/renovate-config): extract `constraints`

As noted in #41571, it would be useful to detect and suggest updates
when specifying `constraints` in Renovate config, where it's a known
tool we provide versioning information for.

We can extend our existing `renovate-config` manager to add support for
`constraints` that are known Containerbase tools.

We can support top-level `constraints` as well as `constraints` inside
`packageRules`.

* refactor(renovate-config): remove nesting
2026-05-06 18:16:09 +00:00

32 lines
1.2 KiB
Markdown

### Config presets
Renovate supports updating [Shareable Config Presets](../../../config-presets.md) for Renovate configuration.
The preset versions are only updated if the version is already pinned.
For example, `github>user/renovate-config#1.2.3` will be updated to `github>user/renovate-config#1.2.4` if the `1.2.4` version is available, but `github>user/renovate-config` will not be pinned.
```json
{
"extends": [
"github>user/renovate-config#1.2.3",
"github>user/renovate-config:group"
]
}
```
#### Unsupported Config
- [Local presets](../../../config-presets.md#local-presets)
- [HTTP URLs presets](../../../config-presets.md#fetching-presets-from-an-http-server)
- [`package.json` file config](../../../configuration-options.md) (deprecated)
- [`npm` hosted presets](../../../config-presets.md#npm-hosted-presets) (deprecated)
- `extends` inside sub objects, like `packageRules`
### Tool constraints
Renovate will extract + suggest updates for package manager/tool versions in the [`constraints`](../../../configuration-options.md#constraints) configuration.
Constraints set on tools that [Containerbase](https://github.com/containerbase/base/) supports will result in Renovate updates.
Other constraints will not be updated by Renovate.