UNPKG

@coat/cli

Version:

TODO: See #3

20 lines (19 loc) 764 B
import { CoatGlobalLockfileStrict, CoatLocalLockfileStrict } from "../types/coat-lockfiles"; /** * Retrieves the parsed version of the coat global lockfile * that is placed in project-dir/coat.lock * * If no lockfile exists (yet), an initial empty lockfile is returned * * @param cwd Working directory of the coat project */ export declare function getCoatGlobalLockfile(cwd: string): Promise<CoatGlobalLockfileStrict>; /** * Retrieves the parsed version of the coat local lockfile * that is placed in project-dir/.coat/coat.lock * * If no lockfile exists (yet), an initial empty lockfile is returned * * @param cwd Working directory of the coat project */ export declare function getCoatLocalLockfile(cwd: string): Promise<CoatLocalLockfileStrict>;