UNPKG

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