Skip to content

[WIP] Fix peer dependency error for angular packages#619

Draft
Copilot wants to merge 1 commit intomasterfrom
copilot/fix-angular-peer-dependency-error
Draft

[WIP] Fix peer dependency error for angular packages#619
Copilot wants to merge 1 commit intomasterfrom
copilot/fix-angular-peer-dependency-error

Conversation

Copy link
Contributor

Copilot AI commented Mar 6, 2026

  • Investigate the dependency conflict: jest-preset-angular@16.1.1 requires jest@^30.0.0 (not 29.x) and @angular/platform-browser@>=19.0.0 <22.0.0 (causes Angular 21.x to be pulled in, conflicting with @angular/common@20.x)
  • Update gui-js/package.json:
    • Update jest from ^29.0.0 to ^30.0.0
    • Update jest-environment-jsdom from ^29.0.0 to ^30.2.0
    • Update jest-preset-angular from ^14.6.0 to ^16.1.1
    • Add @angular/platform-browser: "^20.3.17" explicitly to prevent Angular 21.x from being installed
  • Update gui-js/libs/menu/jest.config.ts to use modern transform-based config (old globals.ts-jest style is incompatible with jest-preset-angular 16.x)
  • Run npm install to update gui-js/package-lock.json
  • Verify the fix resolves the peer dependency conflicts

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.


This change is Reviewable

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.

2 participants