1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { Tree } from '@angular-devkit/schematics';
|
9 | import { SchematicTestRunner, UnitTestTree } from '@angular-devkit/schematics/testing';
|
10 | import * as ts from 'typescript';
|
11 | import { WorkspaceProject, WorkspaceSchema } from '@schematics/angular/utility/workspace-models';
|
12 | import { JsonArray, JsonObject, workspaces } from '@angular-devkit/core';
|
13 | export declare function getProjectTargetOptions(project: workspaces.ProjectDefinition, buildTarget: string): Record<string, string | number | boolean | JsonArray | JsonObject>;
|
14 | export declare function addPackageToPackageJson(host: Tree, pkg: string, version: string): Tree;
|
15 | export declare function createTestApp(runner: SchematicTestRunner, appOptions?: {}): Promise<UnitTestTree>;
|
16 | export declare function removePackageJsonDependency(tree: Tree, dependencyName: string): void;
|
17 | export declare function addModuleImportToRootModule(host: Tree, moduleName: string, src: string, project: workspaces.ProjectDefinition): void;
|
18 | export declare function getSourceFile(host: Tree, path: string): ts.SourceFile;
|
19 | export declare function getProjectFromWorkSpace(workspace: WorkspaceSchema, projectName?: string): WorkspaceProject;
|