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

Function getScript

packages/qwik/src/cli/utils/run-build-command.ts:17–22  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

15 const pkgManager = getPackageManager();
16
17 const getScript = (name: string) => {
18 if (pkgJsonScripts[name]) {
19 return `${pkgManager} run ${name}`;
20 }
21 return undefined;
22 };
23
24 const isPreviewBuild = app.args.includes('preview');
25 const buildLibScript = getScript('build.lib');

Callers 1

runBuildCommandFunction · 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…