This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Pnpm.
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 |
|---|---|
| Cake |
|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| path | string | Path to what to link |
| configurator | Action |
The settings configurator. |
Return Value
| Type | Description |
|---|---|
| void |
