This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Npm.
Summary
Sets the source to publish.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm .Publish - Containing Type
- Npm
Publish Settings Extensions
Syntax
public static NpmPublishSettings FromSource(this NpmPublishSettings settings, string source)
Parameters
Name | Type | Description |
---|---|---|
settings | NpmPublishSettings | The settings. |
source | string | Source to publish. A folder containing a package.json file or an url or file path to a gzipped tar archive containing a single folder with a package.json file inside. |
Return Value
Type | Description |
---|---|
NpmPublishSettings | The settings instance with Source set to source. |