Skip to content

Commit

Permalink
fix: remove gen, init, and generate aliases for project gener…
Browse files Browse the repository at this point in the history
…ator

`init` alias caused `nx add` to fail (because `project` it depends on requires a `name` option to be provided)
  • Loading branch information
tinesoft committed Feb 19, 2024
1 parent d496917 commit e39ad3a
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/nx-flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ nx g @nxrocks/nx-flutter:project <app-folder>
```
> 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).
Expand Down
2 changes: 1 addition & 1 deletion packages/nx-flutter/generators.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/nx-ktor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Simply run the `project` generator with the following command:
nx g @nxrocks/nx-ktor:project <your-app-name>
```
> 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).
Expand Down
2 changes: 1 addition & 1 deletion packages/nx-ktor/generators.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/nx-micronaut/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Simply run the `project` generator with the following command:
nx g @nxrocks/nx-micronaut:project <your-app-name>
```
> 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).
Expand Down
2 changes: 1 addition & 1 deletion packages/nx-micronaut/generators.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/nx-quarkus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Simply run the `project` generator with the following command:
nx g @nxrocks/nx-quarkus:project <your-app-name>
```
> 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).
Expand Down
2 changes: 1 addition & 1 deletion packages/nx-quarkus/generators.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/nx-spring-boot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Simply run the `project` generator with the following command:
nx g @nxrocks/nx-spring-boot:project <your-app-name>
```
> 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).
Expand Down
2 changes: 1 addition & 1 deletion packages/nx-spring-boot/generators.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e39ad3a

Please sign in to comment.