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
Updates all packages for the project using the settings returned by a configurator.
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