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
Runs npm prune using the settings returned by a configurator.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm - Containing Type
- NpmPruneAliases
Syntax
public static void NpmPrune(this ICakeContext context, Action<NpmPruneSettings> configurator)
Examples
Use specific log level
NpmPrune(settings => settings.WithLogLevel(NpmLogLevel.Verbose));
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
configurator | Action |
The settings configurator. |
Return Value
Type | Description |
---|---|
void |