Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 127 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
version: 2
updates:
- package-ecosystem: npm
directory: /ark/attest

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This repo is a pnpm workspace (pnpm-workspace.yaml declares packages: ["ark/*"]) with a single root pnpm-lock.yaml and no per-package lockfiles. Every one of these 12 per-subdirectory npm entries — plus the root directory: / npm entry at :111-119 — resolves to and rewrites that same root lockfile, so they are all redundant and will raise duplicate, mutually-conflicting grouped PRs (dependabot-core has open bugs on this shared-lockfile npm-monorepo behavior, e.g. #6346). Collapse all 13 npm entries into a single root directory: "/" npm entry, which governs the entire workspace. This also removes the 13x repetition of the identical all-dependencies block, so future schedule/grouping changes are edited once instead of thirteen times.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch — you're right that all the per-subdirectory npm entries resolve to the same root pnpm-lock.yaml, which causes the conflicting grouped-PR issue you described. Collapsed all 13 npm entries into a single directory: "/" entry in 66f6675.

schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /ark/repo
schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /ark/fast-check
schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /ark/regex
schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /ark/json-schema
schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /ark/type
schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /ark/schema
schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /ark/extension
schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /ark/themes
schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /ark/docs
schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /ark/fs
schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /ark/util
schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /
schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
groups:
all-dependencies:
patterns:
- "*"
Loading