This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Npm.
Summary
View the version of a package
using the settings returned by a configurator.
Syntax
public static string NpmViewVersion(this ICakeContext context, Action<NpmViewVersionSettings> configurator)
Examples
var versionString = NpmViewVersion(settings =>
settings.ForPackage("cakejs"));
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
configurator |
Action<NpmViewVersionSettings> |
The settings configurator. |
Return Value