Skip to content

Commit

Permalink
fix(@schematics/update): ignore @angular-devkit/build-ng-packagr in…
Browse files Browse the repository at this point in the history
…compatible peer dependency

This package is deprecated and is removed via a migration.

Closes #19384

(cherry picked from commit ddd114c)
  • Loading branch information
alan-agius4 authored and clydin committed Nov 17, 2020
1 parent 54412fc commit 15af387
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/schematics/update/update/index.ts
Expand Up @@ -172,6 +172,12 @@ function _validateReversePeerDependencies(
continue;
}

if (installed === '@angular-devkit/build-ng-packagr') {
// Ignore peerDependencies mismatches for `@angular-devkit/build-ng-packagr`.
// This package is deprecated and is removed via a migration.
continue;
}

// Override the peer version range if it's known as a compatible.
const extendedRange = _updatePeerVersion(infoMap, peer, range);

Expand Down

0 comments on commit 15af387

Please sign in to comment.