PnpmUnlinkAliases.

PnpmUnlink(ICakeContext, PnpmUnlinkSettings) Method

Summary

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

Syntax

public static void PnpmUnlink(this ICakeContext context, PnpmUnlinkSettings settings)

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.
settings PnpmUnlinkSettings The settings

Return Value

Type Description
void