mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
- build for 0.33.0
This commit is contained in:
parent
3fc8caf3d9
commit
bba2f19301
14
dist/context.d.ts
vendored
14
dist/context.d.ts
vendored
@ -1,3 +1,4 @@
|
||||
import { PluginContext } from "rollup";
|
||||
export interface IContext {
|
||||
warn(message: string | (() => string)): void;
|
||||
error(message: string | (() => string)): void;
|
||||
@ -10,6 +11,7 @@ export declare enum VerbosityLevel {
|
||||
Info = 2,
|
||||
Debug = 3
|
||||
}
|
||||
/** mainly to be used in options hook, but can be used in other hooks too */
|
||||
export declare class ConsoleContext implements IContext {
|
||||
private verbosity;
|
||||
private prefix;
|
||||
@ -19,4 +21,16 @@ export declare class ConsoleContext implements IContext {
|
||||
info(message: string | (() => string)): void;
|
||||
debug(message: string | (() => string)): void;
|
||||
}
|
||||
/** 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 implements IContext {
|
||||
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;
|
||||
info(message: string | (() => string)): void;
|
||||
debug(message: string | (() => string)): void;
|
||||
}
|
||||
//# sourceMappingURL=context.d.ts.map
|
||||
2
dist/context.d.ts.map
vendored
2
dist/context.d.ts.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,QAAQ;IAExB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI,CAAC;IAC7C,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI,CAAC;IAC9C,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MA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IACJ,KAAK,IAAA;CACL;AAQD,4EAA4E;AAC5E,qBAAa,cAAe,YAAW,QAAQ;IAElC,OAAO,CAAC,SAAS;IAAkB,OAAO,CAAC,MAAM;gBAAzC,SAAS,EAAE,cAAc,EAAU,MAAM,GAAE,MAAW;IAInE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI;IAO5C,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI;IAO7C,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI;IAO5C,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI;CAMpD;AAED,+GAA+G;AAC/G,qBAAa,aAAc,YAAW,QAAQ;IAEjC,OAAO,CAAC,SAAS;IAAkB,OAAO,CAAC,IAAI;IAAW,OAAO,CAAC,OAAO;IAAiB,OAAO,CAAC,MAAM;gBAAhG,SAAS,EAAE,cAAc,EAAU,IAAI,EAAE,OAAO,EAAU,OAAO,EAAE,aAAa,EAAU,MAAM,GAAE,MAAW;IAI1H,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI;IAO5C,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI;IAW7C,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI;IAO5C,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI;CAMpD"}
|
||||
6
dist/diagnostics-format-host.d.ts
vendored
6
dist/diagnostics-format-host.d.ts
vendored
@ -1,8 +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(fileName: string): string;
|
||||
getNewLine(): string;
|
||||
getCanonicalFileName: typeof path.normalize;
|
||||
getNewLine: () => string;
|
||||
}
|
||||
export declare const formatHost: FormatHost;
|
||||
//# sourceMappingURL=diagnostics-format-host.d.ts.map
|
||||
2
dist/diagnostics-format-host.d.ts.map
vendored
2
dist/diagnostics-format-host.d.ts.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"diagnostics-format-host.d.ts","sourceRoot":"","sources":["../src/diagnostics-format-host.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AAItC,qBAAa,UAAW,YAAW,OAAO,CAAC,qBAAqB;IAExD,mBAAmB,IAAI,MAAM;IAK7B,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAK9C,UAAU,IAAI,MAAM;CAI3B;AAED,eAAO,MAAM,UAAU,YAAmB,CAAC"}
|
||||
{"version":3,"file":"diagnostics-format-host.d.ts","sourceRoot":"","sources":["../src/diagnostics-format-host.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AAItC,qBAAa,UAAW,YAAW,OAAO,CAAC,qBAAqB;IAExD,mBAAmB,IAAI,MAAM;IAK7B,oBAAoB,wBAAkB;IACtC,UAAU,eAA8B;CAC/C;AAED,eAAO,MAAM,UAAU,YAAmB,CAAC"}
|
||||
31
dist/host.d.ts
vendored
31
dist/host.d.ts
vendored
@ -11,22 +11,25 @@ export declare class LanguageServiceHost implements tsTypes.LanguageServiceHost
|
||||
constructor(parsedConfig: tsTypes.ParsedCommandLine, transformers: TransformerFactoryCreator[], cwd: string);
|
||||
reset(): void;
|
||||
setLanguageService(service: tsTypes.LanguageService): void;
|
||||
setSnapshot(fileName: string, data: string): tsTypes.IScriptSnapshot;
|
||||
setSnapshot(fileName: string, source: string): tsTypes.IScriptSnapshot;
|
||||
getScriptSnapshot(fileName: string): tsTypes.IScriptSnapshot | undefined;
|
||||
getCurrentDirectory(): string;
|
||||
getScriptFileNames: () => string[];
|
||||
getScriptVersion(fileName: string): string;
|
||||
getScriptFileNames(): string[];
|
||||
getCompilationSettings(): tsTypes.CompilerOptions;
|
||||
getDefaultLibFileName(opts: tsTypes.CompilerOptions): string;
|
||||
useCaseSensitiveFileNames(): boolean;
|
||||
readDirectory(path: string, extensions?: string[], exclude?: string[], include?: string[]): string[];
|
||||
readFile(path: string, encoding?: string): string | undefined;
|
||||
fileExists(path: string): boolean;
|
||||
realpath(path: string): string;
|
||||
getTypeRootsVersion(): number;
|
||||
directoryExists(directoryName: string): boolean;
|
||||
getDirectories(directoryName: string): string[];
|
||||
getCustomTransformers(): tsTypes.CustomTransformers | undefined;
|
||||
trace(line: string): void;
|
||||
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
|
||||
2
dist/host.d.ts.map
vendored
2
dist/host.d.ts.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../src/host.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AAItC,OAAO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AgC;IAC/C,cAAc,6BAA+B;IAC7C,QAAQ,2BAA0B;IAElC,KAAK;;;MAAe;CAC3B"}
|
||||
2
dist/index.d.ts.map
vendored
2
dist/index.d.ts.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAkF,MAAM,QAAQ,CAAC;AAYpH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAMtC,aAAK,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAErC,OAAO,EAAE,WAAW,EAAE,CAAA;AAEtB,QAAA,MAAM,UAAU,EAAE,UAAU,CAAC,WAAW,CA6VvC,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;AAStF,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAMtC,aAAK,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAErC,OAAO,EAAE,WAAW,EAAE,CAAA;AAEtB,QAAA,MAAM,UAAU,EAAE,UAAU,CAAC,WAAW,CAmXvC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
||||
11
dist/nocache.d.ts
vendored
11
dist/nocache.d.ts
vendored
@ -1,11 +0,0 @@
|
||||
import { ICache } from "./icache";
|
||||
export declare class NoCache<DataType> implements 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=nocache.d.ts.map
|
||||
1
dist/nocache.d.ts.map
vendored
1
dist/nocache.d.ts.map
vendored
@ -1 +0,0 @@
|
||||
{"version":3,"file":"nocache.d.ts","sourceRoot":"","sources":["../src/nocache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,qBAAa,OAAO,CAAC,QAAQ,CAAE,YAAW,MAAM,CAAC,QAAQ,CAAC;IAElD,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAK9B,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAK1B,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO;IAKhC,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,GAAG,SAAS;IAKhD,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,GAAG,IAAI;IAK3C,KAAK,CAAC,KAAK,EAAE,MAAM;IAKnB,IAAI;CAIX"}
|
||||
2
dist/parse-tsconfig.d.ts.map
vendored
2
dist/parse-tsconfig.d.ts.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"parse-tsconfig.d.ts","sourceRoot":"","sources":["../src/parse-tsconfig.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAIrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,wBAAgB,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ;;;EA8CvE"}
|
||||
{"version":3,"file":"parse-tsconfig.d.ts","sourceRoot":"","sources":["../src/parse-tsconfig.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAIrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,wBAAgB,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ;;;EA2CvE"}
|
||||
2
dist/print-diagnostics.d.ts
vendored
2
dist/print-diagnostics.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
import { IContext } from "./context";
|
||||
import { IDiagnostics } from "./tscache";
|
||||
export declare function printDiagnostics(context: IContext, diagnostics: IDiagnostics[], pretty: boolean): void;
|
||||
export declare function printDiagnostics(context: IContext, diagnostics: IDiagnostics[], pretty?: boolean): void;
|
||||
//# sourceMappingURL=print-diagnostics.d.ts.map
|
||||
2
dist/print-diagnostics.d.ts.map
vendored
2
dist/print-diagnostics.d.ts.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"print-diagnostics.d.ts","sourceRoot":"","sources":["../src/print-diagnostics.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAuCtG"}
|
||||
{"version":3,"file":"print-diagnostics.d.ts","sourceRoot":"","sources":["../src/print-diagnostics.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,MAAM,UAAO,GAAG,IAAI,CAqCpG"}
|
||||
24
dist/rollingcache.d.ts
vendored
24
dist/rollingcache.d.ts
vendored
@ -5,33 +5,21 @@ import { ICache } from "./icache";
|
||||
*/
|
||||
export declare class RollingCache<DataType> implements ICache<DataType> {
|
||||
private cacheRoot;
|
||||
private checkNewCache;
|
||||
private oldCacheRoot;
|
||||
private newCacheRoot;
|
||||
private rolled;
|
||||
/**
|
||||
* @param cacheRoot: root folder for the cache
|
||||
* @param checkNewCache: whether to also look in new cache when reading from cache
|
||||
*/
|
||||
constructor(cacheRoot: string, checkNewCache: boolean);
|
||||
/**
|
||||
* @returns true if name exist in old cache (or either old of new cache if checkNewCache is true)
|
||||
*/
|
||||
/** @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
|
||||
*/
|
||||
/** @returns true if old cache contains all names and nothing more */
|
||||
match(names: string[]): boolean;
|
||||
/**
|
||||
* @returns data for name, must exist in old cache (or either old of new cache if checkNewCache is true)
|
||||
*/
|
||||
/** @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
|
||||
*/
|
||||
/** clears old cache and moves new in its place */
|
||||
roll(): void;
|
||||
}
|
||||
//# sourceMappingURL=rollingcache.d.ts.map
|
||||
2
dist/rollingcache.d.ts.map
vendored
2
dist/rollingcache.d.ts.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"rollingcache.d.ts","sourceRoot":"","sources":["../src/rollingcache.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC;;;GAGG;AACH,qBAAa,YAAY,CAAC,QAAQ,CAAE,YAAW,MAAM,CAAC,QAAQ,CAAC;IAUlD,OAAO,CAAC,SAAS;IAAU,OAAO,CAAC,aAAa;IAR5D,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,MAAM,CAAkB;IAEhC;;;OAGG;gBACiB,SAAS,EAAE,MAAM,EAAU,aAAa,EAAE,OAAO;IAOrE;;OAEG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAW7B,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAKjC;;OAEG;IACI,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO;IAWtC;;OAEG;IACI,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,GAAG,SAAS;IAQ/C,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,IAAI;IAWzC,KAAK,CAAC,IAAI,EAAE,MAAM;IAOzB;;OAEG;IACI,IAAI;CAWX"}
|
||||
{"version":3,"file":"rollingcache.d.ts","sourceRoot":"","sources":["../src/rollingcache.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC;;;GAGG;AACH,qBAAa,YAAY,CAAC,QAAQ,CAAE,YAAW,MAAM,CAAC,QAAQ,CAAC;IAOlD,OAAO,CAAC,SAAS;IAL7B,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,MAAM,CAAkB;IAEhC,kDAAkD;gBAC9B,SAAS,EAAE,MAAM;IAOrC,oEAAoE;IAC7D,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAW7B,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAKjC,qEAAqE;IAC9D,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO;IAWtC,0EAA0E;IACnE,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,GAAG,SAAS;IAQ/C,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,IAAI;IAWzC,KAAK,CAAC,IAAI,EAAE,MAAM;IAQzB,kDAAkD;IAC3C,IAAI;CAWX"}
|
||||
6708
dist/rollup-plugin-typescript2.cjs.js
vendored
6708
dist/rollup-plugin-typescript2.cjs.js
vendored
File diff suppressed because it is too large
Load Diff
2
dist/rollup-plugin-typescript2.cjs.js.map
vendored
2
dist/rollup-plugin-typescript2.cjs.js.map
vendored
File diff suppressed because one or more lines are too long
6699
dist/rollup-plugin-typescript2.es.js
vendored
6699
dist/rollup-plugin-typescript2.es.js
vendored
File diff suppressed because it is too large
Load Diff
2
dist/rollup-plugin-typescript2.es.js.map
vendored
2
dist/rollup-plugin-typescript2.es.js.map
vendored
File diff suppressed because one or more lines are too long
15
dist/rollupcontext.d.ts
vendored
15
dist/rollupcontext.d.ts
vendored
@ -1,15 +0,0 @@
|
||||
import { PluginContext } from "rollup";
|
||||
import { IContext, VerbosityLevel } from "./context";
|
||||
export declare class RollupContext implements IContext {
|
||||
private verbosity;
|
||||
private bail;
|
||||
private context;
|
||||
private prefix;
|
||||
private hasContext;
|
||||
constructor(verbosity: VerbosityLevel, bail: boolean, context: PluginContext, prefix?: string);
|
||||
warn(message: string | (() => string)): void;
|
||||
error(message: string | (() => string)): void;
|
||||
info(message: string | (() => string)): void;
|
||||
debug(message: string | (() => string)): void;
|
||||
}
|
||||
//# sourceMappingURL=rollupcontext.d.ts.map
|
||||
1
dist/rollupcontext.d.ts.map
vendored
1
dist/rollupcontext.d.ts.map
vendored
@ -1 +0,0 @@
|
||||
{"version":3,"file":"rollupcontext.d.ts","sourceRoot":"","sources":["../src/rollupcontext.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAErD,qBAAa,aAAc,YAAW,QAAQ;IAIjC,OAAO,CAAC,SAAS;IAAkB,OAAO,CAAC,IAAI;IAAW,OAAO,CAAC,OAAO;IAAiB,OAAO,CAAC,MAAM;IAFpH,OAAO,CAAC,UAAU,CAAiB;gBAEf,SAAS,EAAE,cAAc,EAAU,IAAI,EAAE,OAAO,EAAU,OAAO,EAAE,aAAa,EAAU,MAAM,GAAE,MAAW;IAK1H,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI;IAa5C,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI;IAkB7C,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI;IAU5C,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,IAAI;CASpD"}
|
||||
7
dist/tscache.d.ts
vendored
7
dist/tscache.d.ts
vendored
@ -37,7 +37,7 @@ export declare class TsCache {
|
||||
private syntacticDiagnosticsCache;
|
||||
private hashOptions;
|
||||
constructor(noCache: boolean, hashIgnoreUnknown: boolean, host: tsTypes.LanguageServiceHost, cacheRoot: string, options: tsTypes.CompilerOptions, rollupConfig: any, rootFilenames: string[], context: IContext);
|
||||
clean(): void;
|
||||
private clean;
|
||||
setDependency(importee: string, importer: string): void;
|
||||
walkTree(cb: (id: string) => void | false): void;
|
||||
done(): void;
|
||||
@ -46,9 +46,12 @@ export declare class TsCache {
|
||||
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;
|
||||
private makeName;
|
||||
/** @returns an FS-safe hash string for use as a path to the cached content */
|
||||
private createHash;
|
||||
}
|
||||
//# sourceMappingURL=tscache.d.ts.map
|
||||
2
dist/tscache.d.ts.map
vendored
2
dist/tscache.d.ts.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"tscache.d.ts","sourceRoot":"","sources":["../src/tscache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AAOtC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAOrC,MAAM,WAAW,KAAK;IAErB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb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
||||
{
|
||||
"name": "rollup-plugin-typescript2",
|
||||
"version": "0.32.2",
|
||||
"version": "0.33.0",
|
||||
"description": "Seamless integration between Rollup and TypeScript. Now with errors.",
|
||||
"main": "dist/rollup-plugin-typescript2.cjs.js",
|
||||
"module": "dist/rollup-plugin-typescript2.es.js",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user