MCPcopy
hub / github.com/QwikDev/qwik / pmRunCmd

Function pmRunCmd

packages/qwik/src/cli/utils/utils.ts:123–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121}
122
123export function pmRunCmd() {
124 const pm = getPackageManager();
125 if (pm !== 'npm') {
126 return pm;
127 }
128 return `${pm} run`;
129}
130
131export function panic(msg: string) {
132 console.error(`\n❌ ${red(msg)}\n`);

Callers 4

printHelpFunction · 0.90
runBuildCommandFunction · 0.90
printNewHelpFunction · 0.90
printAddHelpFunction · 0.90

Calls 1

getPackageManagerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…