NpmVersionTool Class

Summary

Tool for installing all npm packages for a project from package-lock.json.
graph BT Type-->Base0["NpmTool<NpmVersionSettings>"] Base0-->Base1["Tool<NpmVersionSettings>"] Type["NpmVersionTool"] class Type type-node

Syntax

public class NpmVersionTool : NpmTool<NpmVersionSettings>

Constructors

Methods

Name Value Summary
Version(NpmVersionSettings) string
Installs all npm packages from the specified settings.

Extension Methods

Name Value Summary
Dump<NpmVersionTool>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<NpmVersionTool>(NpmVersionTool[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<NpmVersionTool>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<NpmVersionTool>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<NpmVersionTool>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<NpmVersionTool>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin