NpmVersionAliases Class

Summary

Npm Version aliases. Use this to get the current npm version in use. For other functions of npm version, see:
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["NpmVersionAliases"] class Type type-node

Syntax

public static class NpmVersionAliases

Attributes

Type Description
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Methods

Name Value Summary
NpmVersion(ICakeContext, Action<NpmVersionSettings>) string
Versions all packages for the project in the current working directory using the settings returned by a configurator.
static
NpmVersion(ICakeContext, NpmVersionSettings) string
Versions all packages for the project in the current working directory using the specified settings.
static
NpmVersion(ICakeContext) string
Versions all packages for the project in the current working directory.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin