Repository navigation
Expand file tree
/
Copy pathdependabot.yml
More file actions
106 lines (106 loc) · 4.02 KB
/
Copy pathdependabot.yml
File metadata and controls
106 lines (106 loc) · 4.02 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
version: 2
# Only minor/patch updates are proposed automatically. Major bumps are ignored
# across all ecosystems and upgraded deliberately by hand — majors tend to carry
# breaking changes (build/runtime/API) that warrant a considered upgrade rather
# than an auto-PR. To take a specific major, bump it manually (or temporarily
# remove/relax the matching ignore).
#
# Everything proposed here is auto-merged by
# `.github/workflows/dependabot-auto-merge.yml` once CI and the visual
# regression suite are green — see CONTRIBUTE.md § Dependency updates. Two
# consequences for this file:
#
# 1. NOTHING IS UNGROUPED. Every npm dependency falls into one of the groups
# below, so a week produces at most four lockfile PRs. Each merge invalidates
# `pnpm-lock.yaml` in every other open PR, which makes Dependabot rebase it
# and CI run again — with ~10 open PRs that cascade is quadratic, and it is
# why the old `dev-dependencies` PR grew to 29 updates without ever landing.
# 2. A `cooldown` replaces the human as the filter against bad releases. It
# mirrors the `minimumReleaseAge` this repo used to set in
# `pnpm-workspace.yaml`, `@mittwald/*` exempt for the same reason: our own
# packages are published and consumed within the hour.
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 5
cooldown:
default-days: 7
exclude:
- "@mittwald/*"
# First match wins, so the risk cluster is carved out before the catch-all.
groups:
# The accessibility foundation moves as one unit and breaks as one unit —
# a partial bump across these packages mixes incompatible internals.
react-aria:
patterns:
- "react-aria"
- "react-aria-components"
- "react-stately"
- "@react-aria/*"
- "@react-stately/*"
- "@react-types/*"
- "@internationalized/*"
# Everything that ships to consumers. Patch and minor together: with
# auto-merge nobody reviews them individually anyway, and splitting them
# only adds another PR to the rebase cascade.
production:
dependency-type: production
# Split, unlike production: the dev side carries the volume (~25 updates a
# week), and the boring patches should land even while a minor is red.
dev-patch:
dependency-type: development
update-types:
- patch
dev-minor:
dependency-type: development
update-types:
- minor
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
# Deliberate holds. Without these, Dependabot re-proposes them every week
# and each PR has to be closed by hand — Dependabot widens a `~`/`^` range
# rather than respecting it as a ceiling.
#
# recharts 3.10 breaks the `CartesianChart` public type surface. Taking it
# is its own PR, not a routine bump.
- dependency-name: "recharts"
versions: [">=3.8.0"]
# playwright 1.64 bundles a Firefox that cannot move focus from an iframe
# to its parent (microsoft/playwright#43280), and vitest runs every test in
# an iframe. Fixed in 1.65; drop this entry with #3607.
- dependency-name: "playwright"
versions: ["1.64.x"]
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
cooldown:
default-days: 7
groups:
actions:
patterns:
- "*"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
- package-ecosystem: docker
directory: "/apps/docs"
schedule:
interval: weekly
cooldown:
default-days: 7
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
- package-ecosystem: docker
directory: "/packages/components"
schedule:
interval: weekly
cooldown:
default-days: 7
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]