Skip to content

aube publish

  • Usage: aube publish [FLAGS]

Publish the current package to the registry

Flags

--access <LEVEL>

Publish as public or restricted. Sent as the access field in the publish body; scoped packages default to restricted on the registry side, so pass --access=public to make a new scoped package world-readable

--dry-run

Don't upload; print what would be published

--json

Emit the publish result as JSON: an array with one {name, version, filename, files: [{path}]} entry, matching pnpm publish --json / aube pack --json

--no-git-checks

Skip the "working tree must be clean" check. A no-op today because aube doesn't run the check yet; accepted for pnpm compat so scripts that already pass it keep working

--otp <CODE>

One-time password for registries that require 2FA. Sent verbatim as the npm-otp header

--registry <URL>

Override the target registry URL. Defaults to the scoped registry for the package (if configured) or the default .npmrc registry

--tag <TAG>

Default dist-tag to publish under (default: latest)

-F --filter… <NAME>

Only publish workspace packages matching <NAME>. Repeatable. Exact name match; glob patterns and ... dependency selectors are not yet supported. Implies workspace-fanout mode

-r --recursive

Publish every package in the workspace (honors --filter, skips private packages and versions already on the registry)

Released under the MIT License.