0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-11-12 19:47:40 +00:00
renovatebot_renovate/docs/usage/modules/datasource/index.md
2022-12-30 18:20:41 +01:00

29 lines
678 B
Markdown

---
title: Datasources
---
# Datasources
After Renovate's manager scanned the files and extracted the dependencies, it assigns a `datasource` to each extracted package file or dependency.
The `datasource` tells Renovate how to search for new versions.
You don't need to configure or override datasources.
But you may use datasources in a `packageRules` array to configure Renovate's behavior, for example:
```json
{
"packageRules": [
{
"matchDatasources": ["npm"],
"matchPackageNames": ["lodash"],
"automerge": true
}
]
}
```
## Supported Datasources
<!-- Autogenerate in https://github.com/renovatebot/renovate -->
<!-- Autogenerate end -->