MCPcopy Create free account
hub / github.com/npm/cli / publishPkg

Function publishPkg

scripts/publish.js:183–183  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

181 log.info(`Publishing ${publish.name}@${publish.version} to ${publish.tag} ${count++}/${publishes.length}`)
182 const workspace = publish.workspace && `--workspace=${publish.name}`
183 const publishPkg = (...args) => npm('publish', workspace, `--tag=${publish.tag}`, ...args)
184
185 if (hasPackDest) {
186 await npm(

Callers 1

mainFunction · 0.85

Calls 1

npmFunction · 0.85

Tested by

no test coverage detected