Skip to content

Commit 230343d

Browse files
rekmarksclaude
andauthored
fix: Simplify Dependabot config to fix Yarn 4 workspace incompatibility (#729)
The grouped dependency updates were causing Dependabot to fail with: - "peer dependencies are incorrectly met" errors - "Couldn't find the node_modules state file" errors This commit removes all dependency groups and switches to a simpler configuration pattern that is proven to work with Yarn 4 workspaces, based on the working configuration in `MetaMask/core`. Changes: - Remove all 10 dependency groups (vite, metamask, react, etc.) - Add 'allow' lists for high-priority packages (@metamask/*, @agoric/*, @endo/*) - Add github-actions ecosystem monitoring - Keep weekly schedule and other working settings Trade-off: Will receive more individual PRs instead of grouped ones, but Dependabot will (hopefully) actually work and be able to update dependencies. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > <sup>[Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) is generating a summary for commit 9caa57e. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Claude Sonnet 4.5 <[email protected]>
1 parent 4aad564 commit 230343d

File tree

1 file changed

+13
-56
lines changed

1 file changed

+13
-56
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -9,61 +9,18 @@ updates:
99
interval: 'weekly'
1010
day: 'monday'
1111
time: '06:00' # UTC
12-
target-branch: 'main'
1312
versioning-strategy: 'increase-if-necessary'
1413
open-pull-requests-limit: 10
15-
groups:
16-
vite:
17-
# Group all Vite-related dependencies
18-
patterns:
19-
- 'vite'
20-
- 'vite-*'
21-
- 'vitest'
22-
- '@vitest/*'
23-
- '@vitejs/*'
24-
- 'jsdom'
25-
metamask:
26-
# Group MetaMask packages excluding ESLint configs
27-
patterns:
28-
- '@metamask/*'
29-
exclude-patterns:
30-
- '@metamask/eslint-*'
31-
metamask-eslint:
32-
# Separate group for MetaMask ESLint configs
33-
patterns:
34-
- '@metamask/eslint-*'
35-
agoric:
36-
# Group Agoric and Endo packages
37-
patterns:
38-
- '@agoric/*'
39-
- '@endo/*'
40-
- 'ses'
41-
react:
42-
# Group React and its type definitions
43-
patterns:
44-
- 'react'
45-
- 'react-dom'
46-
- '@types/react'
47-
- '@types/react-dom'
48-
linting-and-typing:
49-
# Group ESLint, TypeScript, and related packages
50-
patterns:
51-
- 'eslint'
52-
- 'eslint-*'
53-
- '@typescript-eslint/*'
54-
- 'typescript'
55-
- 'typescript-*'
56-
prettier:
57-
# Group Prettier and its plugins
58-
patterns:
59-
- 'prettier'
60-
- 'prettier-*'
61-
testing-library:
62-
# Group Testing Library packages
63-
patterns:
64-
- '@testing-library/*'
65-
playwright:
66-
# Group Playwright packages
67-
patterns:
68-
- '@playwright/*'
69-
- 'playwright'
14+
# Allow specific high-value dependency groups
15+
allow:
16+
- dependency-name: '@metamask/*'
17+
- dependency-name: '@agoric/*'
18+
- dependency-name: '@endo/*'
19+
20+
- package-ecosystem: 'github-actions'
21+
directory: '/'
22+
schedule:
23+
interval: 'weekly'
24+
day: 'monday'
25+
time: '06:00' # UTC
26+
open-pull-requests-limit: 10

0 commit comments

Comments
 (0)