Summary
Sets the registry where the package will be published to.
- 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. |