Table of Contents

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

BunAccess?

CommandParts

Gets every canonically ordered rendered command fragment.

protected override IReadOnlyList<string?> CommandParts { get; }

Property Value

IReadOnlyList<string?>

DryRun

Reports publish contents without uploading.

public bool DryRun { get; init; }

Property Value

bool

Otp

One-time password used for authentication.

public string? Otp { get; init; }

Property Value

string?

Package

Archive or directory to publish; null publishes the current package.

public string? Package { get; init; }

Property Value

string?

Tag

Distribution tag applied to the release.

public string? Tag { get; init; }

Property Value

string?

TolerateRepublish

Succeeds when this version already exists.

public bool TolerateRepublish { get; init; }

Property Value

bool