bun-publish
Publish a package to the npm registry. tldr-pages
On several platforms
Several platforms
Publish the current package to the npm registry
bun publishIdentifyPublish a package from a specific directory
bun publish path/to/package_directoryIdentifyPublish a scoped package with specific access level
bun publish --access publicIdentifyPublish a package to a custom registry
bun publish --registry registryIdentifySimulate what would be published without uploading
bun publish --dry-runIdentifyPublish a package with a specific distribution tag
bun publish --tag tag_nameIdentifyPublish with a one-time password for 2FA-enabled accounts
bun publish --otp one_time_passwordIdentifyPublish using a specific authentication type
bun publish --auth-type webIdentify