lockfile-guardian
Version:
Never forget to install dependencies again! Automatically detect when your lock files change after git operations and warn you (or auto-install) when your dependencies are out of sync.
17 lines • 1.09 kB
TypeScript
import { LockfileGuardianConfig, LockfileInfo, PackageManager } from "./types";
export declare const PACKAGE_MANAGERS: PackageManager[];
export declare function createSHA256Hash(filePath: string): string;
export declare function findLockfile(cwd?: string): LockfileInfo | null;
export declare function isGitRepository(cwd?: string): boolean;
export declare function getGitHooksDir(cwd?: string): string;
export declare function getHuskyHooksDir(cwd?: string): string;
export declare function getGitHooksPath(cwd?: string): string;
export declare function isHuskyProject(cwd?: string): boolean;
export declare function getActiveHooksDir(cwd?: string): string;
export declare function getGuardianDataPath(cwd?: string): string;
export declare function loadConfig(cwd?: string): LockfileGuardianConfig;
export declare function isNodeModulesIgnored(cwd?: string): boolean;
export declare function log(message: string, silent?: boolean): void;
export declare function logWarning(message: string): void;
export declare function logError(message: string): void;
//# sourceMappingURL=utils.d.ts.map