UNPKG

@adonisjs/sink

Version:

AdonisJS sink is a swiss knife for managing project files by applying minimal changes, inferring formatting from EditorConfig file and comes with specialized tasks for different file formats and file types.

8 lines (7 loc) 288 B
/** * Returns the package manager in use by checking for the lock files * on the disk or by inspecting the "npm_config_user_agent". * * Defaults to npm when unable to detect the package manager. */ export declare function getPackageManager(appRoot: string): 'yarn' | 'pnpm' | 'npm';