Skip to content

Commit

Permalink
- build for 0.33.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ezolenko committed Aug 19, 2022
1 parent 3fc8caf commit bba2f19
Show file tree
Hide file tree
Showing 23 changed files with 35,624 additions and 35,809 deletions.
14 changes: 14 additions & 0 deletions dist/context.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { PluginContext } from "rollup";
export interface IContext {
warn(message: string | (() => string)): void;
error(message: string | (() => string)): void;
Expand All @@ -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;
Expand All @@ -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 changes: 1 addition & 1 deletion dist/context.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions dist/diagnostics-format-host.d.ts
Original file line number Diff line number Diff line change
@@ -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 changes: 1 addition & 1 deletion dist/diagnostics-format-host.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 17 additions & 14 deletions dist/host.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 1 addition & 1 deletion dist/host.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 0 additions & 11 deletions dist/nocache.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/nocache.d.ts.map

This file was deleted.

2 changes: 1 addition & 1 deletion dist/parse-tsconfig.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/print-diagnostics.d.ts
Original file line number Diff line number Diff line change
@@ -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 changes: 1 addition & 1 deletion dist/print-diagnostics.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 6 additions & 18 deletions dist/rollingcache.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 1 addition & 1 deletion dist/rollingcache.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bba2f19

Please sign in to comment.