JavaScriptInstallCommandAnnotation Properties
Class Properties 2 members
Represents the annotation for the JavaScript package manager's install command.
Gets the command-line arguments supplied to the JavaScript package manager.
public string[] Args { get; } Gets or sets the additional arguments for installing production-only dependencies (excluding devDependencies). This flag is appended to the base install command (from
JavaScriptInstallCommandAnnotation.Args) when generating the production dependencies stage in the Dockerfile. Each package manager sets its own flag (e.g. npm uses --omit=dev, yarn uses --production, pnpm uses --prod). public string? ProductionInstallArgs { get; init; }