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.Pnpm.
Summary
Base class for all pnpm tools.
- Assembly
- Cake
.Pnpm .dll - Namespace
- Cake
.Pnpm - Base Types
-
- Tool
<PnpmSettings>
- Tool
- Derived Types
graph BT
Type-->Base0["Tool<PnpmSettings>"]
Type["PnpmTool<TSettings>"]
class Type type-node
Derived0["PnpmAudit"]-->Type
click Derived0 "/api/Cake.Pnpm.Audit/PnpmAudit"
Derived1["PnpmPrune"]-->Type
click Derived1 "/api/Cake.Pnpm.Prune/PnpmPrune"
Derived2["PnpmRemove"]-->Type
click Derived2 "/api/Cake.Pnpm.Remove/PnpmRemove"
Derived3["PnpmRun"]-->Type
click Derived3 "/api/Cake.Pnpm.Run/PnpmRun"
Derived4["PnpmStore"]-->Type
click Derived4 "/api/Cake.Pnpm.Store/PnpmStore"
Derived5["PnpmUnlink"]-->Type
click Derived5 "/api/Cake.Pnpm.Unlink/PnpmUnlink"
Derived6["PnpmExec"]-->Type
click Derived6 "/api/Cake.Pnpm.Exec/PnpmExec"
Derived7["PnpmLink"]-->Type
click Derived7 "/api/Cake.Pnpm.Link/PnpmLink"
Derived8["PnpmAdd"]-->Type
click Derived8 "/api/Cake.Pnpm.Add/PnpmAdd"
Derived9["PnpmRebuild"]-->Type
click Derived9 "/api/Cake.Pnpm.Rebuild/PnpmRebuild"
Derived10["PnpmOutdated"]-->Type
click Derived10 "/api/Cake.Pnpm.Outdated/PnpmOutdated"
Derived11["PnpmImport"]-->Type
click Derived11 "/api/Cake.Pnpm.Import/PnpmImport"
Derived12["PnpmLicenses"]-->Type
click Derived12 "/api/Cake.Pnpm.Licenses/PnpmLicenses"
Derived13["PnpmInstaller"]-->Type
click Derived13 "/api/Cake.Pnpm.Install/PnpmInstaller"
Derived14["PnpmUpdate"]-->Type
click Derived14 "/api/Cake.Pnpm.Update/PnpmUpdate"
Derived15["PnpmList"]-->Type
click Derived15 "/api/Cake.Pnpm.List/PnpmList"
Syntax
public abstract class PnpmTool<TSettings> : Tool<PnpmSettings> where TSettings : PnpmSettings
Type Parameters
Name | Description |
---|---|
TSettings | The settings type. |
Constructors
Name | Summary |
---|---|
PnpmTool |
Initializes a new instance of the PnpmTool<TSettings> class.
|
Properties
Name | Value | Summary |
---|---|---|
CakeLog | ICakeLog |
Cake log instance.
|
Methods
Name | Value | Summary |
---|---|---|
GetArguments |
Process |
Builds the arguments for npm.
|
Get |
IEnumerable |
Gets the possible names of the tool executable.
|
GetToolName |
string |
Gets the name of the tool.
|
RunCore |
void |
Runs npm.
|
RunCore |
void |
Runs npm.
|
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 Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues 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 |
From StringExtensions
Requires the Cake.Issues addin
|