Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > IOperationOptions

IOperationOptions interface

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Options for constructing a new Operation.

Signature:

export interface IOperationOptions 

Properties

Property

Modifiers

Type

Description

logFilenameIdentifier

string

(ALPHA) This property is used in the name of the filename for the logs generated by this operation. This is a filesystem-safe version of the phase name. For example, an operation for a phase with name _phase:compile has a logFilenameIdentifier of _phase_compile.

phase

IPhase

(ALPHA) The Rush phase associated with this Operation

project

RushConfigurationProject

(ALPHA) The Rush project associated with this Operation

runner?

IOperationRunner | undefined

(ALPHA) (Optional) When the scheduler is ready to process this Operation, the runner implements the actual work of running the operation.

settings?

IOperationSettings | undefined

(ALPHA) (Optional) Settings defined in the project configuration for this operation, can be overridden.