diff --git a/docs/shared/reference/environment-variables.md b/docs/shared/reference/environment-variables.md index 42394664dc..434d1fb38e 100644 --- a/docs/shared/reference/environment-variables.md +++ b/docs/shared/reference/environment-variables.md @@ -36,12 +36,13 @@ The following environment variables are ones that you can set to change the beha Nx will set the following environment variables so they can be accessible within the process even outside of executors and generators. -| Property | Type | Description | -| ---------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------- | -| NX_TASK_TARGET_PROJECT | string | Set to the project name of the task being run. Use this to tell which project is being run. | -| NX_TASK_TARGET_TARGET | string | Set to the target name of the task being run. Use this to tell which target of the project is being run. | -| NX_TASK_TARGET_CONFIGURATION | string | Set to the configuration name of the task being run. Use this to tell which configuration of the target is being run. | -| NX_DRY_RUN | boolean | Set to `true` during dry runs of generators. Use this to avoid side effects during generators. | -| NX_INTERACTIVE | boolean | Set to `false` when running generators with `--interactive=false`. Use this to prevent prompting during generators | +| Property | Type | Description | +| ---------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | +| NX_TASK_TARGET_PROJECT | string | Set to the project name of the task being run. Use this to tell which project is being run. | +| NX_TASK_TARGET_TARGET | string | Set to the target name of the task being run. Use this to tell which target of the project is being run. | +| NX_TASK_TARGET_CONFIGURATION | string | Set to the configuration name of the task being run. Use this to tell which configuration of the target is being run. | +| NX_GRAPH_CREATION | boolean | Set to `true` during the graph creation process. Use this to have inference plugins run different code during graph creation versus during task execution | +| NX_DRY_RUN | boolean | Set to `true` during dry runs of generators. Use this to avoid side effects during generators. | +| NX_INTERACTIVE | boolean | Set to `false` when running generators with `--interactive=false`. Use this to prevent prompting during generators | [Nx Cloud Environment Variables](/ci/reference/env-vars) are listed on a dedicated page.