Skip to content

Commit 3dc3479

Browse files
Saadnajmiclaude
andauthored
chore: scope Dependabot to only packages we control (#2892)
## Summary - Scoped Dependabot npm monitoring from the entire monorepo root (`/`) to only the package directories we control - Moved docusaurus monitoring to `/docsite` where the deps and lockfile actually live (previously pointed at `/` where there are zero `@docusaurus` entries in the root lockfile) - Forked `@react-native/*` packages are now excluded — their dependencies should stay in sync via upstream merges **Monitored directories:** - `/docsite` - `/packages/react-native` (`react-native-macos`) - `/packages/react-native-macos-init` - `/packages/nx-release-version` (`@react-native-macos/nx-release-version`) - `/packages/virtualized-lists` (`@react-native-macos/virtualized-lists`) ## Test plan - [ ] Verify Dependabot picks up the new config on the next scheduled run - [ ] Confirm no PRs are opened for forked `@react-native/*` package dependencies 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5c7454a commit 3dc3479

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

.github/dependabot.yml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,34 @@
1-
# Basic `dependabot.yml` file with
2-
# minimum configuration for three package managers
3-
41
version: 2
52
updates:
63
- package-ecosystem: "npm"
7-
directory: "/"
4+
directory: "/docsite"
5+
schedule:
6+
interval: "weekly"
7+
groups:
8+
all:
9+
patterns:
10+
- "*"
11+
12+
# Only monitor packages we control — forked @react-native/* packages
13+
# should stay in sync via upstream merges.
14+
- package-ecosystem: "npm"
15+
directories:
16+
- "/packages/react-native"
17+
- "/packages/react-native-macos-init"
18+
- "/packages/nx-release-version"
19+
- "/packages/virtualized-lists"
820
schedule:
921
interval: "weekly"
1022
groups:
11-
docusaurus:
23+
all:
1224
patterns:
13-
- "@docusaurus/*"
25+
- "*"
1426

1527
- package-ecosystem: "github-actions"
1628
directory: "/"
1729
schedule:
1830
interval: "weekly"
31+
groups:
32+
all:
33+
patterns:
34+
- "*"

0 commit comments

Comments
 (0)