Skip to content

fix(deps): drop the duplicated source-map-js override that broke installs - #71

Merged
rcsarv merged 1 commit into
mainfrom
fix/duplicate-source-map-override
Oct 6, 2026
Merged

rcsarv merged 1 commit into
mainfrom
fix/duplicate-source-map-override

Conversation

@rcsarv

@rcsarv rcsarv commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

main can't install, and every CI job fails at setup: ERR_PNPM_BROKEN_LOCKFILE … duplicated mapping key (43:3).

#69 and #70 each added a source-map-js: ^1.2.2 override for the same advisory. #70's is commit a94554b. They merged a minute apart, and Git combined them without a conflict, leaving the key twice in both package.json and pnpm-lock.yaml. JSON tolerates the duplicate; the lockfile's YAML doesn't, so pnpm refuses it.

This keeps the copy in alphabetical position and removes the other from both files. package.json is again exactly the file #69 shipped.

Verification, run on today's main plus this fix:

  • pnpm install --frozen-lockfile passes.
  • pnpm audit --audit-level=high passes.
  • TURBO_FORCE=true pnpm test passes 11,847 tests, with nothing cached. This is the first full run that includes Limit Gmail category mapping to Promotions and protect Spam #70's code, because main's CI couldn't install after it merged.
  • pnpm type-check and pnpm lint pass.

Avoiding a repeat: GitHub merged two PRs that each passed alone but break together. Turning on Require branches to be up to date before merging (or a merge queue) in the main ruleset makes every merge re-run CI on the combined result.

🤖 Generated with Claude Code

…alls

#69 and #70 each added a source-map-js ^1.2.2 override for the same
advisory and merged a minute apart. Git combined them without a conflict:
package.json gained the key twice, and pnpm-lock.yaml's overrides block a
duplicated mapping key, which pnpm refuses (ERR_PNPM_BROKEN_LOCKFILE), so
every CI job on main failed at install and so would any fresh checkout.

Keeps the copy in alphabetical position; package.json is again the file
#69 shipped. pnpm install --frozen-lockfile and pnpm audit
--audit-level=high both pass.
@rcsarv
rcsarv merged commit 8855f02 into main Oct 6, 2026
7 checks passed
@rcsarv
rcsarv deleted the fix/duplicate-source-map-override branch October 7, 2026 19:39
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.

1 participant