formacao
This commit is contained in:
+3
-6
@@ -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).
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user