Npm aliases

Cake.Npm addin

Npm Set aliases

AddUser

NpmAddUser(ICakeContext, Action<NpmAddUserSettings>)
Alias from Cake.Npm addin
Adds user using the settings returned by a configurator.
NpmAddUser(ICakeContext, NpmAddUserSettings)
Alias from Cake.Npm addin
Adds user using the specified settings.

Ci

NpmCi(ICakeContext)
Alias from Cake.Npm addin
Cis all packages for the project in the current working directory.
NpmCi(ICakeContext, Action<NpmCiSettings>)
Alias from Cake.Npm addin
Cis packages using the settings returned by a configurator.
NpmCi(ICakeContext, NpmCiSettings)
Alias from Cake.Npm addin
Cis packages using the specified settings.

Install

NpmInstall(ICakeContext)
Alias from Cake.Npm addin
Installs packages for the project in the current working directory.
NpmInstall(ICakeContext, Action<NpmInstallSettings>)
Alias from Cake.Npm addin
Installs packages using the settings returned by a configurator.
NpmInstall(ICakeContext, NpmInstallSettings)
Alias from Cake.Npm addin
Installs packages using the specified settings.
NpmInstall(ICakeContext, string[])
Alias from Cake.Npm addin
Install one or more packages to the project in the current working directory.

Pack

NpmPack(ICakeContext)
Alias from Cake.Npm addin
Creates a npm package from the current working directory. Package will be created in the current working directory.
NpmPack(ICakeContext, Action<NpmPackSettings>)
Alias from Cake.Npm addin
Creates a npm package using the settings returned by a configurator.
NpmPack(ICakeContext, NpmPackSettings)
Alias from Cake.Npm addin
Creates a npm package using the specified settings. Package will be created in the current working directory.
NpmPack(ICakeContext, string)
Alias from Cake.Npm addin
Creates a npm package from a specific source. Package will be created in the current working directory.

Prune

NpmPrune(ICakeContext)
Alias from Cake.Npm addin
Runs npm prune from the current folder.
NpmPrune(ICakeContext, Action<NpmPruneSettings>)
Alias from Cake.Npm addin
Runs npm prune using the settings returned by a configurator.
NpmPrune(ICakeContext, NpmPruneSettings)
Alias from Cake.Npm addin
Runs npm prune with the specified settings.

Publish

NpmPublish(ICakeContext)
Alias from Cake.Npm addin
Publishes the npm package in the current working directory.
NpmPublish(ICakeContext, Action<NpmPublishSettings>)
Alias from Cake.Npm addin
Publishes a npm package using the settings returned by a configurator.
NpmPublish(ICakeContext, NpmPublishSettings)
Alias from Cake.Npm addin
Publishes a npm package based on the specified settings.
NpmPublish(ICakeContext, string)
Alias from Cake.Npm addin
Publishes the npm package created from a specific source.

Rebuild

NpmRebuild(ICakeContext)
Alias from Cake.Npm addin
Rebuilds packages for the project in the current working directory.
NpmRebuild(ICakeContext, Action<NpmRebuildSettings>)
Alias from Cake.Npm addin
Rebuild packages using the settings returned by a configurator.
NpmRebuild(ICakeContext, NpmRebuildSettings)
Alias from Cake.Npm addin
Rebuilds packages using the specified settings.
NpmRebuild(ICakeContext, string[])
Alias from Cake.Npm addin
Rebuild one or more packages to the project in the current working directory.

Run-Script

NpmRunScript(ICakeContext, NpmRunScriptSettings)
Alias from Cake.Npm addin
Runs a npm script with the specified settings.
NpmRunScript(ICakeContext, string)
Alias from Cake.Npm addin
Runs a npm script defined in the package.json from the current folder.
NpmRunScript(ICakeContext, string, Action<NpmRunScriptSettings>)
Alias from Cake.Npm addin
Runs a npm script using the settings returned by a configurator.
NpmRunScript(ICakeContext, string, IEnumerable<string>)
Alias from Cake.Npm addin
Runs a npm script defined in the package.json from the current folder with specific arguments.

Set

NpmSet(ICakeContext, Action<NpmSetSettings>)
Alias from Cake.Npm addin
Sets an npm configuration setting returned by a configurator.
NpmSet(ICakeContext, NpmSetSettings)
Alias from Cake.Npm addin
Sets an npm configuration setting.
NpmSet(ICakeContext, string, string, bool)
Alias from Cake.Npm addin
Sets an npm configuration setting.

Update

NpmUpdate(ICakeContext)
Alias from Cake.Npm addin
Updates all packages for the project in the current working directory.
NpmUpdate(ICakeContext, Action<NpmUpdateSettings>)
Alias from Cake.Npm addin
Updates all packages for the project using the settings returned by a configurator.
NpmUpdate(ICakeContext, NpmUpdateSettings)
Alias from Cake.Npm addin
Updates all packages for the project using the specified settings.

Version

NpmVersion(ICakeContext)
Alias from Cake.Npm addin
Versions all packages for the project in the current working directory.