From c3d843adf8d4dd5877a8711640b01b312c7c0652 Mon Sep 17 00:00:00 2001 From: Amr Salama Date: Fri, 20 Dec 2024 07:09:49 +0000 Subject: [PATCH] feat(core): add sync generators option to target defaults in nx-schema --- packages/nx/schemas/nx-schema.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/nx/schemas/nx-schema.json b/packages/nx/schemas/nx-schema.json index 64e2288dc2d62..108b5b42a4f40 100644 --- a/packages/nx/schemas/nx-schema.json +++ b/packages/nx/schemas/nx-schema.json @@ -569,6 +569,13 @@ "cache": { "type": "boolean", "description": "Specifies if the given target should be cacheable" + }, + "syncGenerators": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of generators to run before the target to ensure the workspace is up to date" } }, "additionalProperties": false