Class BunPublish
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Publishes the current package or a prepared archive to an npm registry.
public sealed record BunPublish : BunCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<BunCommand>, IEquatable<BunPublish>Inheritance
Implements
Properties
Access
Registry visibility for scoped packages.
public BunAccess? Access { get; init; }Property Value
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
DryRun
Reports publish contents without uploading.
public bool DryRun { get; init; }Property Value
Otp
One-time password used for authentication.
public string? Otp { get; init; }Property Value
Package
Archive or directory to publish; null publishes the current package.
public string? Package { get; init; }Property Value
Tag
Distribution tag applied to the release.
public string? Tag { get; init; }Property Value
TolerateRepublish
Succeeds when this version already exists.
public bool TolerateRepublish { get; init; }