chore(core): monorepo, esm targeting, improved management (#8707)

This commit is contained in:
Nathan Walker
2020-08-25 20:00:59 -07:00
committed by GitHub
parent 6f15334934
commit 020ad4da37
4271 changed files with 148599 additions and 149734 deletions

17
packages/webpack/utils/ast-utils.d.ts vendored Normal file
View File

@ -0,0 +1,17 @@
import * as ts from 'typescript';
export declare function getMainModulePath(entryFilePath: string, tsConfigName: string): string;
export declare function findBootstrapModuleCall(mainPath: string): ts.CallExpression | null;
export declare function findBootstrapModuleCallInSource(source: ts.SourceFile): ts.CallExpression | null;
export declare function findNativeScriptPlatformCallInSource(source: ts.SourceFile): ts.CallExpression | null;
export declare function findMethodCallInSource(source: ts.SourceFile, methodName: string): ts.CallExpression | null;
export declare function findBootstrappedModulePath(mainPath: string): string;
export declare function findBootstrappedModulePathInSource(source: ts.SourceFile): string;
export declare function findNativeScriptPlatformPathInSource(source: ts.SourceFile): string;
export declare function getAppModulePath(mainPath: string): string;
export declare function findIdentifierNode(node: ts.Node, text: string): ts.Node | null;
export declare function getObjectPropertyMatches(objectNode: ts.ObjectLiteralExpression, sourceFile: ts.SourceFile, targetPropertyName: string): ts.ObjectLiteralElement[];
export declare function getDecoratorMetadata(source: ts.SourceFile, identifier: string, module: string): ts.Node[];
export declare function angularImportsFromNode(node: ts.ImportDeclaration, _sourceFile: ts.SourceFile): {
[name: string]: string;
};
export declare function getExpressionName(expression: ts.Expression): string;