From 5ea6e73be481fef7ef2f3978d478ef9f1e961f1a Mon Sep 17 00:00:00 2001 From: David LJ Date: Fri, 25 Oct 2024 12:42:02 +0200 Subject: [PATCH] refactor: add "version" prop to schematics collection schema --- packages/angular_devkit/schematics/collection-schema.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/angular_devkit/schematics/collection-schema.json b/packages/angular_devkit/schematics/collection-schema.json index 6489280417e2..31e4ef8ef092 100644 --- a/packages/angular_devkit/schematics/collection-schema.json +++ b/packages/angular_devkit/schematics/collection-schema.json @@ -57,6 +57,10 @@ "type": "boolean", "default": false, "description": "Whether or not this schematic can be called from an external schematic, or a tool. This implies hidden: true." + }, + "version": { + "type": "string", + "description": "Used for an `ng update` migration schematic. Specifies in which version of the library the migration schematic will run when updating" } }, "required": ["factory", "description"]