From 5109f68ecd4e74a71f480cabf5c5450908581a06 Mon Sep 17 00:00:00 2001 From: Dom <3301714+domjtalbot@users.noreply.github.com> Date: Tue, 20 Dec 2022 20:49:30 +0000 Subject: [PATCH] fix(nx-mesh): preset generator schema --- .changeset/hot-dryers-beg.md | 5 +++++ libs/nx-mesh/generators.json | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .changeset/hot-dryers-beg.md diff --git a/.changeset/hot-dryers-beg.md b/.changeset/hot-dryers-beg.md new file mode 100644 index 00000000..00b7a27e --- /dev/null +++ b/.changeset/hot-dryers-beg.md @@ -0,0 +1,5 @@ +--- +'nx-mesh': patch +--- + +Fix preset generator schema diff --git a/libs/nx-mesh/generators.json b/libs/nx-mesh/generators.json index 0c7016a2..d5704d64 100644 --- a/libs/nx-mesh/generators.json +++ b/libs/nx-mesh/generators.json @@ -23,7 +23,7 @@ "aliases": ["library", "sdk-library"] }, "preset": { - "factory": "./src/generators/preset/generator", + "factory": "./src/generators/preset/preset", "schema": "./src/generators/preset/schema.json", "description": "Create a GraphQL Mesh SDK in an empty workspace.", "hidden": true @@ -49,6 +49,12 @@ "description": "Create a GraphQL Mesh SDK library for Nx", "x-type": "library", "aliases": ["library", "sdk-library"] + }, + "preset": { + "factory": "./src/generators/preset/preset#presetGenerator", + "schema": "./src/generators/preset/schema.json", + "description": "Create a GraphQL Mesh SDK in an empty workspace.", + "hidden": true } } }