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 } } }