Dependency Type Options

This document describes all the configuration options that are specific for the depType stage. You can also configure package-level options here too, but they are described in their respective pages.

ignoreDeps

Dependencies to ignore.

name value
type array of strings
default []

The ignoreDeps configuration field allows you to define a list of dependency names to be ignored by Renovate. Currently it supports only “exact match” dependency names and not any patterns. e.g. to ignore both eslint and eslint-config-base you would add this to your config:

  "ignoreDeps": ["eslint", "eslint-config-base"]

packages

A list of package rules to apply.

name value
type list of configuration objects
default []

packages is a powerful feature that lets you apply rules to individual packages or to groups of packages using regex pattern matching. You can place any Package-level configuration options inside the packages objects you define.

Here is an example if you want to group together all packages starting with eslint into a single branch/PR:

"packages": [
  {
    "packagePattern": "^eslint",
    "groupName": "eslint packages"
  }
]

Note how the above uses packagePattern with a regex value.

Here is an example where you might want to limit the “noisy” package aws-sdk to updates just once per week:

  "packages": [
    {
      "packageName": "aws-sdk",
      "schedule": "after 9pm on sunday"
    }
  ]

Note how the above uses packageName instead of packagePattern because it is an exact match package name. This is the equivalent of defining "packagePattern": "^aws\-sdk$" and hence much simpler.