NpmViewVersionAliases Class

Summary

Npm ViewVersion aliases. Use this to view package versions. For other functions of npm version, see:
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["NpmViewVersionAliases"] class Type type-node

Syntax

public static class NpmViewVersionAliases

Attributes

Type Description
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Methods

Name Value Summary
NpmViewVersion(ICakeContext, Action<NpmViewVersionSettings>) string
View the version of a package using the settings returned by a configurator.
static
NpmViewVersion(ICakeContext, NpmViewVersionSettings) string
View the version of a package using the specified settings.
static
NpmViewVersion(ICakeContext, string) string
View the version of a package.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin