JavaScriptPackageManagerAnnotation(String, String, String) Constructor

Definition

Represents the annotation for the JavaScript package manager used in a resource.

public JavaScriptPackageManagerAnnotation(string executableName, string? runScriptCommand, string? cacheMount = default);
new Aspire.Hosting.JavaScript.JavaScriptPackageManagerAnnotation : string * string * string -> Aspire.Hosting.JavaScript.JavaScriptPackageManagerAnnotation
Public Sub New (executableName As String, runScriptCommand As String, Optional cacheMount As String = Nothing)

Parameters

executableName
String

The name of the executable used to run the package manager.

runScriptCommand
String

The command used to run a script with the JavaScript package manager.

cacheMount
String

The BuildKit cache mount path for the package manager, or null if not supported.

Applies to