Skip to content

Commit

Permalink
- build for 34.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ezolenko committed Sep 12, 2022
1 parent ba26293 commit 0b99f8e
Show file tree
Hide file tree
Showing 21 changed files with 350 additions and 355 deletions.
3 changes: 0 additions & 3 deletions dist/check-tsconfig.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/check-tsconfig.d.ts.map

This file was deleted.

20 changes: 2 additions & 18 deletions dist/context.d.ts
@@ -1,35 +1,19 @@
import { PluginContext } from "rollup";
export interface IContext {
warn(message: string | (() => string)): void;
error(message: string | (() => string)): void;
info(message: string | (() => string)): void;
debug(message: string | (() => string)): void;
}
export declare enum VerbosityLevel {
Error = 0,
Warning = 1,
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;
constructor(verbosity: VerbosityLevel, prefix?: string);
warn(message: string | (() => string)): void;
error(message: string | (() => string)): void;
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 {
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;
error(message: string | (() => string)): void | never;
info(message: string | (() => string)): void;
debug(message: string | (() => string)): void;
}
Expand Down
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.

13 changes: 13 additions & 0 deletions dist/diagnostics.d.ts
@@ -0,0 +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;
//# sourceMappingURL=diagnostics.d.ts.map
1 change: 1 addition & 0 deletions dist/diagnostics.d.ts.map

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

4 changes: 2 additions & 2 deletions dist/get-options-overrides.d.ts
@@ -1,6 +1,6 @@
import * as tsTypes from "typescript";
import { IOptions } from "./ioptions";
import { IContext } from "./context";
import { RollupContext } from "./context";
export declare function getOptionsOverrides({ useTsconfigDeclarationDir, cacheRoot }: IOptions, preParsedTsconfig?: tsTypes.ParsedCommandLine): tsTypes.CompilerOptions;
export declare function createFilter(context: IContext, pluginOptions: IOptions, parsedConfig: tsTypes.ParsedCommandLine): (id: unknown) => boolean;
export declare function createFilter(context: RollupContext, pluginOptions: IOptions, parsedConfig: tsTypes.ParsedCommandLine): (id: unknown) => boolean;
//# sourceMappingURL=get-options-overrides.d.ts.map
2 changes: 1 addition & 1 deletion dist/get-options-overrides.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.

4 changes: 2 additions & 2 deletions dist/parse-tsconfig.d.ts
@@ -1,6 +1,6 @@
import { IContext } from "./context";
import { RollupContext } from "./context";
import { IOptions } from "./ioptions";
export declare function parseTsConfig(context: IContext, pluginOptions: IOptions): {
export declare function parseTsConfig(context: RollupContext, pluginOptions: IOptions): {
parsedTsConfig: import("typescript").ParsedCommandLine;
fileName: string | undefined;
};
Expand Down
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.

4 changes: 0 additions & 4 deletions dist/print-diagnostics.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/print-diagnostics.d.ts.map

This file was deleted.

0 comments on commit 0b99f8e

Please sign in to comment.