From bcedf98548ab96fedd8f9a05dace97ab3ffcc44a Mon Sep 17 00:00:00 2001 From: Tine Kondo Date: Mon, 14 Feb 2022 07:24:50 +0100 Subject: [PATCH] feat(nx-quarkus): add aliases for the format executor You can now also use `do-format` or `apply-format` to run the executor --- packages/nx-quarkus/README.md | 9 +++++++++ packages/nx-quarkus/executors.json | 10 ++++++++++ 2 files changed, 19 insertions(+) diff --git a/packages/nx-quarkus/README.md b/packages/nx-quarkus/README.md index 4b52c566..75db1247 100644 --- a/packages/nx-quarkus/README.md +++ b/packages/nx-quarkus/README.md @@ -191,6 +191,15 @@ nx clean your-quarkus-app ``` nx run your-quarkus-app:format + +// or simply + +nx do-format your-quarkus-app + +// or + +nx apply-format your-quarkus-app + ``` ### Packaging the project - ('package' Executor) diff --git a/packages/nx-quarkus/executors.json b/packages/nx-quarkus/executors.json index 3b4ea446..4cdec0f8 100644 --- a/packages/nx-quarkus/executors.json +++ b/packages/nx-quarkus/executors.json @@ -35,6 +35,16 @@ "schema": "./src/executors/format/schema.json", "description": "Executor to format the project" }, + "do-format": { + "implementation": "./src/executors/format/executor", + "schema": "./src/executors/format/schema.json", + "description": "Executor to format the project (alias to 'format' executor)" + }, + "apply-format": { + "implementation": "./src/executors/format/executor", + "schema": "./src/executors/format/schema.json", + "description": "Executor to format the project (alias to 'format' executor)" + }, "build": { "implementation": "./src/executors/build/executor", "schema": "./src/executors/build/schema.json",