Skip to content
Docs Try Aspire

JavaScriptPackageManagerAnnotation Constructors

Class Constructors 1 member
Represents the annotation for the JavaScript package manager used in a resource.
Constructor(string, string?, string?) Section titled Constructor(string, string?, string?)
Represents the annotation for the JavaScript package manager used in a resource.
public sealed class JavaScriptPackageManagerAnnotation
{
public JavaScriptPackageManagerAnnotation(
string executableName,
string? runScriptCommand,
string? cacheMount = null)
{
// ...
}
}
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? optional The BuildKit cache mount path for the package manager, or null if not supported.