Repository script API / publish-tool-packages / publishNpmTarball
Function: publishNpmTarball()
publishNpmTarball(
release):void
Defined in: publish-tool-packages.mjs:347
Publishes a verified npm tarball with provenance from its temporary directory.
Parameters
release
Verified package tarball.
distTag
string
npm dist-tag the version receives.
tarballPath
string
Path to the package tarball.
Returns
void
Completes after npm accepts the publish.
Throws
When npm fails to publish the tarball.