PnpmUpdateAliases.

PnpmUpdate(ICakeContext, string[]) Method

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
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
packages string[] Package names to update

Return Value

Type Description
void