UNPKG

@traf/core

Version:

Find truly affected pacakges in monorepos

6 lines (5 loc) 377 B
import { ChangedFiles } from './git'; export declare const lockFileName: string; export declare function findAffectedModules(cwd: string, base: string): string[]; export declare function hasLockfileChanged(changedFiles: ChangedFiles[]): boolean; export declare function findAffectedFilesByLockfile(cwd: string, base: string, excludePaths: (string | RegExp)[]): ChangedFiles[];