This commit is contained in:
ezolenko 2023-05-18 11:19:35 -06:00
parent 5cac1955c7
commit 1f95797a60
19 changed files with 2209 additions and 2926 deletions

38
dist/context.d.ts vendored
View File

@ -1,20 +1,20 @@
import { PluginContext } from "rollup";
export declare enum VerbosityLevel {
Error = 0,
Warning = 1,
Info = 2,
Debug = 3
}
/** cannot be used in options hook (which does not have this.warn and this.error), but can be in other hooks */
export declare class RollupContext {
private verbosity;
private bail;
private context;
private prefix;
constructor(verbosity: VerbosityLevel, bail: boolean, context: PluginContext, prefix?: string);
warn(message: string | (() => string)): void;
error(message: string | (() => string)): void | never;
info(message: string | (() => string)): void;
debug(message: string | (() => string)): void;
}
import { PluginContext } from "rollup";
export declare enum VerbosityLevel {
Error = 0,
Warning = 1,
Info = 2,
Debug = 3
}
/** cannot be used in options hook (which does not have this.warn and this.error), but can be in other hooks */
export declare class RollupContext {
private verbosity;
private bail;
private context;
private prefix;
constructor(verbosity: VerbosityLevel, bail: boolean, context: PluginContext, prefix?: string);
warn(message: string | (() => string)): void;
error(message: string | (() => string)): void | never;
info(message: string | (() => string)): void;
debug(message: string | (() => string)): void;
}
//# sourceMappingURL=context.d.ts.map

View File

@ -1,10 +1,10 @@
/// <reference types="node" />
import * as path from "path";
import * as tsTypes from "typescript";
export declare class FormatHost implements tsTypes.FormatDiagnosticsHost {
getCurrentDirectory(): string;
getCanonicalFileName: typeof path.normalize;
getNewLine: () => string;
}
export declare const formatHost: FormatHost;
/// <reference types="node" />
import * as path from "path";
import * as tsTypes from "typescript";
export declare class FormatHost implements tsTypes.FormatDiagnosticsHost {
getCurrentDirectory(): string;
getCanonicalFileName: typeof path.normalize;
getNewLine: () => string;
}
export declare const formatHost: FormatHost;
//# sourceMappingURL=diagnostics-format-host.d.ts.map

24
dist/diagnostics.d.ts vendored
View File

@ -1,13 +1,13 @@
import * as tsTypes from "typescript";
import { RollupContext } from "./context";
export interface IDiagnostics {
flatMessage: string;
formatted: string;
fileLine?: string;
category: tsTypes.DiagnosticCategory;
code: number;
type: string;
}
export declare function convertDiagnostic(type: string, data: tsTypes.Diagnostic[]): IDiagnostics[];
export declare function printDiagnostics(context: RollupContext, diagnostics: IDiagnostics[], pretty?: boolean): void;
import * as tsTypes from "typescript";
import { RollupContext } from "./context";
export interface IDiagnostics {
flatMessage: string;
formatted: string;
fileLine?: string;
category: tsTypes.DiagnosticCategory;
code: number;
type: string;
}
export declare function convertDiagnostic(type: string, data: tsTypes.Diagnostic[]): IDiagnostics[];
export declare function printDiagnostics(context: RollupContext, diagnostics: IDiagnostics[], pretty?: boolean): void;
//# sourceMappingURL=diagnostics.d.ts.map

View File

@ -1,6 +1,6 @@
import * as tsTypes from "typescript";
import { IOptions } from "./ioptions";
import { RollupContext } from "./context";
export declare function getOptionsOverrides({ useTsconfigDeclarationDir, cacheRoot }: IOptions, preParsedTsconfig?: tsTypes.ParsedCommandLine): tsTypes.CompilerOptions;
export declare function createFilter(context: RollupContext, pluginOptions: IOptions, parsedConfig: tsTypes.ParsedCommandLine): (id: unknown) => boolean;
import * as tsTypes from "typescript";
import { IOptions } from "./ioptions";
import { RollupContext } from "./context";
export declare function getOptionsOverrides({ useTsconfigDeclarationDir, cacheRoot }: IOptions, preParsedTsconfig?: tsTypes.ParsedCommandLine): tsTypes.CompilerOptions;
export declare function createFilter(context: RollupContext, pluginOptions: IOptions, parsedConfig: tsTypes.ParsedCommandLine): (id: unknown) => boolean;
//# sourceMappingURL=get-options-overrides.d.ts.map

