NpmCiSettingsExtensions.

FromRegistry(NpmCiSettings, Uri) Method

Summary

Instructs npm to look for packages in the given registry.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Ci
Containing Type
NpmCiSettingsExtensions

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.