mirror of
https://gitee.com/myxzgzs/boyue_jnpf.git
synced 2025-08-09 07:42:43 +08:00
8 lines
298 B
TypeScript
8 lines
298 B
TypeScript
export type PM = "npm" | "yarn" | "pnpm" | "bun";
|
|
export declare const detect: ({ cwd, includeGlobalBun }?: {
|
|
cwd?: string;
|
|
includeGlobalBun?: boolean;
|
|
}) => Promise<PM>;
|
|
export declare function getPackageManagerVersion(pm: PM): Promise<string>;
|
|
export declare function clearCache(): void;
|