Commit 0b60377
committed
fix(@angular/cli): force temporary directory for non-registry specifiers
When resolving package manifests from file, git, or remote URLs, the CLI relies on installing the package into an isolated temporary directory to identify the package's name. This change forces the 'acquireTempPackage' method to use the 'temporary-directory' strategy for these lookups, ensuring that the package identification logic remains correct even when the package manager (like Bun) defaults to a 'project-root' strategy.1 parent f1c95a4 commit 0b60377
File tree
1 file changed
+10
-2
lines changed- packages/angular/cli/src/package-managers
1 file changed
+10
-2
lines changedLines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| 505 | + | |
505 | 506 | | |
506 | 507 | | |
507 | 508 | | |
| |||
542 | 543 | | |
543 | 544 | | |
544 | 545 | | |
545 | | - | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
546 | 551 | | |
547 | | - | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
548 | 556 | | |
549 | 557 | | |
550 | 558 | | |
| |||
0 commit comments