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.
pnpm publishPublish the current package to the configured registry.
pnpm publish --access publicPublish a scoped package with public visibility.
pnpm publish --tag nextPublish a prerelease or alternate stream under a custom dist-tag.
pnpm publish --no-git-checksSkip Git checks when necessary, such as in some automated environments.
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.
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.
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.
pnpm publish --dry-runPreview what would be published without uploading.
pnpm pack --pack-destination ./artifactsWrite the generated tarball into a chosen directory.