UNPKG

@baseplate-dev/sync

Version:

Library for syncing Baseplate descriptions

20 lines 746 B
import type { Logger } from '#src/utils/evented-logger.js'; import type { PostWriteCommand } from './types.js'; export interface FailedCommandInfo { command: string; workingDir: string; output?: string | undefined; } /** * Run post-write commands * * @param commands - The commands to run * @param outputDirectory - The output directory * @param logger - The logger to use * @param abortSignal - The abort signal to use for cancelling the command run * @returns The failed commands */ export declare function runPostWriteCommands(commands: PostWriteCommand[], outputDirectory: string, logger: Logger, abortSignal?: AbortSignal): Promise<{ failedCommands: FailedCommandInfo[]; }>; //# sourceMappingURL=run-commands.d.ts.map