@traf/core
Version:
Find truly affected pacakges in monorepos
22 lines (21 loc) • 593 B
TypeScript
import { CompilerOptions } from 'ts-morph';
export interface TrueAffectedProject {
name: string;
sourceRoot: string;
tsConfig?: string;
implicitDependencies?: string[];
targets?: string[];
}
export interface TrueAffectedLogging {
logger?: Console;
}
export interface TrueAffected extends TrueAffectedLogging {
cwd: string;
rootTsConfig?: string;
base?: string;
projects: TrueAffectedProject[];
include?: (string | RegExp)[];
compilerOptions?: CompilerOptions;
ignoredPaths?: (string | RegExp)[];
__experimentalLockfileCheck?: boolean;
}