NpmPublishSettingsExtensions.

ToRegistry(NpmPublishSettings, Uri) Method

Summary

Sets the registry where the package will be published to.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Publish
Containing Type
NpmPublishSettingsExtensions

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.