1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { BaseException } from '@angular-devkit/core';
|
9 | import { RuleFactory } from '../src';
|
10 | import { FileSystemCollectionDesc, FileSystemSchematicDesc } from './description';
|
11 | import { FileSystemEngineHostBase } from './file-system-engine-host-base';
|
12 | export declare class NodePackageDoesNotSupportSchematics extends BaseException {
|
13 | constructor(name: string);
|
14 | }
|
15 | /**
|
16 | * A simple EngineHost that uses NodeModules to resolve collections.
|
17 | */
|
18 | export declare class NodeModulesEngineHost extends FileSystemEngineHostBase {
|
19 | private readonly paths?;
|
20 | constructor(paths?: string[] | undefined);
|
21 | private resolve;
|
22 | protected _resolveCollectionPath(name: string, requester?: string): string;
|
23 | protected _resolveReferenceString(refString: string, parentPath: string, collectionDescription?: FileSystemCollectionDesc): {
|
24 | ref: RuleFactory<{}>;
|
25 | path: string;
|
26 | } | null;
|
27 | protected _transformCollectionDescription(name: string, desc: Partial<FileSystemCollectionDesc>): FileSystemCollectionDesc;
|
28 | protected _transformSchematicDescription(name: string, _collection: FileSystemCollectionDesc, desc: Partial<FileSystemSchematicDesc>): FileSystemSchematicDesc;
|
29 | }
|