syncpack
Version:
Consistent dependency versions in large JavaScript Monorepos
19 lines (18 loc) • 968 B
TypeScript
import { Effect } from 'effect';
import type { CliConfig } from '../config/types.js';
import type { ErrorHandlers } from '../error-handlers/default-error-handlers.js';
import type { Ctx } from '../get-context/index.js';
import type { Io } from '../io/index.js';
interface Input {
io: Io;
cli: Partial<CliConfig>;
errorHandlers?: ErrorHandlers;
}
export declare function listMismatches({ io, cli, errorHandlers, }: Input): Effect.Effect<unknown, never, never>;
/** Exported to be reused by `syncpack lint` */
export declare function pipeline(ctx: Ctx, io: Io, errorHandlers: ErrorHandlers): Effect.Effect<Ctx>;
export declare const logMissingLocalVersion: (report: any) => Effect.Effect<void>;
export declare const logMissingSnappedToMismatch: (report: any) => Effect.Effect<void>;
export declare const logUnsupportedMismatch: (report: any) => Effect.Effect<void>;
export declare const logSameRangeMismatch: (report: any) => Effect.Effect<void>;
export {};