Skip to content

aube deprecate

  • Usage: aube deprecate [FLAGS] <PACKAGE> <MESSAGE>
  • Effect: modifies state

Mark published versions of a package as deprecated on the registry

Arguments

  • <PACKAGE> — Package spec: name, name@version, or name@<range>.

    Omitting the version deprecates every published version.

  • <MESSAGE> — Deprecation message shown to installers.

    Pass an empty string to clear an existing deprecation (or use aube undeprecate).

Flags

  • --dry-run — Don't PUT anything — print which versions would be touched and exit.
  • --otp <CODE> — One-time password from a 2FA authenticator; sent as npm-otp.
  • -h --help — Print help

Network

  • --fetch-retries <N> — Number of retry attempts for failed registry fetches.

    Overrides fetchRetries / fetch-retries from .npmrc / aube-workspace.yaml when set. Pair with --fetch-timeout to fail fast in scripted test runs.

  • --fetch-retry-factor <N> — Exponential backoff factor between retry attempts.

    Overrides fetchRetryFactor / fetch-retry-factor from .npmrc / aube-workspace.yaml when set. Integer-only; fractional values like 1.5 are rejected.

  • --fetch-retry-maxtimeout <MS> — Upper bound (ms) on the computed retry backoff.

    Overrides fetchRetryMaxtimeout / fetch-retry-maxtimeout from .npmrc / aube-workspace.yaml when set.

  • --fetch-retry-mintimeout <MS> — Lower bound (ms) on the computed retry backoff.

    Overrides fetchRetryMintimeout / fetch-retry-mintimeout from .npmrc / aube-workspace.yaml when set.

  • --fetch-timeout <MS> — Per-request HTTP timeout in milliseconds.

    Overrides fetchTimeout / fetch-timeout from .npmrc / aube-workspace.yaml when set. Covers the whole request (headers and body together).

  • --registry <URL> — Override the default registry URL for this invocation.

    Use this npm registry URL for package metadata, tarballs, audit requests, dist-tags, and registry writes.

MIT LicensejdxCopyright © 2026 jdx.dev