PnpmAddAliases.

PnpmAdd(ICakeContext, string, Action<PnpmAddSettings>) Method

Summary

Install package using the settings returned by a configurator.
Assembly
Cake.Pnpm.dll
Namespace
Cake.Pnpm
Containing Type
PnpmAddAliases

Syntax

public static void PnpmAdd(this ICakeContext context, string packageName, Action<PnpmAddSettings> configurator)

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
packageName string Package name to install
configurator Action<PnpmAddSettings> The settings configurator.

Return Value

Type Description
void