ultra-runner
Version:
Smart and beautiful script runner that hijacks any `npm run`, `yarn` and `npx` calls for ultra fast execution
13 lines (12 loc) • 461 B
TypeScript
declare type GitFiles = Record<string, string>;
export declare class NoGitError extends Error {
}
export declare function parseFiles(data: string, root: string): GitFiles;
export declare function getGitFiles(root: string): Promise<GitFiles>;
declare class FilesCache {
cache: Map<string, Record<string, string>>;
clear(): void;
getFiles(directory: string, exclude?: string[]): Promise<GitFiles>;
}
export declare const cache: FilesCache;
export {};