MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / pmxCommand

Function pmxCommand

packages/bumpy/src/commands/ci-setup.ts:261–266  ·  view source on GitHub ↗

Package-manager-appropriate command for running bumpy in CI workflows

(pm: PackageManager)

Source from the content-addressed store, hash-verified

259
260/** Package-manager-appropriate command for running bumpy in CI workflows */
261function pmxCommand(pm: PackageManager): string {
262 if (pm === 'bun') return 'bunx @varlock/bumpy';
263 if (pm === 'pnpm') return 'pnpm exec bumpy';
264 if (pm === 'yarn') return 'yarn bumpy';
265 return 'npx @varlock/bumpy';
266}
267
268function detectRepo(rootDir: string): string | null {
269 // Check GitHub Actions env first

Callers 2

printPatWorkflowSnippetFunction · 0.85
printAppWorkflowSnippetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…