From e39ad3ac0fd0c8061f30193c7011cd3a9809a3fe Mon Sep 17 00:00:00 2001 From: Tine Kondo Date: Mon, 19 Feb 2024 21:32:09 +0000 Subject: [PATCH] fix: remove `gen`, `init`, and `generate` aliases for `project` generator `init` alias caused `nx add` to fail (because `project` it depends on requires a `name` option to be provided) --- packages/nx-flutter/README.md | 2 +- packages/nx-flutter/generators.json | 2 +- packages/nx-ktor/README.md | 2 +- packages/nx-ktor/generators.json | 2 +- packages/nx-micronaut/README.md | 2 +- packages/nx-micronaut/generators.json | 2 +- packages/nx-quarkus/README.md | 2 +- packages/nx-quarkus/generators.json | 2 +- packages/nx-spring-boot/README.md | 2 +- packages/nx-spring-boot/generators.json | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/nx-flutter/README.md b/packages/nx-flutter/README.md index b5caab91..9272fa83 100644 --- a/packages/nx-flutter/README.md +++ b/packages/nx-flutter/README.md @@ -97,7 +97,7 @@ nx g @nxrocks/nx-flutter:project ``` -> you can also use the following aliases to call the generator: `prj`, `new`, `gen`, `init`, `create`, or `generate` +> you can also use the following aliases to call the generator: `prj`, `new`, or `create` You will be prompted for entering the most commonly customized generation options (like application's `package`, `description`, `template`, etc). diff --git a/packages/nx-flutter/generators.json b/packages/nx-flutter/generators.json index f934ad97..4b0a7b80 100644 --- a/packages/nx-flutter/generators.json +++ b/packages/nx-flutter/generators.json @@ -6,7 +6,7 @@ "factory": "./src/generators/project/generator", "schema": "./src/generators/project/schema.json", "description": "Creates a `Flutter` project", - "aliases": ["proj", "new", "gen", "init", "create", "generate"] + "aliases": ["proj", "new", "create"] }, "preset": { "factory": "./src/generators/preset/generator", diff --git a/packages/nx-ktor/README.md b/packages/nx-ktor/README.md index 6b2284f7..8a511c5d 100644 --- a/packages/nx-ktor/README.md +++ b/packages/nx-ktor/README.md @@ -94,7 +94,7 @@ Simply run the `project` generator with the following command: nx g @nxrocks/nx-ktor:project ``` -> you can also use the following aliases to call the generator: `proj`, `new`, `gen`, `init`, `create`, or `generate` +> you can also use the following aliases to call the generator: `proj`, `new`, or `create` You will be prompted for entering the most commonly customized generation options (like project's `groupId`, `artifactId`, `features`, etc). diff --git a/packages/nx-ktor/generators.json b/packages/nx-ktor/generators.json index adf2173b..a054a3c3 100644 --- a/packages/nx-ktor/generators.json +++ b/packages/nx-ktor/generators.json @@ -6,7 +6,7 @@ "factory": "./src/generators/project/generator", "schema": "./src/generators/project/schema.json", "description": "Creates a `Ktor` project", - "aliases": ["proj", "new", "gen", "init", "create", "generate"] + "aliases": ["proj", "new", "create"] }, "link": { "factory": "./src/generators/link/generator", diff --git a/packages/nx-micronaut/README.md b/packages/nx-micronaut/README.md index a965f715..605dff94 100644 --- a/packages/nx-micronaut/README.md +++ b/packages/nx-micronaut/README.md @@ -93,7 +93,7 @@ Simply run the `project` generator with the following command: nx g @nxrocks/nx-micronaut:project ``` -> you can also use the following aliases to call the generator: `proj`, `new`, `gen`, `init`, `create`, or `generate` +> you can also use the following aliases to call the generator: `proj`, `new`, or `create` You will be prompted for entering the most commonly customized generation options (like project's `groupId`, `artifactId`, `packaging`, `dependencies`, etc). diff --git a/packages/nx-micronaut/generators.json b/packages/nx-micronaut/generators.json index 9aaa676d..2608ce64 100644 --- a/packages/nx-micronaut/generators.json +++ b/packages/nx-micronaut/generators.json @@ -6,7 +6,7 @@ "factory": "./src/generators/project/generator", "schema": "./src/generators/project/schema.json", "description": "Creates a `Micronaut` project", - "aliases": ["proj", "new", "gen", "init", "create", "generate"] + "aliases": ["proj", "new", "create"] }, "link": { "factory": "./src/generators/link/generator", diff --git a/packages/nx-quarkus/README.md b/packages/nx-quarkus/README.md index ef6b468a..bd82149f 100644 --- a/packages/nx-quarkus/README.md +++ b/packages/nx-quarkus/README.md @@ -97,7 +97,7 @@ Simply run the `project` generator with the following command: nx g @nxrocks/nx-quarkus:project ``` -> you can also use the following aliases to call the generator: `proj`, `new`, `gen`, `init`, `create`, or `generate` +> you can also use the following aliases to call the generator: `proj`, `new`, or `create` You will be prompted for entering the most commonly customized generation options (like project's `groupId`, `artifactId`, `packaging`, `dependencies`, etc). diff --git a/packages/nx-quarkus/generators.json b/packages/nx-quarkus/generators.json index 9fc75ae2..914eda0d 100644 --- a/packages/nx-quarkus/generators.json +++ b/packages/nx-quarkus/generators.json @@ -6,7 +6,7 @@ "factory": "./src/generators/project/generator", "schema": "./src/generators/project/schema.json", "description": "Creates a `Quarkus` project", - "aliases": ["proj", "new", "gen", "init", "create", "generate"] + "aliases": ["proj", "new", "create"] }, "link": { "factory": "./src/generators/link/generator", diff --git a/packages/nx-spring-boot/README.md b/packages/nx-spring-boot/README.md index 696c2e9c..551a6b21 100644 --- a/packages/nx-spring-boot/README.md +++ b/packages/nx-spring-boot/README.md @@ -97,7 +97,7 @@ Simply run the `project` generator with the following command: nx g @nxrocks/nx-spring-boot:project ``` -> you can also use the following aliases to call the generator: `proj`, `new`, `gen`, `init`, `create`, or `generate` +> you can also use the following aliases to call the generator: `proj`, `new`, or `create` You will be prompted for entering the most commonly customized generation options (like project's `groupId`, `artifactId`, `packaging`, `dependencies`, etc). diff --git a/packages/nx-spring-boot/generators.json b/packages/nx-spring-boot/generators.json index a9662154..c63f0bd8 100644 --- a/packages/nx-spring-boot/generators.json +++ b/packages/nx-spring-boot/generators.json @@ -6,7 +6,7 @@ "factory": "./src/generators/project/generator", "schema": "./src/generators/project/schema.json", "description": "Creates a `Spring Boot` project", - "aliases": ["proj", "new", "gen", "init", "create", "generate"] + "aliases": ["proj", "new", "create"] }, "link": { "factory": "./src/generators/link/generator",