From 67ce0ae26f925e2f32aea5bf02290e76e60f06a9 Mon Sep 17 00:00:00 2001 From: MaxKless <34165455+MaxKless@users.noreply.github.com> Date: Fri, 30 Aug 2024 17:28:23 +0300 Subject: [PATCH] fix(core): add parallelism to target defaults schema (#27710) ## Current Behavior Parallelism is part of the project schema but not `targetDefaults`. This means it's highlighted as a warning in `nx.json` ## Expected Behavior There should be no warning. (cherry picked from commit 4abcf6174888c6e3023e2981583fccce0f0147ca) --- packages/nx/schemas/nx-schema.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/nx/schemas/nx-schema.json b/packages/nx/schemas/nx-schema.json index 0d8e145aafa6b..ff9321df1581a 100644 --- a/packages/nx/schemas/nx-schema.json +++ b/packages/nx/schemas/nx-schema.json @@ -499,6 +499,11 @@ "type": "object" } }, + "parallelism": { + "type": "boolean", + "default": true, + "description": "Whether this target can be run in parallel with other tasks" + }, "inputs": { "$ref": "#/definitions/inputs" },