NpmPublishSettingsExtensions Class

Summary

Extensions for NpmPublishSettings.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Publish
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["NpmPublishSettingsExtensions"] class Type type-node

Syntax

public static class NpmPublishSettingsExtensions

Methods

Name Value Summary
FromSource(NpmPublishSettings, string) NpmPublishSettings
Sets the source to publish.
static
ToRegistry(NpmPublishSettings, Uri) NpmPublishSettings
Sets the registry where the package will be published to.
static
WithAccess(NpmPublishSettings, NpmPublishAccess) NpmPublishSettings
Sets the access of the published package.
static
WithTag(NpmPublishSettings, string) NpmPublishSettings
Sets the tag of the package to publish.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin