NpmUpdateAliases.

NpmUpdate(ICakeContext, Action<NpmUpdateSettings>) Method

Summary

Updates all packages for the project using the settings returned by a configurator.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmUpdateAliases

Syntax

public static void NpmUpdate(this ICakeContext context, Action<NpmUpdateSettings> configurator)

Examples

NpmUpdate(settings => settings.UpdateGlobalPackages());

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

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

Return Value

Type Description
void