Files
dinlo 436a9631fc Initial commit
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-31 18:44:04 +08:00

18 lines
490 B
TypeScript

export declare enum PM {
PNPM = "pnpm",
YARN = "yarn",
YARN_BERRY = "yarn-berry",
BUN = "bun",
NPM = "npm",
TRAVERSAL = "traversal"
}
export declare function getPackageManagerCommand(pm: PM): string;
type PackageManagerSetup = {
pm: PM;
corepackConfig: string | undefined;
resolvedDirectory: string | undefined;
detectionMethod: string;
};
export declare function detectPackageManager(searchPaths: string[]): Promise<PackageManagerSetup>;
export {};