PnpmUnlinkAliases.

PnpmUnlink(ICakeContext, string, Action<PnpmUnlinkSettings>) Method

Summary

Removes the link created by `pnpm link` and reinstalls package if it is saved in `package.json` using the settings returned by a configurator.
Assembly
Cake.Pnpm.dll
Namespace
Cake.Pnpm
Containing Type
PnpmUnlinkAliases

Syntax

public static void PnpmUnlink(this ICakeContext context, string path, Action<PnpmUnlinkSettings> configurator)

Examples

From the pnpm documentation

pnpm unlink (in package dir)
    pnpm unlink <pkg>...

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

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

Return Value

Type Description
void