68
dist/host.d.ts vendored
View File

@ -1,35 +1,35 @@
import * as tsTypes from "typescript";
import { TransformerFactoryCreator } from "./ioptions";
export declare class LanguageServiceHost implements tsTypes.LanguageServiceHost {
private parsedConfig;
private transformers;
private cwd;
private snapshots;
private versions;
private service?;
private fileNames;
constructor(parsedConfig: tsTypes.ParsedCommandLine, transformers: TransformerFactoryCreator[], cwd: string);
reset(): void;
setLanguageService(service: tsTypes.LanguageService): void;
setSnapshot(fileName: string, source: string): tsTypes.IScriptSnapshot;
getScriptSnapshot(fileName: string): tsTypes.IScriptSnapshot | undefined;
getScriptFileNames: () => string[];
getScriptVersion(fileName: string): string;
getCustomTransformers(): tsTypes.CustomTransformers | undefined;
getCompilationSettings: () => tsTypes.CompilerOptions;
getTypeRootsVersion: () => number;
getCurrentDirectory: () => string;
useCaseSensitiveFileNames: () => boolean;
getDefaultLibFileName: typeof tsTypes.getDefaultLibFilePath;
readDirectory: (path: string, extensions?: readonly string[] | undefined, exclude?: readonly string[] | undefined, include?: readonly string[] | undefined, depth?: number | undefined) => string[];
readFile: (path: string, encoding?: string | undefined) => string | undefined;
fileExists: (path: string) => boolean;
directoryExists: (path: string) => boolean;
getDirectories: (path: string) => string[];
realpath: (path: string) => string;
trace: {
(...data: any[]): void;
(message?: any, ...optionalParams: any[]): void;
};
}
import * as tsTypes from "typescript";
import { TransformerFactoryCreator } from "./ioptions";
export declare class LanguageServiceHost implements tsTypes.LanguageServiceHost {
private parsedConfig;
private transformers;
private cwd;
private snapshots;
private versions;
private service?;
private fileNames;
constructor(parsedConfig: tsTypes.ParsedCommandLine, transformers: TransformerFactoryCreator[], cwd: string);
reset(): void;
setLanguageService(service: tsTypes.LanguageService): void;
setSnapshot(fileName: string, source: string): tsTypes.IScriptSnapshot;
getScriptSnapshot(fileName: string): tsTypes.IScriptSnapshot | undefined;
getScriptFileNames: () => string[];
getScriptVersion(fileName: string): string;
getCustomTransformers(): tsTypes.CustomTransformers | undefined;
getCompilationSettings: () => tsTypes.CompilerOptions;
getTypeRootsVersion: () => number;
getCurrentDirectory: () => string;
useCaseSensitiveFileNames: () => boolean;
getDefaultLibFileName: typeof tsTypes.getDefaultLibFilePath;
readDirectory: (path: string, extensions?: readonly string[] | undefined, exclude?: readonly string[] | undefined, include?: readonly string[] | undefined, depth?: number | undefined) => string[];
readFile: (path: string, encoding?: string | undefined) => string | undefined;
fileExists: (path: string) => boolean;
directoryExists: (path: string) => boolean;
getDirectories: (path: string) => string[];
realpath: (path: string) => string;
trace: {
(...data: any[]): void;
(message?: any, ...optionalParams: any[]): void;
};
}
//# sourceMappingURL=host.d.ts.map

18
dist/icache.d.ts vendored
View File

