Create a tarball from the current package.
Section: Pack and Publish
Pack current package
bash
bash
pnpm packExplanation
Create a tarball from the current package.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Pack and Publish
Publish current package
Publish the current package to the configured registry.
Publish public scoped package
Publish a scoped package with public visibility.
Publish under dist-tag
Publish a prerelease or alternate stream under a custom dist-tag.
Publish without Git checks
Skip Git checks when necessary, such as in some automated environments.
Publish workspace packages recursively
Publish workspace packages recursively.
Preview publish contents
Preview what would be published without uploading.