Last change
on this file 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 { Path, schema, virtualFs } from '@angular-devkit/core';
|
---|
9 | import { workflow } from '@angular-devkit/schematics';
|
---|
10 | import { FileSystemEngine } from '../description';
|
---|
11 | import { OptionTransform } from '../file-system-engine-host-base';
|
---|
12 | import { NodeModulesEngineHost } from '../node-module-engine-host';
|
---|
13 | export interface NodeWorkflowOptions {
|
---|
14 | force?: boolean;
|
---|
15 | dryRun?: boolean;
|
---|
16 | packageManager?: string;
|
---|
17 | packageManagerForce?: boolean;
|
---|
18 | packageRegistry?: string;
|
---|
19 | registry?: schema.CoreSchemaRegistry;
|
---|
20 | resolvePaths?: string[];
|
---|
21 | schemaValidation?: boolean;
|
---|
22 | optionTransforms?: OptionTransform<object, object>[];
|
---|
23 | engineHostCreator?: (options: NodeWorkflowOptions) => NodeModulesEngineHost;
|
---|
24 | }
|
---|
25 | /**
|
---|
26 | * A workflow specifically for Node tools.
|
---|
27 | */
|
---|
28 | export declare class NodeWorkflow extends workflow.BaseWorkflow {
|
---|
29 | constructor(root: string, options: NodeWorkflowOptions);
|
---|
30 | constructor(host: virtualFs.Host, options: NodeWorkflowOptions & {
|
---|
31 | root?: Path;
|
---|
32 | });
|
---|
33 | get engine(): FileSystemEngine;
|
---|
34 | get engineHost(): NodeModulesEngineHost;
|
---|
35 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.