@ -1,10 +1,10 @@
export interface ICache<DataType> {
exists(name: string): boolean;
path(name: string): string;
match(names: string[]): boolean;
read(name: string): DataType | null | undefined;
write(name: string, data: DataType): void;
touch(name: string): void;
roll(): void;
}
export interface ICache<DataType> {
exists(name: string): boolean;
path(name: string): string;
match(names: string[]): boolean;
read(name: string): DataType | null | undefined;
write(name: string, data: DataType): void;
touch(name: string): void;
roll(): void;
}
//# sourceMappingURL=icache.d.ts.map

12
dist/index.d.ts vendored
View File

@ -1,7 +1,7 @@
import { PluginImpl } from "rollup";
import { IOptions } from "./ioptions";
declare type RPT2Options = Partial<IOptions>;
export { RPT2Options };
declare const typescript: PluginImpl<RPT2Options>;
export default typescript;
import { PluginImpl } from "rollup";
import { IOptions } from "./ioptions";
type RPT2Options = Partial<IOptions>;
export { RPT2Options };
declare const typescript: PluginImpl<RPT2Options>;
export default typescript;
//# sourceMappingURL=index.d.ts.map

2
dist/index.d.ts.map vendored
View File

@ -1 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAoD,MAAM,QAAQ,CAAC;AAUtF,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAWtC,aAAK,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAErC,OAAO,EAAE,WAAW,EAAE,CAAA;AAEtB,QAAA,MAAM,UAAU,EAAE,UAAU,CAAC,WAAW,CAgZvC,CAAC;AAEF,eAAe,UAAU,CAAC"}
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAoD,MAAM,QAAQ,CAAC;AAUtF,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAWtC,KAAK,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAErC,OAAO,EAAE,WAAW,EAAE,CAAA;AAEtB,QAAA,MAAM,UAAU,EAAE,UAAU,CAAC,WAAW,CAgZvC,CAAC;AAEF,eAAe,UAAU,CAAC"}

54
dist/ioptions.d.ts vendored
View File

@ -1,28 +1,28 @@
import * as tsTypes from "typescript";
import { tsModule } from "./tsproxy";
export interface ICustomTransformer {
before?: tsTypes.TransformerFactory<tsTypes.SourceFile>;
after?: tsTypes.TransformerFactory<tsTypes.SourceFile>;
afterDeclarations?: tsTypes.TransformerFactory<tsTypes.Bundle | tsTypes.SourceFile>;
}
export declare type TransformerFactoryCreator = (ls: tsTypes.LanguageService) => tsTypes.CustomTransformers | ICustomTransformer;
export interface IOptions {
cwd: string;
include: string | string[];
exclude: string | string[];
check: boolean;
verbosity: number;
clean: boolean;
cacheRoot: string;
abortOnError: boolean;
rollupCommonJSResolveHack: boolean;
tsconfig?: string;
useTsconfigDeclarationDir: boolean;
typescript: typeof tsModule;
tsconfigOverride: any;
transformers: TransformerFactoryCreator[];
tsconfigDefaults: any;
sourceMapCallback: (id: string, map: string) => void;
objectHashIgnoreUnknownHack: boolean;
}
import * as tsTypes from "typescript";
import { tsModule } from "./tsproxy";
export interface ICustomTransformer {
before?: tsTypes.TransformerFactory<tsTypes.SourceFile>;
after?: tsTypes.TransformerFactory<tsTypes.SourceFile>;
afterDeclarations?: tsTypes.TransformerFactory<tsTypes.Bundle | tsTypes.SourceFile>;
}
export type TransformerFactoryCreator = (ls: tsTypes.LanguageService) => tsTypes.CustomTransformers | ICustomTransformer;
export interface IOptions {
cwd: string;
include: string | string[];
exclude: string | string[];
check: boolean;
verbosity: number;
clean: boolean;
cacheRoot: string;
abortOnError: boolean;
rollupCommonJSResolveHack: boolean;
tsconfig?: string;
useTsconfigDeclarationDir: boolean;
typescript: typeof tsModule;
tsconfigOverride: any;
transformers: TransformerFactoryCreator[];
tsconfigDefaults: any;
sourceMapCallback: (id: string, map: string) => void;
objectHashIgnoreUnknownHack: boolean;
}
//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,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,2BAA2B,EAAE,OAAO,CAAC;CACrC"}

