mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 11:03:53 +08:00
fix(@schematics/update): ignore @angular-devkit/build-ng-packagr
incompatible peer dependency
This package is deprecated and is removed via a migration. Closes #19384
This commit is contained in:
parent
1cfb7a71bb
commit
ddd114cdfc
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user