Skip to content

Context that is passed into an executor

Properties

configurationName: string

The name of the configuration being executed

cwd: string

The current working directory

isVerbose: boolean

Enable verbose logging

nxJsonConfiguration: NxJsonConfiguration

The contents of nx.json.

projectGraph: ProjectGraph

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

projectName: string

The name of the project being executed on

projectsConfigurations: ProjectsConfigurations

Projects config

root: string

The root of the workspace

target: TargetConfiguration

The configuration of the target being executed

targetName: string

The name of the target being executed

taskGraph: TaskGraph

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