UNPKG

@manypkg/tools

Version:
12 lines (11 loc) 527 B
import { Package } from "./Tool"; /** * This internal method takes a list of one or more directory globs and the absolute path * to the root directory, and returns a list of all matching relative directories that * contain a `package.json` file. */ export declare function expandPackageGlobs(packageGlobs: string[], directory: string): Promise<Package[]>; /** * A synchronous version of {@link expandPackagesGlobs}. */ export declare function expandPackageGlobsSync(packageGlobs: string[], directory: string): Package[];