CmdID

CmdID / Commands

bun-publish

Publish a package to the npm registry. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Publish the current package to the npm registry

bun publishIdentify

Publish a package from a specific directory

bun publish path/to/package_directoryIdentify

Publish a scoped package with specific access level

bun publish --access publicIdentify

Publish a package to a custom registry

bun publish --registry registryIdentify

Simulate what would be published without uploading

bun publish --dry-runIdentify

Publish a package with a specific distribution tag

bun publish --tag tag_nameIdentify

Publish with a one-time password for 2FA-enabled accounts

bun publish --otp one_time_passwordIdentify

Publish using a specific authentication type

bun publish --auth-type webIdentify