1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
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<Record<string, unknown> | null, object>[];
|
23 | engineHostCreator?: (options: NodeWorkflowOptions) => NodeModulesEngineHost;
|
24 | }
|
25 |
|
26 |
|
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 | }
|