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
Updates packages to their latest version
- Assembly
- Cake
.Pnpm .dll - Namespace
- Cake
.Pnpm - Containing Type
- PnpmUpdateAliases
Syntax
public static void PnpmUpdate(this ICakeContext context, params string[] packages)
Examples
Call for all packages
context.PnpmUpdate();
Call for specific packages
context.PnpmUpdate("foo@bar", "[email protected]");
Attributes
| Type | Description |
|---|---|
| Cake |
|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| packages | string[] | Package names to update |
Return Value
| Type | Description |
|---|---|
| void |
