@coat/cli
Version:
TODO: See #3
13 lines (12 loc) • 705 B
TypeScript
import { CoatGlobalLockfileStrict, CoatLocalLockfileStrict } from "../types/coat-lockfiles";
import { CoatManifestTaskStrict } from "../types/coat-manifest-tasks";
/**
* Removes unmanaged tasks from a coat lockfile.
*
* If a task is no longer specified by one of the extended templates of this
* project, the task result should be removed to clean up the lockfile.
*
* @param lockfile A local or global coat lockfile
* @param tasks Tasks that are part of the current coat project
*/
export declare function removeUnmanagedTasksFromLockfile<CoatLockfileType extends CoatLocalLockfileStrict | CoatGlobalLockfileStrict>(lockfile: CoatLockfileType, tasks: CoatManifestTaskStrict[]): CoatLockfileType;