JavaScriptPackageManagerAnnotation
Class sealed net10.0
Represents the annotation for the JavaScript package manager used in a resource.
namespace Aspire.Hosting.JavaScript;
public sealed class JavaScriptPackageManagerAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...} IResourceAnnotation
7 members
Constructors1
Section titled ConstructorsProperties6
Section titled PropertiesCacheMountgetstring? Gets the BuildKit cache mount path for the package manager, or null if not supported.
CommandSeparatorget; initstring? Gets the string used to separate individual commands in a command sequence, or
null if one shouldn't be used. Defaults to "--". ExecutableNamegetstring Gets the executable used to run the JavaScript package manager.
InitializeDockerBuildStageget; initexperimentalAction<DockerfileStage> Gets or sets a callback to initialize the Docker build stage before installing packages.
PackageFilesPatternsget Gets the file patterns for package dependency files.
ScriptCommandgetstring? Gets the command used to run a script with the JavaScript package manager.