Skip to content

Fix Dependabot lockfile updates by splitting Yarn workspaces#10

Merged
ksroda-sa merged 2 commits into
mainfrom
fix/split-yarn-workspaces
Apr 13, 2026
Merged

Fix Dependabot lockfile updates by splitting Yarn workspaces#10
ksroda-sa merged 2 commits into
mainfrom
fix/split-yarn-workspaces

Conversation

@ksroda-sa

@ksroda-sa ksroda-sa commented Apr 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Split Yarn workspaces monorepo into independent per-package Yarn 4 projects so that Dependabot can natively update lockfiles alongside package.json changes
  • Each package (samples/react/login-pkce, scripts) now has its own .yarnrc.yml, .yarn/releases/, and yarn.lock
  • Updated CODEOWNERS to ksroda-sa temporarily to avoid spamming the team with Dependabot auto-PRs while configuring the setup — will restore team reviewers once stable

Why

Dependabot updates package.json in individual directories but does not update the root yarn.lock, causing CI to fail with:

The lockfile would have been modified by this install, which is explicitly forbidden.

🤖 Generated with Claude Code

ksroda-sa and others added 2 commits April 13, 2026 11:00
…ages

Dependabot updates package.json but not the root yarn.lock, causing CI
to fail with "lockfile would have been modified". Each package now has
its own Yarn config, binary, and lockfile so Dependabot can natively
update both files per directory.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
CODEOWNERS already assigns ksroda-sa as reviewer on all paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ksroda-sa
ksroda-sa marked this pull request as ready for review April 13, 2026 09:05
@ksroda-sa
ksroda-sa requested review from a team as code owners April 13, 2026 09:05
@ksroda-sa
ksroda-sa merged commit 6d14518 into main Apr 13, 2026
5 checks passed
@ksroda-sa
ksroda-sa deleted the fix/split-yarn-workspaces branch April 13, 2026 11:57
ksroda-sa added a commit that referenced this pull request May 18, 2026
)

Bumps three lockfiles to drop the vulnerable transitive versions:

  samples/angular/login-pkce/yarn.lock
  samples/angular/token-refresh/yarn.lock
    ip-address 10.1.0 → 10.2.0 (closes alerts #2, #3 — XSS in
    Address6 HTML-emitting methods). The vulnerable 10.1.0 was
    pinned exactly by express-rate-limit@8.5.0 deep in the tree
    via @modelcontextprotocol/sdk. Bumping express-rate-limit
    recursively to 8.5.2 — which now uses ^10.2.0 — drops the
    bad pin transitively.

  samples/react-native/login-pkce/yarn.lock
    fast-xml-builder 1.1.5 → 1.2.0 (closes alerts #9, #10 —
    Comment Value regex bypass + attribute value quote bypass).
    Bumped recursively via yarn up -R.

All changes are lockfile-only (no package.json edits). All bumped
packages are build/dev tooling, not runtime — the apps' shipped
code is unchanged.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants