Last change
on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 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 | */
|
---|
8 | import { json, workspaces } from '@angular-devkit/core';
|
---|
9 | import { Rule, Tree } from '@angular-devkit/schematics';
|
---|
10 | export declare function updateWorkspace(updater: (workspace: workspaces.WorkspaceDefinition) => void | Rule | PromiseLike<void | Rule>): Rule;
|
---|
11 | export declare function updateWorkspace(workspace: workspaces.WorkspaceDefinition): Rule;
|
---|
12 | export declare function getWorkspace(tree: Tree, path?: string): Promise<workspaces.WorkspaceDefinition>;
|
---|
13 | /**
|
---|
14 | * Build a default project path for generating.
|
---|
15 | * @param project The project which will have its default path generated.
|
---|
16 | */
|
---|
17 | export declare function buildDefaultPath(project: workspaces.ProjectDefinition): string;
|
---|
18 | export declare function createDefaultPath(tree: Tree, projectName: string): Promise<string>;
|
---|
19 | export declare function allWorkspaceTargets(workspace: workspaces.WorkspaceDefinition): Iterable<[string, workspaces.TargetDefinition, string, workspaces.ProjectDefinition]>;
|
---|
20 | export declare function allTargetOptions(target: workspaces.TargetDefinition, skipBaseOptions?: boolean): Iterable<[string | undefined, Record<string, json.JsonValue | undefined>]>;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.