NpmPublishAliases.

NpmPublish(ICakeContext, Action<NpmPublishSettings>) Method

Summary

Publishes a npm package using the settings returned by a configurator.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmPublishAliases

Syntax

public static void NpmPublish(this ICakeContext context, Action<NpmPublishSettings> configurator)

Examples

NpmPack(settings => settings.WithLogLevel(NpmLogLevel.Verbose));

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
configurator Action<NpmPublishSettings> The settings configurator.

Return Value

Type Description
void