source: trip-planner-front/node_modules/@angular/cli/utilities/config.d.ts@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.6 KB
Line 
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 { json, workspaces } from '@angular-devkit/core';
9import { JSONFile } from './json-file';
10export declare const workspaceSchemaPath: string;
11export declare class AngularWorkspace {
12 private workspace;
13 readonly filePath: string;
14 readonly basePath: string;
15 constructor(workspace: workspaces.WorkspaceDefinition, filePath: string);
16 get extensions(): Record<string, json.JsonValue | undefined>;
17 get projects(): workspaces.ProjectDefinitionCollection;
18 getCli(): Record<string, any>;
19 getProjectCli(projectName: string): Record<string, any>;
20 static load(workspaceFilePath: string): Promise<AngularWorkspace>;
21}
22export declare function getWorkspace(level?: 'local' | 'global'): Promise<AngularWorkspace | null>;
23export declare function createGlobalSettings(): string;
24export declare function getWorkspaceRaw(level?: 'local' | 'global'): [JSONFile | null, string | null];
25export declare function validateWorkspace(data: json.JsonObject): Promise<void>;
26export declare function getProjectByCwd(workspace: AngularWorkspace): string | null;
27export declare function getConfiguredPackageManager(): Promise<string | null>;
28export declare function migrateLegacyGlobalConfig(): boolean;
29export declare function getSchematicDefaults(collection: string, schematic: string, project?: string | null): Promise<{}>;
30export declare function isWarningEnabled(warning: string): Promise<boolean>;
Note: See TracBrowser for help on using the repository browser.