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.Yarn.
Summary
Yarn install options
- Assembly
- Cake
.Yarn .dll - Namespace
- Cake
.Yarn - Base Types
-
- ToolSettings
- YarnRunnerSettings
graph BT
Type-->Base0["YarnRunnerSettings"]
click Base0 "/api/Cake.Yarn/YarnRunnerSettings"
Base0-->Base1["ToolSettings"]
Type["YarnInstallSettings"]
class Type type-node
Syntax
public class YarnInstallSettings : YarnRunnerSettings
Constructors
| Name | Summary |
|---|---|
| YarnInstallSettings |
Yarn "install" settings |
Properties
| Name | Value | Summary |
|---|---|---|
| Arguments | IReadOnlyCollection |
Arguments to pass to the target script
|
| Command | string |
The command being ran
Inherited from YarnRunnerSettings
|
| FrozenLockfile | bool |
--frozen-lockfile
|
| IgnoreEngines | bool |
--ignore-engines
|
| IgnoreOptional | bool |
--ignore-optional
|
| IgnorePlatform | bool |
--ignore-platform
|
| OfflineInstall | bool |
--offline
|
| Production | bool |
--production
|
Methods
| Name | Value | Summary |
|---|---|---|
| EvaluateCore |
void |
Evaluate options
|
| ForProduction |
YarnInstallSettings |
Applies the --production parameter (can not be set when installing individual packages
|
| Ignore |
YarnInstallSettings |
Applies the --ignore-engines parameter
|
| Ignore |
YarnInstallSettings |
Applies the --ignore-optional parameter
|
| Ignore |
YarnInstallSettings |
Applies the --ignore-platform parameter
|
| Offline |
YarnInstallSettings |
Applies the --offline parameter
|
| WithArgument |
YarnInstallSettings |
Apply any individual argument.
|
| WithFrozenLockfile |
YarnInstallSettings |
Applies the --frozen-lockfile parameter
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
