1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { Resolver } from 'enhanced-resolve';
|
9 | import * as ts from 'typescript';
|
10 | import { InputFileSystem } from './ivy/system';
|
11 | export declare class NgccProcessor {
|
12 | private readonly propertiesToConsider;
|
13 | private readonly compilationWarnings;
|
14 | private readonly compilationErrors;
|
15 | private readonly basePath;
|
16 | private readonly tsConfigPath;
|
17 | private readonly inputFileSystem;
|
18 | private readonly resolver;
|
19 | private _processedModules;
|
20 | private _logger;
|
21 | private _nodeModulesDirectory;
|
22 | constructor(propertiesToConsider: string[], compilationWarnings: (Error | string)[], compilationErrors: (Error | string)[], basePath: string, tsConfigPath: string, inputFileSystem: InputFileSystem, resolver: Resolver);
|
23 | /** Process the entire node modules tree. */
|
24 | process(): void;
|
25 | /** Process a module and it's depedencies. */
|
26 | processModule(moduleName: string, resolvedModule: ts.ResolvedModule | ts.ResolvedTypeReferenceDirective): void;
|
27 | invalidate(fileName: string): void;
|
28 | /**
|
29 | * Try resolve a package.json file from the resolved .d.ts file.
|
30 | */
|
31 | private tryResolvePackage;
|
32 | private findNodeModulesDirectory;
|
33 | }
|