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 registry where the package will be published to.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm .Publish - Containing Type
- Npm
Publish Settings Extensions
Syntax
public static NpmPublishSettings ToRegistry(this NpmPublishSettings settings, Uri registry)
Parameters
Name | Type | Description |
---|---|---|
settings | NpmPublishSettings | The settings. |
registry | Uri | Registry where the package will be published to. |
Return Value
Type | Description |
---|---|
NpmPublishSettings | The settings instance with Registry set to registry. |