NpmPublishSettingsExtensions.

WithAccess(NpmPublishSettings, NpmPublishAccess) Method

Summary

Sets the access of the published package.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Publish
Containing Type
NpmPublishSettingsExtensions

Syntax

public static NpmPublishSettings WithAccess(this NpmPublishSettings settings, NpmPublishAccess access)

Parameters

Name Type Description
settings NpmPublishSettings The settings.
access NpmPublishAccess Access of the published package.

Return Value

Type Description
NpmPublishSettings The settings instance with Access set to access.