diff --git a/packages/nx/schemas/nx-schema.json b/packages/nx/schemas/nx-schema.json index 4631fcdf92..a5a1d8b30b 100644 --- a/packages/nx/schemas/nx-schema.json +++ b/packages/nx/schemas/nx-schema.json @@ -163,7 +163,8 @@ "type": "object", "properties": { "externalDependencies": { - "type": "string", + "type": "array", + "items": { "type": "string" }, "description": "The list of external dependencies that our target depends on for `nx:run-commands` and community plugins." } }, diff --git a/packages/nx/schemas/project-schema.json b/packages/nx/schemas/project-schema.json index d930ea07f1..d8b93c5829 100644 --- a/packages/nx/schemas/project-schema.json +++ b/packages/nx/schemas/project-schema.json @@ -211,7 +211,8 @@ "type": "object", "properties": { "externalDependencies": { - "type": "string", + "type": "array", + "items": { "type": "string" }, "description": "The list of external dependencies that our target depends on for `nx:run-commands` and community plugins." } },