View File

@ -1,7 +1,7 @@
import { RollupContext } from "./context";
import { IOptions } from "./ioptions";
export declare function parseTsConfig(context: RollupContext, pluginOptions: IOptions): {
parsedTsConfig: import("typescript").ParsedCommandLine;
fileName: string | undefined;
};
import { RollupContext } from "./context";
import { IOptions } from "./ioptions";
export declare function parseTsConfig(context: RollupContext, pluginOptions: IOptions): {
parsedTsConfig: import("typescript").ParsedCommandLine;
fileName: string | undefined;
};
//# sourceMappingURL=parse-tsconfig.d.ts.map

View File

@ -1,25 +1,25 @@
import { ICache } from "./icache";
/**
* Saves data in new cache folder or reads it from old one.
* Avoids perpetually growing cache and situations when things need to consider changed and then reverted data to be changed.
*/
export declare class RollingCache<DataType> implements ICache<DataType> {
private cacheRoot;
private oldCacheRoot;
private newCacheRoot;
private rolled;
/** @param cacheRoot: root folder for the cache */
constructor(cacheRoot: string);
/** @returns true if name exists in either old cache or new cache */
exists(name: string): boolean;
path(name: string): string;
/** @returns true if old cache contains all names and nothing more */
match(names: string[]): boolean;
/** @returns data for name, must exist in either old cache or new cache */
read(name: string): DataType | null | undefined;
write(name: string, data: DataType): void;
touch(name: string): void;
/** clears old cache and moves new in its place */
roll(): void;
}
import { ICache } from "./icache";
/**
* Saves data in new cache folder or reads it from old one.
* Avoids perpetually growing cache and situations when things need to consider changed and then reverted data to be changed.
*/
export declare class RollingCache<DataType> implements ICache<DataType> {
private cacheRoot;
private oldCacheRoot;
private newCacheRoot;
private rolled;
/** @param cacheRoot: root folder for the cache */
constructor(cacheRoot: string);
/** @returns true if name exists in either old cache or new cache */
exists(name: string): boolean;
path(name: string): string;
/** @returns true if old cache contains all names and nothing more */
match(names: string[]): boolean;
/** @returns data for name, must exist in either old cache or new cache */
read(name: string): DataType | null | undefined;
write(name: string, data: DataType): void;
touch(name: string): void;
/** clears old cache and moves new in its place */
roll(): void;
}
//# sourceMappingURL=rollingcache.d.ts.map

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

96
dist/tscache.d.ts vendored
View File

