From 7d095d59ade387f8be5fd12d575fbe3090b60fe4 Mon Sep 17 00:00:00 2001 From: Jason Jean Date: Tue, 17 Oct 2023 19:16:38 -0400 Subject: [PATCH] fix(nx-plugin): enable prompt for generator and migration generators (#19675) --- docs/generated/packages/plugin/generators/generator.json | 4 ++-- docs/generated/packages/plugin/generators/migration.json | 4 ++-- packages/plugin/generators.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/generated/packages/plugin/generators/generator.json b/docs/generated/packages/plugin/generators/generator.json index 0ca381c40beaf..87468991b502f 100644 --- a/docs/generated/packages/plugin/generators/generator.json +++ b/docs/generated/packages/plugin/generators/generator.json @@ -1,6 +1,6 @@ { "name": "generator", - "factory": "./src/generators/generator/generator", + "factory": "./src/generators/generator/generator#generatorGeneratorInternal", "schema": { "$schema": "http://json-schema.org/schema", "cli": "nx", @@ -63,7 +63,7 @@ "presets": [] }, "description": "Create a generator for an Nx Plugin.", - "implementation": "/packages/plugin/src/generators/generator/generator.ts", + "implementation": "/packages/plugin/src/generators/generator/generator#generatorGeneratorInternal.ts", "aliases": [], "hidden": false, "path": "/packages/plugin/src/generators/generator/schema.json", diff --git a/docs/generated/packages/plugin/generators/migration.json b/docs/generated/packages/plugin/generators/migration.json index cc5600532655f..ab84d4dd80b86 100644 --- a/docs/generated/packages/plugin/generators/migration.json +++ b/docs/generated/packages/plugin/generators/migration.json @@ -1,6 +1,6 @@ { "name": "migration", - "factory": "./src/generators/migration/migration", + "factory": "./src/generators/migration/migration#migrationGeneratorInternal", "schema": { "$schema": "http://json-schema.org/schema", "cli": "nx", @@ -61,7 +61,7 @@ "presets": [] }, "description": "Create a migration for an Nx Plugin.", - "implementation": "/packages/plugin/src/generators/migration/migration.ts", + "implementation": "/packages/plugin/src/generators/migration/migration#migrationGeneratorInternal.ts", "aliases": [], "hidden": false, "path": "/packages/plugin/src/generators/migration/schema.json", diff --git a/packages/plugin/generators.json b/packages/plugin/generators.json index 9c49a325b27b5..ec98198289e86 100644 --- a/packages/plugin/generators.json +++ b/packages/plugin/generators.json @@ -19,12 +19,12 @@ "description": "Create a E2E application for a Nx Plugin." }, "migration": { - "factory": "./src/generators/migration/migration", + "factory": "./src/generators/migration/migration#migrationGeneratorInternal", "schema": "./src/generators/migration/schema.json", "description": "Create a migration for an Nx Plugin." }, "generator": { - "factory": "./src/generators/generator/generator", + "factory": "./src/generators/generator/generator#generatorGeneratorInternal", "schema": "./src/generators/generator/schema.json", "description": "Create a generator for an Nx Plugin." },