ExecutorContext
Context that is passed into an executor
Table of contents
Section titled “Table of contents”Properties
Section titled “Properties”- configurationName
- cwd
- isVerbose
- nxJsonConfiguration
- projectGraph
- projectName
- projectsConfigurations
- root
- target
- targetName
- taskGraph
Properties
Section titled “Properties”configurationName
Section titled “configurationName”• Optional configurationName: string
The name of the configuration being executed
• cwd: string
The current working directory
isVerbose
Section titled “isVerbose”• isVerbose: boolean
Enable verbose logging
nxJsonConfiguration
Section titled “nxJsonConfiguration”• nxJsonConfiguration: NxJsonConfiguration<string[] | "*">
The contents of nx.json.
projectGraph
Section titled “projectGraph”• projectGraph: ProjectGraph
A snapshot of the project graph as it existed when the Nx command was kicked off
projectName
Section titled “projectName”• Optional projectName: string
The name of the project being executed on
projectsConfigurations
Section titled “projectsConfigurations”• projectsConfigurations: ProjectsConfigurations
Projects config
• root: string
The root of the workspace
target
Section titled “target”• Optional target: TargetConfiguration<any>
The configuration of the target being executed
targetName
Section titled “targetName”• Optional targetName: string
The name of the target being executed
taskGraph
Section titled “taskGraph”• Optional taskGraph: TaskGraph
A snapshot of the task graph as it existed when the Nx command was kicked off