PnpmLinkAliases.

PnpmLink(ICakeContext, string, Action<PnpmLinkSettings>) Method

Summary

Connect the local project to another one using the settings returned by a configurator.
Assembly
Cake.Pnpm.dll
Namespace
Cake.Pnpm
Containing Type
PnpmLinkAliases

Syntax

public static void PnpmLink(this ICakeContext context, string path, Action<PnpmLinkSettings> configurator)

Examples

From the pnpm documentation

pnpm link <dir>
    pnpm link --global (in package dir)
    pnpm link --global <pkg>

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
path string Path to what to link
configurator Action<PnpmLinkSettings> The settings configurator.

Return Value

Type Description
void