mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
36 lines
1.6 KiB
TypeScript
36 lines
1.6 KiB
TypeScript
|
import { Config } from '@jest/types';
|
||
|
import { Logger } from 'bs-logger';
|
||
|
import { CompilerOptions, CustomTransformers, ParsedCommandLine } from 'typescript';
|
||
|
import { AstTransformerDesc, BabelConfig, BabelJestTransformer, TTypeScript, TsCompiler, TsJestConfig, TsJestGlobalOptions, TsJestHooksMap } from '../types';
|
||
|
export declare class ConfigSet {
|
||
|
readonly parentOptions?: TsJestGlobalOptions | undefined;
|
||
|
get projectPackageJson(): Record<string, any>;
|
||
|
get projectDependencies(): Record<string, string>;
|
||
|
get jest(): Config.ProjectConfig;
|
||
|
get tsJest(): TsJestConfig;
|
||
|
get typescript(): ParsedCommandLine;
|
||
|
get tsconfig(): any;
|
||
|
get versions(): Record<string, string>;
|
||
|
get babel(): BabelConfig | undefined;
|
||
|
get compilerModule(): TTypeScript;
|
||
|
get babelJestTransformer(): BabelJestTransformer | undefined;
|
||
|
get tsCompiler(): TsCompiler;
|
||
|
get astTransformers(): AstTransformerDesc[];
|
||
|
get tsCustomTransformers(): CustomTransformers;
|
||
|
get hooks(): TsJestHooksMap;
|
||
|
get shouldReportDiagnostic(): (filePath: string) => boolean;
|
||
|
get shouldStringifyContent(): (filePath: string) => boolean;
|
||
|
get tsCacheDir(): string | undefined;
|
||
|
get overriddenCompilerOptions(): Partial<CompilerOptions>;
|
||
|
get rootDir(): string;
|
||
|
get cwd(): string;
|
||
|
get tsJestDigest(): string;
|
||
|
get cacheKey(): string;
|
||
|
readonly logger: Logger;
|
||
|
constructor(jestConfig: Config.ProjectConfig, parentOptions?: TsJestGlobalOptions | undefined, parentLogger?: Logger);
|
||
|
resolvePath(inputPath: string, { throwIfMissing, nodeResolve }?: {
|
||
|
throwIfMissing?: boolean;
|
||
|
nodeResolve?: boolean;
|
||
|
}): string;
|
||
|
}
|