publish
Publish a package to the npm registry with options for dist-tag, access level, dry-run, and one-time password for two-factor authentication.
Instructions
Publish a package to the npm registry
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| otp | No | One-time password for 2FA | |
| tag | No | Dist-tag (default: latest) | |
| path | Yes | Absolute path to the package directory | |
| access | No | Access level for scoped packages | |
| dryRun | No | Run publish without actually publishing |