NpmUpdateAliases.

NpmUpdate(ICakeContext, NpmUpdateSettings) Method

Summary

Updates all packages for the project using the specified settings.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmUpdateAliases

Syntax

public static void NpmUpdate(this ICakeContext context, NpmUpdateSettings settings)

Examples

var settings = new NpmUpdateSettings();
    settings.UpdateGlobalPackages();
    NpmUpdate(settings);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings NpmUpdateSettings The settings.

Return Value

Type Description
void