Skip to content

Context that is passed into an executor

• Optional configurationName: string

The name of the configuration being executed


• cwd: string

The current working directory


• isVerbose: boolean

Enable verbose logging


• nxJsonConfiguration: NxJsonConfiguration<string[] | "*">

The contents of nx.json.


• projectGraph: ProjectGraph

A snapshot of the project graph as it existed when the Nx command was kicked off


• Optional projectName: string

The name of the project being executed on


• projectsConfigurations: ProjectsConfigurations

Projects config


• root: string

The root of the workspace


• Optional target: TargetConfiguration<any>

The configuration of the target being executed


• Optional targetName: string

The name of the target being executed


• Optional taskGraph: TaskGraph

A snapshot of the task graph as it existed when the Nx command was kicked off