Class NpmInstallCommand
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Shared options for npm install operations.
public abstract record NpmInstallCommand : NpmWorkspaceCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<NpmWorkspaceCommand>, IEquatable<NpmInstallCommand>Inheritance
Derived
Implements
Properties
Audit
Controls audit submission; null leaves npm configuration unchanged.
public bool? Audit { get; init; }Property Value
- bool?
DryRun
Reports intended changes without applying them.
public bool DryRun { get; init; }Property Value
ForegroundScripts
Runs lifecycle scripts in the foreground.
public bool ForegroundScripts { get; init; }Property Value
Fund
Controls funding notices; null leaves npm configuration unchanged.
public bool? Fund { get; init; }Property Value
- bool?
IgnoreScripts
Skips package lifecycle scripts.
public bool IgnoreScripts { get; init; }Property Value
Include
Dependency types included on disk.
public IReadOnlyList<NpmDependencyType> Include { get; init; }Property Value
InstallParts
Renders shared install options.
protected IReadOnlyList<string?> InstallParts { get; }Property Value
InstallStrategy
Controls npm's dependency layout.
public NpmInstallStrategy? InstallStrategy { get; init; }Property Value
Omit
Dependency types omitted from disk.
public IReadOnlyList<NpmDependencyType> Omit { get; init; }Property Value
StrictPeerDependencies
Fails on conflicting peer dependencies.
public bool StrictPeerDependencies { get; init; }