1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { JsonAstObject, JsonObject, json, workspaces } from '@angular-devkit/core';
|
9 | export declare const workspaceSchemaPath: string;
|
10 | export declare class AngularWorkspace {
|
11 | private workspace;
|
12 | readonly filePath: string;
|
13 | readonly basePath: string;
|
14 | constructor(workspace: workspaces.WorkspaceDefinition, filePath: string);
|
15 | get extensions(): Record<string, json.JsonValue | undefined>;
|
16 | get projects(): workspaces.ProjectDefinitionCollection;
|
17 | getCli(): Record<string, any>;
|
18 | getProjectCli(projectName: string): Record<string, any>;
|
19 | }
|
20 | export declare function getWorkspace(level?: 'local' | 'global'): Promise<AngularWorkspace | null>;
|
21 | export declare function createGlobalSettings(): string;
|
22 | export declare function getWorkspaceRaw(level?: 'local' | 'global'): [JsonAstObject | null, string | null];
|
23 | export declare function validateWorkspace(data: JsonObject): Promise<void>;
|
24 | export declare function getProjectByCwd(workspace: AngularWorkspace): string | null;
|
25 | export declare function getConfiguredPackageManager(): Promise<string | null>;
|
26 | export declare function migrateLegacyGlobalConfig(): boolean;
|
27 | export declare function getSchematicDefaults(collection: string, schematic: string, project?: string | null): Promise<{}>;
|
28 | export declare function isWarningEnabled(warning: string): Promise<boolean>;
|