Skip to content

Commit eb74269

Browse files
committed
fix(ci): point Dependabot at the pnpm workspace root
The npm entry aimed at /apps/web updated only apps/web/package.json and left the root pnpm-lock.yaml untouched, so every resulting PR failed CI on ERR_PNPM_OUTDATED_LOCKFILE — even a postcss patch bump (#69). A pnpm workspace has one lockfile at the root, so a single npm entry there covers both apps and keeps the lockfile in step; the root entry produced correct PRs (#66 updated the manifest and the lockfile together). Also folds the former root entry's schedule into the single npm entry and adds an eslint group.
1 parent 9627a59 commit eb74269

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

.github/dependabot.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
version: 2
22

33
updates:
4-
# The Swift package has zero third-party dependencies by design, so there is
5-
# nothing to update there — see docs/roadmap/what-is-excellent.md §11.
4+
# One npm entry for the whole pnpm workspace. It must point at the root:
5+
# apps/web and apps/headless share a single pnpm-lock.yaml there, and an
6+
# entry aimed at a workspace member updates only that member's
7+
# package.json, leaving the root lockfile stale and every CI job failing
8+
# on --frozen-lockfile.
9+
#
10+
# The Swift package has zero third-party dependencies by design, so there
11+
# is nothing to update for it — see docs/roadmap/what-is-excellent.md §11.
612
- package-ecosystem: npm
7-
directory: /apps/web
13+
directory: /
814
schedule:
915
interval: weekly
1016
day: monday
1117
open-pull-requests-limit: 5
1218
labels:
1319
- "type:chore"
14-
- "area:web"
1520
groups:
1621
react:
1722
patterns: ["react", "react-dom", "@types/react", "@types/react-dom"]
@@ -21,14 +26,8 @@ updates:
2126
patterns: ["tailwindcss", "@tailwindcss/*"]
2227
types:
2328
patterns: ["@types/*"]
24-
25-
- package-ecosystem: npm
26-
directory: /
27-
schedule:
28-
interval: monthly
29-
open-pull-requests-limit: 3
30-
labels:
31-
- "type:chore"
29+
eslint:
30+
patterns: ["eslint", "@eslint/*"]
3231

3332
- package-ecosystem: github-actions
3433
directory: /

0 commit comments

Comments
 (0)