nx-remotecache-custom
Version:
Build custom caching for @nrwl/nx in a few lines of code
8 lines (7 loc) • 490 B
TypeScript
import defaultTasksRunner from "nx/tasks-runners/default";
import { CustomRunnerOptions } from "./types/custom-runner-options";
import { NxTask } from "./types/nx";
import { RemoteCacheImplementation } from "./types/remote-cache-implementation";
type DefaultTasksRunner = typeof defaultTasksRunner;
export declare const createCustomRunner: <T extends Object>(setup: (options: CustomRunnerOptions<T>, tasks: NxTask[]) => Promise<RemoteCacheImplementation>) => DefaultTasksRunner;
export {};