PnpmStoreAliases Class

Summary

`pnpm store` aliases
Assembly
Cake.Pnpm.dll
Namespace
Cake.Pnpm
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["PnpmStoreAliases"] class Type type-node

Syntax

public static class PnpmStoreAliases

Attributes

Type Description
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Methods

Name Value Summary
PnpmStoreAdd(ICakeContext, string[]) void
Adds new packages to the store. Example: pnpm store add express@4 [email protected]
static
PnpmStorePath(ICakeContext) void
Returns the path to the active store directory.
static
PnpmStorePrune(ICakeContext) void
Removes unreferenced (extraneous, orphan) packages from the store. Pruning the store is not harmful, but might slow down future installations. Visit the documentation for more information on unreferenced packages
static
PnpmStoreStatus(ICakeContext) void
Checks for modified packages in the store. Returns exit code 0 if the content of the package is the same as it was at the time of unpacking
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin