1
0
mirror of synced 2026-01-05 12:07:35 -05:00
Files
docs/data/reusables/dependabot/supported-package-managers.md

3.9 KiB

The following table shows, for each package manager:

  • The YAML value to use in the dependabot.yml file
  • The supported versions of the package manager
  • Whether dependencies in private {% data variables.product.prodname_dotcom %} repositories or registries are supported
  • Whether vendored dependencies are supported
Package manager YAML value Supported versions Private repositories Private registries Vendoring
Bundler bundler v1, v2
Cargo cargo v1
Composer composer v1, v2
Docker docker v1
Hex mix v1
elm-package elm v0.19
git submodule gitsubmodule N/A (no version)
GitHub Actions github-actions N/A (no version)
Go modules gomod v1
Gradle gradle N/A (no version)[1]
Maven maven N/A (no version)[2]
npm npm v6, v7, v8
NuGet nuget <= 4.8[3]
pip pip v21.1.2
pipenv pip <= 2021-05-29
pip-compile pip 6.1.0
poetry pip v1
pub pub v2 [4]
Terraform terraform >= 0.13, <= 1.2.x
yarn npm v1

{% tip %}

Tip: For package managers such as pipenv and poetry, you need to use the pip YAML value. For example, if you use poetry to manage your Python dependencies and want {% data variables.product.prodname_dependabot %} to monitor your dependency manifest file for new versions, use package-ecosystem: "pip" in your dependabot.yml file.

{% endtip %}

[1] {% data variables.product.prodname_dependabot %} doesn't run Gradle but supports updates to the following files: build.gradle, build.gradle.kts (for Kotlin projects), and files included via the apply declaration that have dependencies in the filename. Note that apply does not support apply to, recursion, or advanced syntaxes (for example, Kotlin's apply with mapOf, filenames defined by property).

[2] {% data variables.product.prodname_dependabot %} doesn't run Maven but supports updates to pom.xml files.

[3] {% data variables.product.prodname_dependabot %} doesn't run the NuGet CLI but does support most features up until version 4.8.

{% ifversion fpt or ghec or ghes > 3.4 %} [4] {% ifversion ghes = 3.5 %}pub support is currently in beta. Any known limitations are subject to change. Note that {% data variables.product.prodname_dependabot %}:

  • Doesn't support updating git dependencies for pub.
  • Won't perform an update when the version that it tries to update to is ignored, even if an earlier version is available.

For information about configuring your dependabot.yml file for pub, see "Enabling support for beta-level ecosystems." {%- else %}{% data variables.product.prodname_dependabot %} won't perform an update for pub when the version that it tries to update to is ignored, even if an earlier version is available.{% endif %} {% endif %}