UNPKG

1.13 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google Inc. 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 { JsonAstObject, JsonObject, experimental } from '@angular-devkit/core';
9export declare const workspaceSchemaPath: string;
10export declare function getWorkspace(level?: 'local' | 'global'): Promise<experimental.workspace.Workspace | null>;
11export declare function createGlobalSettings(): string;
12export declare function getWorkspaceRaw(level?: 'local' | 'global'): [JsonAstObject | null, string | null];
13export declare function validateWorkspace(json: JsonObject): Promise<boolean>;
14export declare function getProjectByCwd(workspace: experimental.workspace.Workspace): string | null;
15export declare function getConfiguredPackageManager(): Promise<string | null>;
16export declare function migrateLegacyGlobalConfig(): boolean;
17export declare function getSchematicDefaults(collection: string, schematic: string, project?: string | null): Promise<{}>;
18export declare function isWarningEnabled(warning: string): Promise<boolean>;