MCPcopy
hub / github.com/vuejs/core / run

Function run

scripts/release.js:122–126  ·  view source on GitHub ↗
(
  /** @type {string} */ bin,
  /** @type {ReadonlyArray<string>} */ args,
  /** @type {import('node:child_process').SpawnOptions} */ opts = {},
)

Source from the content-addressed store, hash-verified

120const inc = (/** @type {import('semver').ReleaseType} */ i) =>
121 semver.inc(currentVersion, i, typeof preId === 'string' ? preId : undefined)
122const run = async (
123 /** @type {string} */ bin,
124 /** @type {ReadonlyArray<string>} */ args,
125 /** @type {import('node:child_process').SpawnOptions} */ opts = {},
126) => exec(bin, args, { stdio: 'inherit', ...opts })
127const dryRun = async (
128 /** @type {string} */ bin,
129 /** @type {ReadonlyArray<string>} */ args,

Callers 5

mainFunction · 0.70
runTestsIfNeededFunction · 0.70
buildPackagesFunction · 0.70
publishPackageFunction · 0.70
isPackagePublishedFunction · 0.70

Calls 1

execFunction · 0.90

Tested by

no test coverage detected