| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @microsoft/rush-lib > ICreateOperationsContext
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.
Context used for creating operations to be executed.
Signature:
export interface ICreateOperationsContext |
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
BuildCacheConfiguration | undefined |
(ALPHA) The configuration for the build cache, if the feature is enabled. | |
|
|
boolean |
(ALPHA) If true, for an incremental build, Rush will only include projects with immediate changes or projects with no consumers. | |
|
|
CobuildConfiguration | undefined |
(ALPHA) The configuration for the cobuild, if cobuild feature and build cache feature are both enabled. | |
|
|
ReadonlyMap<string, CommandLineParameter<></>> |
(ALPHA) The set of custom parameters for the executing command. Maps from the | |
|
|
boolean |
(ALPHA) If true, Rush will automatically include the dependent phases for the specified set of phases. | |
|
|
((operation: Operation<></>, reason: string) => void) | undefined |
(ALPHA) (Optional) Marks an operation's result as invalid, potentially triggering a new build. Only applicable in watch mode. | |
|
|
boolean |
(ALPHA) If true, projects may read their output from cache or be skipped if already up to date. If false, neither of the above may occur, e.g. "rush rebuild" | |
|
|
boolean |
(ALPHA) If true, this is the initial run of the command. If false, this execution is in response to changes. | |
|
|
boolean |
(ALPHA) If true, the command is running in watch mode. | |
|
|
number |
(ALPHA) The currently configured maximum parallelism for the command. | |
|
|
ReadonlySet<IPhase<></>> |
(ALPHA) The set of phases original for the current command execution. | |
|
|
ReadonlySet<IPhase<></>> |
(ALPHA) The set of phases selected for the current command execution. | |
|
|
ReadonlyMap<RushConfigurationProject<></>, RushProjectConfiguration<></>> |
(ALPHA) All successfully loaded rush-project.json data for selected projects. | |
|
|
ReadonlySet<RushConfigurationProject<></>> |
(ALPHA) The set of Rush projects selected for the current command execution. | |
|
|
ReadonlySet<RushConfigurationProject<></>> |
(ALPHA) The set of Rush projects that have not been built in the current process since they were last modified. When | |
|
|
(ALPHA) The Rush configuration |