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
Defines whether npm should prevent optional dependencies from being installed
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm .Install - Containing Type
- Npm
Install Settings Extensions
Syntax
public static NpmInstallSettings WithNoOptional(this NpmInstallSettings settings, bool value)
Parameters
Name | Type | Description |
---|---|---|
settings | NpmInstallSettings | The settings. |
value | bool | Value which should be set. |
Return Value
Type | Description |
---|---|
NpmInstallSettings | The settings instance with NoOptional set to value. |