[6a3a178] | 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 { Architect, BuilderOutput, ScheduleOptions, Target } from '@angular-devkit/architect';
|
---|
| 9 | import { TestProjectHost, TestingArchitectHost } from '@angular-devkit/architect/testing';
|
---|
| 10 | import { Path, json, virtualFs, workspaces } from '@angular-devkit/core';
|
---|
| 11 | export declare const workspaceRoot: Path;
|
---|
| 12 | export declare const host: TestProjectHost;
|
---|
| 13 | export declare const outputPath: Path;
|
---|
| 14 | export declare const browserTargetSpec: {
|
---|
| 15 | project: string;
|
---|
| 16 | target: string;
|
---|
| 17 | };
|
---|
| 18 | export declare const devServerTargetSpec: {
|
---|
| 19 | project: string;
|
---|
| 20 | target: string;
|
---|
| 21 | };
|
---|
| 22 | export declare const extractI18nTargetSpec: {
|
---|
| 23 | project: string;
|
---|
| 24 | target: string;
|
---|
| 25 | };
|
---|
| 26 | export declare const karmaTargetSpec: {
|
---|
| 27 | project: string;
|
---|
| 28 | target: string;
|
---|
| 29 | };
|
---|
| 30 | export declare const tslintTargetSpec: {
|
---|
| 31 | project: string;
|
---|
| 32 | target: string;
|
---|
| 33 | };
|
---|
| 34 | export declare const protractorTargetSpec: {
|
---|
| 35 | project: string;
|
---|
| 36 | target: string;
|
---|
| 37 | };
|
---|
| 38 | export declare function createArchitect(workspaceRoot: Path): Promise<{
|
---|
| 39 | workspace: workspaces.WorkspaceDefinition;
|
---|
| 40 | architectHost: TestingArchitectHost;
|
---|
| 41 | architect: Architect;
|
---|
| 42 | }>;
|
---|
| 43 | export interface BrowserBuildOutput {
|
---|
| 44 | output: BuilderOutput;
|
---|
| 45 | files: {
|
---|
| 46 | [file: string]: Promise<string>;
|
---|
| 47 | };
|
---|
| 48 | }
|
---|
| 49 | export declare function browserBuild(architect: Architect, host: virtualFs.Host, target: Target, overrides?: json.JsonObject, scheduleOptions?: ScheduleOptions): Promise<BrowserBuildOutput>;
|
---|
| 50 | export declare const lazyModuleFiles: {
|
---|
| 51 | [path: string]: string;
|
---|
| 52 | };
|
---|
| 53 | export declare const lazyModuleFnImport: {
|
---|
| 54 | [path: string]: string;
|
---|
| 55 | };
|
---|