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