Files
ObsidianPad/node_modules/app-builder-lib/out/node-module-collector/packageManager.d.ts
T

18 lines
490 B
TypeScript
Raw Normal View History

2026-05-31 18:44:04 +08:00
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 {};