pnpm packCreate a tarball from the current package.
Pack, publish, dist-tags, registries, auth, and package metadata queries.
Prepare tarballs and publish packages.
pnpm packCreate a tarball from the current package.
Publish the current package to the configured registry.
pnpm publishPublish the current package to the configured registry.
Publish a scoped package with public visibility.
pnpm publish --access publicPublish a scoped package with public visibility.
Publish a prerelease or alternate stream under a custom dist-tag.
pnpm publish --tag nextPublish a prerelease or alternate stream under a custom dist-tag.
Skip Git checks when necessary, such as in some automated environments.
pnpm publish --no-git-checksSkip Git checks when necessary, such as in some automated environments.
Publish workspace packages recursively.
pnpm -r publishPublish workspace packages recursively.
Work with registries and auth tokens.
pnpm loginAuthenticate with the current registry.
pnpm logoutRemove login credentials for the current registry.
Show the account currently authenticated for the active registry.
pnpm whoamiShow the account currently authenticated for the active registry.
pnpm config set registry https://registry.npmjs.org/Configure the default registry endpoint.
pnpm config set @acme:registry https://npm.pkg.github.comSend a package scope to a specific registry.
Use an auth token via .npmrc for automated publishing.
printf '//registry.npmjs.org/:_authToken=${NPM_TOKEN}
' >> .npmrcUse an auth token via .npmrc for automated publishing.
Inspect package metadata and dist-tags.
pnpm view reactInspect package metadata from the registry.
pnpm view react versionGet a specific metadata field from the registry.
pnpm info react peerDependenciesQuery package metadata fields.
Preview what would be published without uploading.
pnpm publish --dry-runPreview what would be published without uploading.
Write the generated tarball into a chosen directory.
pnpm pack --pack-destination ./artifactsWrite the generated tarball into a chosen directory.