(
/** @type {string} */ bin,
/** @type {ReadonlyArray<string>} */ args,
/** @type {import('node:child_process').SpawnOptions} */ opts = {},
)
| 120 | const inc = (/** @type {import('semver').ReleaseType} */ i) => |
| 121 | semver.inc(currentVersion, i, typeof preId === 'string' ? preId : undefined) |
| 122 | const 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 }) |
| 127 | const dryRun = async ( |
| 128 | /** @type {string} */ bin, |
| 129 | /** @type {ReadonlyArray<string>} */ args, |
no test coverage detected