UNPKG

@typescript/server-replay

Version:
21 lines (20 loc) 796 B
export declare function installDependencies(project: string, quietOutput: boolean, recursiveSearch: boolean, packageTimeout: number): Promise<void>; /** * String value will be the unqualified command name. */ export declare enum InstallTool { Npm = "npm", Yarn = "yarn", Pnpm = "pnpm" } export interface InstallCommand { directory: string; prettyDirectory: string; tool: InstallTool; arguments: readonly string[]; } /** * Traverses the given directory and returns a list of commands that can be used, in order, to install * the packages required for building. */ export declare function getInstallPackagesCommands(repoDir: string, quietOutput: boolean, recursiveSearch: boolean, monorepoPackages?: readonly string[], types?: string[]): Promise<InstallCommand[]>;