This commit is contained in:
2026-08-14 16:03:47 +01:00
parent fd53e3f4fb
commit dfdc3b2840
2463 changed files with 186456 additions and 111315 deletions
+3 -6
View File
@@ -5,11 +5,6 @@
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/**
* @fileoverview This file contains the parser functions that are used to
* interpret the output of various package manager commands. Separating these
* into their own file improves modularity and allows for focused testing.
*/
import { ErrorInfo } from './error';
import { Logger } from './logger';
import { PackageManifest, PackageMetadata } from './package-metadata';
@@ -34,7 +29,9 @@ import { InstalledPackage } from './package-tree';
* @param logger An optional logger instance.
* @returns A map of package names to their installed package details.
*/
export declare function parseNpmLikeDependencies(stdout: string, logger?: Logger): Map<string, InstalledPackage>;
export declare function parseNpmLikeDependencies(stdout: string, logger?: Logger, options?: {
workspacePackageName?: string;
}): Map<string, InstalledPackage>;
/**
* Parses the output of `yarn list` (classic).
*