JavaScriptPackageManagerAnnotation(String, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.