Skip to content

fix(ci): sync Angular peer deps and add --legacy-peer-deps to npm ci#434

Open
algirdasc wants to merge 1 commit intomainfrom
fix/EXP-16-sync-angular-peer-deps
Open

fix(ci): sync Angular peer deps and add --legacy-peer-deps to npm ci#434
algirdasc wants to merge 1 commit intomainfrom
fix/EXP-16-sync-angular-peer-deps

Conversation

@algirdasc
Copy link
Copy Markdown
Owner

After dependabot bumped @angular/core and @angular/compiler to 20.3.18 in separate PRs, other Angular packages remained at 20.3.17 in the lockfile. npm 11 strict peer-dep checking caused npm ci to fail with a conflicting peer dependency error.

  • Update package.json: align all @angular/* deps to ^20.3.18
  • Regenerate package-lock.json with consistent Angular 20.3.18 versions
  • Add --legacy-peer-deps to npm ci in CI workflow to prevent future peer-dep conflicts when dependabot bumps Angular packages individually

After dependabot bumped @angular/core and @angular/compiler to 20.3.18
in separate PRs, other Angular packages remained at 20.3.17 in the
lockfile. npm 11 strict peer-dep checking caused `npm ci` to fail with
a conflicting peer dependency error.

- Update package.json: align all @angular/* deps to ^20.3.18
- Regenerate package-lock.json with consistent Angular 20.3.18 versions
- Add --legacy-peer-deps to npm ci in CI workflow to prevent future
  peer-dep conflicts when dependabot bumps Angular packages individually

Co-Authored-By: Paperclip <noreply@paperclip.ing>
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