You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(@angular/cli): support non-registry sources in getPackageManifest
The `getPackageManifest` method in the package manager abstraction was previously limited to fetching manifests from an NPM registry.
This commit refactors the method to accept a generic `packageSpecifier` string. This allows the abstraction to leverage the underlying package manager's native ability to read manifests from various sources, including local tarballs (`.tgz`), local directories (`file:`), and git URLs, in addition to registry specifiers.
This makes the `PackageManager` class more robust and capable of handling all package sources supported by commands like `ng add`.
0 commit comments