From f950f9b68df78598cd0dee966fc6d67c49e382d2 Mon Sep 17 00:00:00 2001 From: Jason Jean Date: Mon, 5 Feb 2024 14:08:55 -0500 Subject: [PATCH] docs(core): document NX_ADD_PLUGINS environment variable (#21565) --- docs/shared/reference/environment-variables.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/shared/reference/environment-variables.md b/docs/shared/reference/environment-variables.md index a73f611aef..e93e50d814 100644 --- a/docs/shared/reference/environment-variables.md +++ b/docs/shared/reference/environment-variables.md @@ -4,6 +4,7 @@ The following environment variables are ones that you can set to change the beha | Property | Type | Description | | -------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| NX_ADD_PLUGINS | boolean | If set to false, Nx will not add plugins to infer tasks. This is true by default. Workspaces created before Nx 18 will have this disabled via a migration for backwards compatibility | | NX_BASE | string | The default base branch to use when calculating the affected projects. Can be overridden on the command line with `--base`. | | NX_CACHE_DIRECTORY | string | The cache for task outputs is stored in `node_modules/.cache/nx` by default. Set this variable to use a different directory. | | NX_CACHE_PROJECT_GRAPH | boolean | If set to `false`, disables the project graph cache. Most useful when developing a plugin that modifies the project graph. |