mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-22 01:53:24 +01:00
19 lines
545 B
TypeScript
19 lines
545 B
TypeScript
export declare function getPackageManager(name: string, { workingDirectory }?: {
|
|
workingDirectory?: string;
|
|
}): {
|
|
readonly install: "npm i";
|
|
readonly exec: "npx";
|
|
readonly execNoInstall: "npx --no-install";
|
|
} | {
|
|
readonly install: "yarn add";
|
|
readonly exec: "yarn";
|
|
readonly execNoInstall: "yarn";
|
|
} | {
|
|
readonly install: "pnpm add";
|
|
readonly exec: "pnpm exec";
|
|
readonly execNoInstall: "pnpm exec";
|
|
} | {
|
|
readonly install: "bun i";
|
|
readonly exec: "bunx";
|
|
readonly execNoInstall: "bun run";
|
|
};
|