From 4abcf6174888c6e3023e2981583fccce0f0147ca 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. --- 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 49a15ae93a..23998fc4d1 100644 --- a/packages/nx/schemas/nx-schema.json +++ b/packages/nx/schemas/nx-schema.json @@ -506,6 +506,11 @@ "type": "object" } }, + "parallelism": { + "type": "boolean", + "default": true, + "description": "Whether this target can be run in parallel with other tasks" + }, "inputs": { "$ref": "#/definitions/inputs" },