@intlayer/chokidar
Version:
Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.
26 lines • 782 B
TypeScript
//#region src/utils/runParallel/runTask.d.ts
interface TaskResult {
name: string;
code: number | null;
signal?: string | null;
}
interface RunTaskOptions {
stdout: NodeJS.WritableStream;
stderr?: NodeJS.WritableStream;
aggregateOutput?: boolean;
continueOnError?: boolean;
race?: boolean;
maxParallel?: number;
}
/**
* Run npm-scripts of given names in parallel.
*
* If a npm-script exited with a non-zero code, this aborts other all npm-scripts.
*
* Note: This is a simplified version for our use case.
* The full implementation would require the actual runTask function from npm-run-all.
*/
declare const runTasks: (tasks: string[], options: RunTaskOptions) => Promise<TaskResult[]>;
//#endregion
export { runTasks };
//# sourceMappingURL=runTask.d.ts.map