From cee00df3ec33592ef536d127d0f567241afd83fb Mon Sep 17 00:00:00 2001 From: Bek Masharipov Date: Sun, 2 Nov 2025 11:27:21 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=90=9B=20Add=20missing=20support=20fo?= =?UTF-8?q?r=20PUT=20method=20in=20openApiRouter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- starter/api/rest/src/view/rest/util/openapi.util.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/starter/api/rest/src/view/rest/util/openapi.util.ts b/starter/api/rest/src/view/rest/util/openapi.util.ts index f8efc7e..49fe46f 100644 --- a/starter/api/rest/src/view/rest/util/openapi.util.ts +++ b/starter/api/rest/src/view/rest/util/openapi.util.ts @@ -245,6 +245,9 @@ export const openApiRouter = ( case 'post': router.post(route, handler) break + case 'PUT': + router.put(route, handler) + break case 'patch': router.patch(route, handler) break From 1c7cf48b8976dfbb162550450d80fc9b23a45772 Mon Sep 17 00:00:00 2001 From: Bek Masharipov Date: Sun, 2 Nov 2025 11:28:05 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=90=9B=20Remove=20hardcoded=20version?= =?UTF-8?q?=20number=20in=20CLI=20help?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Bootstrap.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bootstrap.ts b/src/Bootstrap.ts index d4ea29c..469c598 100644 --- a/src/Bootstrap.ts +++ b/src/Bootstrap.ts @@ -87,7 +87,7 @@ export class Bootstrap { } cli = cli - .version('1.0.0') + .version() .help() .check(argv => { for (const [key, val] of Object.entries(argv)) { From 4966ad6ea846ceca4c1353104a6fd1fd6af94689 Mon Sep 17 00:00:00 2001 From: Bek Masharipov Date: Sun, 2 Nov 2025 11:31:03 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=93=9D=20Recommend=20npx=20installati?= =?UTF-8?q?on=20from=20npm=20registry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 03adf36..996383a 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ CLI to help you set up a Node.js TypeScript project. The setup includes: ## Usage -Run directly from GitHub repo via npx: +Run directly from npm via npx: ``` -Usage: npm exec --ignore-scripts -- github:AckeeCZ/create-node-app [OPTIONS] +Usage: npx @ackee/create-node-app [OPTIONS] Options: -d, --dir Destination directory [string] [default: "./node-app"]