renovate/docs/usage/modules/datasource.md
Michael Kriese e4c938b7a5
docs: release as asset (#11429)
* 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>
2021-12-09 21:12:49 +01:00

708 B

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.

{
  "packageRules": [
    {
      "matchDatasources": ["npm"],
      "matchPackageNames": ["lodash"],
      "automerge": true
    }
  ]
}

Supported Datasources