# Please see the documentation for all configuration options: # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file version: 2 updates: - package-ecosystem: 'npm' # See documentation for possible values cooldown: default-days: 2 directory: '/' # Location of package manifests schedule: interval: 'monthly' ignore: # As a library, we intentionally avoid updating TypeScript and @types/node so that we # don't accidentally use features from a version newer than our downstream users have installed - dependency-name: 'typescript' - dependency-name: '@types/node' groups: # Most minor/patch version bumps are harmless, so we group them together # Major version bumps typically require manual intervention, so they get individual PRs (default behavior) # Namespaced packages typically depend on each other, so they get grouped for major version bumps babel: patterns: - '@babel/*' update-types: - 'major' best: patterns: - 'best' - '@best/*' update-types: - 'major' lint: patterns: - 'prettier' # eslint packages probably have rules that require manual updates - '*eslint*' update-types: # any version bump can make linting fail in CI - 'major' - 'minor' - 'patch' nx: patterns: - 'nx' - '@nx/*' update-types: - 'major' # Changes to rollup can sometimes introduce subtle changes that break our users. # If bumping rollup, make sure it's in a release with no code changes # (other dep bumps are okay). ROLLUP-BE-CAREFUL: patterns: - 'rollup' - '@rollup/*' webdriverio: patterns: - 'webdriverio' - '@wdio/*' update-types: - 'major' - 'minor' vitest: patterns: - 'vitest' - '@vitest/*' update-types: - 'major' # Non-major version bumps hopefully shouldn't break anything, # so let's group them together into a single PR! theoretically-non-breaking: update-types: - 'minor' - 'patch'