Skip to content

Repository script API / publish-tool-packages / publishNpmTarball

Function: publishNpmTarball() ​

publishNpmTarball(release): void

Defined in: publish-tool-packages.mjs:323

Publishes a verified npm tarball with provenance from its temporary directory.

Parameters ​

release ​

Verified package tarball.

tarballPath ​

string

Path to the package tarball.

Returns ​

void

Completes after npm accepts the publish.

Throws ​

When npm fails to publish the tarball.

pumpkin-plugins documentation