PnpmUnlinkAliases.

PnpmUnlink(ICakeContext, string) Method

Summary

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

Syntax

public static void PnpmUnlink(this ICakeContext context, string path)

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

Return Value

Type Description
void