JavaScriptPackageManagerAnnotation Class

Definition

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

public sealed class JavaScriptPackageManagerAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type JavaScriptPackageManagerAnnotation = class
    interface IResourceAnnotation
Public NotInheritable Class JavaScriptPackageManagerAnnotation
Implements IResourceAnnotation
Inheritance
JavaScriptPackageManagerAnnotation
Implements

Constructors

JavaScriptPackageManagerAnnotation(String, String, String)

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

Properties

CacheMount

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

CommandSeparator

Gets the string used to separate individual commands in a command sequence, or null if one shouldn't be used. Defaults to "--".

ExecutableName

Gets the executable used to run the JavaScript package manager.

PackageFilesPatterns

Gets the file patterns for package dependency files.

ScriptCommand

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

Applies to