@ -1,49 +1,49 @@
import * as tsTypes from "typescript";
import { RollupContext } from "./context";
import { IDiagnostics } from "./diagnostics";
export interface ICode {
code: string;
map?: string;
dts?: tsTypes.OutputFile;
dtsmap?: tsTypes.OutputFile;
references?: string[];
}
export declare function convertEmitOutput(output: tsTypes.EmitOutput, references?: string[]): ICode;
export declare function getAllReferences(importer: string, snapshot: tsTypes.IScriptSnapshot | undefined, options: tsTypes.CompilerOptions): string[];
export declare class TsCache {
private noCache;
private host;
private cacheRoot;
private options;
private rollupConfig;
private context;
private cacheVersion;
private cachePrefix;
private dependencyTree;
private ambientTypes;
private ambientTypesDirty;
private cacheDir;
private codeCache;
private typesCache;
private semanticDiagnosticsCache;
private syntacticDiagnosticsCache;
private hashOptions;
constructor(noCache: boolean, hashIgnoreUnknown: boolean, host: tsTypes.LanguageServiceHost, cacheRoot: string, options: tsTypes.CompilerOptions, rollupConfig: any, rootFilenames: string[], context: RollupContext);
private clean;
setDependency(importee: string, importer: string): void;
walkTree(cb: (id: string) => void | false): void;
done(): void;
getCompiled(id: string, snapshot: tsTypes.IScriptSnapshot, transform: () => ICode | undefined): ICode | undefined;
getSyntacticDiagnostics(id: string, snapshot: tsTypes.IScriptSnapshot, check: () => tsTypes.Diagnostic[]): IDiagnostics[];
getSemanticDiagnostics(id: string, snapshot: tsTypes.IScriptSnapshot, check: () => tsTypes.Diagnostic[]): IDiagnostics[];
private checkAmbientTypes;
private getDiagnostics;
private getCached;
private init;
private markAsDirty;
/** @returns true if node, any of its imports, or any ambient types changed */
private isDirty;
/** @returns an FS-safe hash string for use as a path to the cached content */
private createHash;
}
import * as tsTypes from "typescript";
import { RollupContext } from "./context";
import { IDiagnostics } from "./diagnostics";
export interface ICode {
code: string;
map?: string;
dts?: tsTypes.OutputFile;
dtsmap?: tsTypes.OutputFile;
references?: string[];
}
export declare function convertEmitOutput(output: tsTypes.EmitOutput, references?: string[]): ICode;
export declare function getAllReferences(importer: string, snapshot: tsTypes.IScriptSnapshot | undefined, options: tsTypes.CompilerOptions): string[];
export declare class TsCache {
private noCache;
private host;
private cacheRoot;
private options;
private rollupConfig;
private context;
private cacheVersion;
private cachePrefix;
private dependencyTree;
private ambientTypes;
private ambientTypesDirty;
private cacheDir;
private codeCache;
private typesCache;
private semanticDiagnosticsCache;
private syntacticDiagnosticsCache;
private hashOptions;
constructor(noCache: boolean, hashIgnoreUnknown: boolean, host: tsTypes.LanguageServiceHost, cacheRoot: string, options: tsTypes.CompilerOptions, rollupConfig: any, rootFilenames: string[], context: RollupContext);
private clean;
setDependency(importee: string, importer: string): void;
walkTree(cb: (id: string) => void | false): void;
done(): void;
getCompiled(id: string, snapshot: tsTypes.IScriptSnapshot, transform: () => ICode | undefined): ICode | undefined;
getSyntacticDiagnostics(id: string, snapshot: tsTypes.IScriptSnapshot, check: () => tsTypes.Diagnostic[]): IDiagnostics[];
getSemanticDiagnostics(id: string, snapshot: tsTypes.IScriptSnapshot, check: () => tsTypes.Diagnostic[]): IDiagnostics[];
private checkAmbientTypes;
private getDiagnostics;
private getCached;
private init;
private markAsDirty;
/** @returns true if node, any of its imports, or any ambient types changed */
private isDirty;
/** @returns an FS-safe hash string for use as a path to the cached content */
private createHash;
}
//# sourceMappingURL=tscache.d.ts.map

8
dist/tslib.d.ts vendored
View File

@ -1,5 +1,5 @@
export declare const TSLIB = "tslib";
export declare const TSLIB_VIRTUAL = "\0tslib.js";
export declare let tslibSource: string;
export declare let tslibVersion: string;
export declare const TSLIB = "tslib";
export declare const TSLIB_VIRTUAL = "\0tslib.js";
export declare let tslibSource: string;
export declare let tslibVersion: string;
//# sourceMappingURL=tslib.d.ts.map

6
dist/tsproxy.d.ts vendored
View File

@ -1,4 +1,4 @@
import * as tsTypes from "typescript";
export declare let tsModule: typeof tsTypes;
export declare function setTypescriptModule(override: typeof tsTypes): void;
import * as tsTypes from "typescript";
export declare let tsModule: typeof tsTypes;
export declare function setTypescriptModule(override: typeof tsTypes): void;
//# sourceMappingURL=tsproxy.d.ts.map