Type Alias ProcessedConfig
compileFilepaths: string[];
compilerOptions: CompilerOptions;
dtsDirectoryPath: string;
dtsEntryPath: string;
generateConfig: GenerateConfig;
inputRelativeDir: string;
isTSMode: boolean;
lexerFilepaths: string[];
localPackageImports: Map<string, string>;
packageObj: PackageJson;
packages: Map<string, string>;
tsFilepaths: string[];
}
Properties
compileFilepaths
A list of all file paths to compile.
compilerOptions
TS compiler options.
dtsDirectoryPath
The directory path for intermediate TS declarations generated.
dtsEntryPath
The entry point path for intermediate TS declarations generated.
generateConfig
The original generate generateConfig w/ default data.
inputRelativeDir
Relative directory of common project files path.
isTSMode
Indicates if the Typescript mode / processing is enabled. This is true when the entry point is a Typescript file.
lexerFilepaths
The lexically parsed original file paths connected with the entry point.
localPackageImports
Contains local files referenced by package.json imports field.
packageObj
Closest package.json object from input source file.
packages
Top level packages exported from entry point. Key is the identifier in source code / may be an imports alias /
value is the actual package identifier.
tsFilepaths
When processing an ESM entry point this contains a list of all TS files to add synthetic exports.
Contains the processed config and associated data. This is internal data for an execution of
esm-d-tsand is relevant foresm-d-tsplugin authors.