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
Instructs npm to look for packages in the given registry.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm .Ci - Containing Type
- Npm
Ci Settings Extensions
Syntax
public static NpmCiSettings FromRegistry(this NpmCiSettings settings, Uri registry)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | NpmCiSettings | The settings. |
| registry | Uri | The registry to look up packages from |
Return Value
| Type | Description |
|---|---|
| NpmCiSettings | The settings instance with Registry set to registry. |
