projecte_ionic/node_modules/@angular/cli/utilities/package-manager.d.ts
2022-02-09 18:30:03 +01:00

16 lines
613 B
TypeScript
Executable file

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { PackageManager } from '../lib/config/workspace-schema';
export declare function supportsYarn(): boolean;
export declare function supportsNpm(): boolean;
export declare function getPackageManager(root: string): Promise<PackageManager>;
/**
* Checks if the npm version is a supported 7.x version. If not, display a warning.
*/
export declare function ensureCompatibleNpm(root: string): Promise<void>;