Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > Operation > enabled

Operation.enabled property

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.

If set to false, this operation will be skipped during evaluation (return OperationStatus.Skipped). This is useful for plugins to alter the scope of the operation graph across executions, e.g. to enable or disable unit test execution, or to include or exclude dependencies.

Signature:

enabled: boolean;