Class NpmPack
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Creates an npm package tarball.
public sealed record NpmPack : NpmWorkspaceCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<NpmWorkspaceCommand>, IEquatable<NpmPack>Inheritance
Implements
Properties
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
Destination
Directory in which npm writes the tarball.
public string? Destination { get; init; }Property Value
DryRun
Reports pack contents without writing a tarball.
public bool DryRun { get; init; }Property Value
IgnoreScripts
Skips package lifecycle scripts.
public bool IgnoreScripts { get; init; }Property Value
Json
Requests npm's JSON output.
public bool Json { get; init; }Property Value
Package
Package specification to pack; null packs the current project.
public string? Package { get; init; }