mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-16 01:26:24 +00:00
e4c938b7a5
* docs: prepare release as asset * chore: cleanup * fix: wrong extension * fix: wrong logger * fix: wrong path * chore: clean and create tmp * chore: fix types * fix: update generation * Update .github/workflows/build.yml Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> * Update lib/datasource/types.ts Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
25 lines
708 B
Markdown
25 lines
708 B
Markdown
---
|
|
title: Datasources
|
|
---
|
|
|
|
# Datasources
|
|
|
|
Once Renovate's manager is done scanning files and extracting dependencies, it will assign a `datasource` to each extracted package file and/or dependency so that Renovate then knows how to search for new versions.
|
|
You do not need to ever configure/override datasources directly, but you may use them in a `packageRules` array to configure other aspects of Renovate's behavior, e.g.
|
|
|
|
```json
|
|
{
|
|
"packageRules": [
|
|
{
|
|
"matchDatasources": ["npm"],
|
|
"matchPackageNames": ["lodash"],
|
|
"automerge": true
|
|
}
|
|
]
|
|
}
|
|
```
|
|
|
|
## Supported Datasources
|
|
|
|
<!-- Autogenerate in https://github.com/renovatebot/renovatebot.github.io -->
|
|
<!-- Autogenerate end -->
|