@coat/cli
Version:
TODO: See #3
16 lines (15 loc) • 710 B
TypeScript
import { PolishedFile } from "../sync/polish-files";
import { CoatGlobalLockfileStrict } from "../types/coat-lockfiles";
import { CoatManifestGroupedFile } from "../types/coat-manifest-file";
/**
* Generates an array of file objects that are used in coat's lockfiles.
*
* The lockfile files entries will contain the relative paths and the
* once property for files that are only generated once, in order to
* track them across sync runs and not touch or delete them later.
*
* @param files The file entries that will be added to the lockfile
*/
export declare function generateLockfileFiles(files: ((CoatManifestGroupedFile & {
once: true;
}) | PolishedFile)[]): CoatGlobalLockfileStrict["files"];