NpmRebuildSettings Class

Summary

Contains settings used by NpmRebuilder
Namespace
Cake.Npm.Rebuild
Base Types
graph BT Type-->Base0["NpmSettings"] click Base0 "/Cake.Npm/api/Cake.Npm/NpmSettings" Base0-->Base1["object"] Type["NpmRebuildSettings"] class Type type-node

Syntax

public class NpmRebuildSettings : NpmSettings

Constructors

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

Properties

Name Value Summary
Packages IList<string>
Gets the list of packages which should be rebuilt

Methods

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

Extension Methods

Name Value Summary
AddPackage(string) NpmRebuildSettings
Rebuild a package by name
AddScopedPackage(string, string) NpmRebuildSettings
Rebuild a scoped package by name
FromPath(DirectoryPath) NpmSettings
Sets the working directory which should be used to run the npm command.
SetRedirectedStandardErrorHandler(Action<string>) NpmSettings
Sets the StandardError-Action
SetRedirectedStandardOutputHandler(Action<string>) NpmSettings
Sets the StandardOutput-Action
WithLogLevel(NpmLogLevel) NpmSettings
Sets the log level which should be used to run the npm command.
GitHub
Discussion