Commit eb3a850
committed
refactor(@angular/cli): use ignorePeerDependencies option in update command
This commit updates the `ng update` command to utilize the `ignorePeerDependencies` abstraction option when installing packages. Previously, the command forced the installation (`--force`) when NPM 7+ was detected to workaround peer dependency issues. Now, it uses the more specific `ignorePeerDependencies` option (mapping to `--force` for NPM).1 parent 8729181 commit eb3a850
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | | - | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
525 | 529 | | |
526 | 530 | | |
527 | 531 | | |
| |||
545 | 549 | | |
546 | 550 | | |
547 | 551 | | |
548 | | - | |
| 552 | + | |
549 | 553 | | |
550 | 554 | | |
551 | 555 | | |
552 | 556 | | |
553 | 557 | | |
554 | 558 | | |
555 | 559 | | |
556 | | - | |
557 | 560 | | |
558 | 561 | | |
559 | 562 | | |
| |||
0 commit comments