PnpmImport Class

Summary

Generates pnpm-lock.yaml from an npm package-lock.json (or npm-shrinkwrap.json, yarn.lock) file. Visit https://pnpm.io/7.x/cli/import for documentation about this command.
graph BT Type-->Base0["PnpmTool<PnpmImportSettings>"] Base0-->Base1["Tool<PnpmSettings>"] Type["PnpmImport"] class Type type-node

Syntax

public class PnpmImport : PnpmTool<PnpmImportSettings>

Constructors

Methods

Name Value Summary
Import(PnpmImportSettings) void
Generates pnpm-lock.yaml from an npm package-lock.json (or npm-shrinkwrap.json, yarn.lock) file. Visit https://pnpm.io/7.x/cli/import for documentation about this command.

Extension Methods

Name Value Summary
Dump<PnpmImport>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<PnpmImport>(PnpmImport[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<PnpmImport>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<PnpmImport>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<PnpmImport>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<PnpmImport>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin