UNPKG

workspace-tools

Version:

A collection of utilities that are useful in a git-controlled monorepo managed by one of these tools:

10 lines (9 loc) 365 B
/** * Get paths to every package.json in the workspace, given a cwd. */ export declare function getAllPackageJsonFiles(cwd: string): string[]; export declare function _resetPackageJsonFilesCache(): void; /** * Get paths to every package.json in the workspace, given a cwd. */ export declare function getAllPackageJsonFilesAsync(cwd: string): Promise<string[]>;