-
Notifications
You must be signed in to change notification settings - Fork 439
Expand file tree
/
Copy pathdependabot.yml
More file actions
72 lines (71 loc) · 2.54 KB
/
dependabot.yml
File metadata and controls
72 lines (71 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# 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: 'weekly'
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'
rollup:
patterns:
- 'rollup'
- '@rollup/*'
update-types:
- 'major'
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'