PnpmOutdatedSettings Class

Summary

Contains settings used by PnpmOutdated.
Assembly
Cake.Pnpm.dll
Namespace
Cake.Pnpm.Outdated
Base Types
graph BT Type-->Base0["PnpmSettings"] click Base0 "/api/Cake.Pnpm/PnpmSettings" Base0-->Base1["ToolSettings"] Type["PnpmOutdatedSettings"] class Type type-node

Syntax

public class PnpmOutdatedSettings : PnpmSettings

Constructors

Name Summary
PnpmOutdatedSettings() Initializes a new instance of the PnpmOutdatedSettings class.

Properties

Name Value Summary
AggregateOutput bool
Aggregate output from child processes that are run in parallel, and only print output when child process is finished. It makes reading large logs after running `pnpm recursive` with `--parallel` or with `--workspace-concurrency` much easier (especially on CI). Only `--reporter=append-only` is supported.
CakeVerbosityLevel Nullable<Verbosity>
Gets or sets the Log level set by Cake.
Inherited from PnpmSettings
Color Nullable<bool>
Controls colors in the output. By default, output is always colored when it goes directly to a terminal
Compatible bool
Print only versions that satisfy specs in package.json
Dev bool
Check only "devDependencies"
Dir string
Change to directory (default: the running dir)
GlobalDir string
Specify a custom directory to store global packages
Long bool
By default, details about the outdated packages (such as a link to the repo) are not displayed. To display the details, pass this option.
NoOptional bool
Don't check "optionalDependencies"
NoTable bool
Prints the outdated packages in a list. Good for small consoles
Packages HashSet<string>
Package names to check outdated only from this list
PnpmLogLevel PnpmLogLevel
What level of logs to report. Any logs at or higher than the given level will be shown. Levels (lowest to highest): debug, info, warn, error.
Inherited from PnpmSettings
Prod bool
Check only "dependencies" and "optionalDependencies"
Recursive bool
Check for outdated dependencies in every package found in subdirectories or in every workspace package, when executed inside a workspace. For options that may be used with `-r`, see "pnpm help recursive"
RedirectStandardError bool
Gets or sets the process option to redirect standard error output.
Inherited from PnpmSettings
RedirectStandardOutput bool
Gets or sets the process option to redirect standard output.
Inherited from PnpmSettings
StandardErrorAction Action<string>
Gets or sets an action to retrieve and process standard error output.
Inherited from PnpmSettings
StandardOutputAction Action<string>
Gets or sets an action to retrieve and process standard output.
Inherited from PnpmSettings
Stream bool
Stream output from child processes immediately, prefixed with the originating package directory. This allows output from different packages to be interleaved.
UseStderr bool
Divert all output to stderr
WorkspaceRoot bool
Run the command on the root workspace project

Methods

Name Value Summary
EvaluateCore(ProcessArgumentBuilder) void
Evaluates the settings and writes them to args.

Extension Methods

Name Value Summary
Dump<PnpmOutdatedSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<PnpmOutdatedSettings>(PnpmOutdatedSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<PnpmOutdatedSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<PnpmOutdatedSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<PnpmOutdatedSettings>(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<PnpmOutdatedSettings>(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