Interface: ExecutorContext

Context that is passed into an executor

Table of contents

Properties

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