From bdd0e4873e8506ea1a3c89aaf5818150ad2eea12 Mon Sep 17 00:00:00 2001 From: didavila Date: Fri, 27 Mar 2026 11:26:54 +0100 Subject: [PATCH 01/13] chore: update README with new CLI options for configuration and linting --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e3b2668..c3b3012 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,10 @@ Options: -o, --output Output directory [default: ./src/app] -t, --templates Custom templates directory [default: ./templates] -s, --select-endpoints Interactively select tags and endpoints to generate + -c, --config Use a JSON configuration file (skips interactive prompts) + --init-config [file] Generate a JSON configuration file instead of generating code --skip-install Skip dependency installation + --skip-lint Skip post-generation linting and formatting --dry-run Simulate without writing files -h, --help Show help ``` From 07e45591336264b3a852f0c2ad25b83120f55ccd Mon Sep 17 00:00:00 2001 From: didavila Date: Fri, 27 Mar 2026 11:29:52 +0100 Subject: [PATCH 02/13] chore: update README with new command options for skipping linting and using config files --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index c3b3012..4597502 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,15 @@ generate-clean-arch -i api.yaml -t ./my-templates # Dry run (no files written) generate-clean-arch -i swagger.yaml --dry-run +# Skip linting after generation +generate-clean-arch -i swagger.yaml --skip-lint + +# Generate a config file to reuse later +generate-clean-arch --init-config generation-config.json + +# Run using a config file (no interactive prompts) +generate-clean-arch -c generation-config.json + # Full example with all options generate-clean-arch -i ./docs/api.yaml -o ./frontend/src/app -t ./custom-templates ``` From 4293857a7dca60f6abd0e2f4ef44866ce3ab674f Mon Sep 17 00:00:00 2001 From: didavila Date: Fri, 27 Mar 2026 11:35:23 +0100 Subject: [PATCH 03/13] chore: add NOTICE file with third-party licenses and copyright information --- NOTICE | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 NOTICE diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..e0262eb --- /dev/null +++ b/NOTICE @@ -0,0 +1,50 @@ +OpenAPI Clean Architecture Generator +Copyright (c) 2024 Blas Santomé Ocampo + +This product includes software developed by third parties. +All third-party packages listed below are distributed under the MIT License. + +--- + +chalk v4.1.2 +Copyright (c) Sindre Sorhus (https://sindresorhus.com) +License: MIT +https://github.com/chalk/chalk + +--- + +commander v11.1.0 +Copyright (c) TJ Holowaychuk +License: MIT +https://github.com/tj/commander.js + +--- + +fs-extra v11.3.4 +Copyright (c) JP Richardson +License: MIT +https://github.com/jprichardson/node-fs-extra + +--- + +js-yaml v4.1.1 +Copyright (c) Vladimir Zapparov +Copyright (c) Aleksey V Zapparov +Copyright (c) Vitaly Puzrin +Copyright (c) Martin Grenfell +License: MIT +https://github.com/nodeca/js-yaml + +--- + +mustache v4.2.0 +Copyright (c) mustache.js Authors (http://github.com/janl/mustache.js) +License: MIT +https://github.com/janl/mustache.js + +--- + +prompts v2.4.2 +Copyright (c) Terkel Gjervig +License: MIT +https://github.com/terkelg/prompts From 3eb604c95f4837c0d7c6b11c3d1141f942aad62f Mon Sep 17 00:00:00 2001 From: didavila Date: Fri, 27 Mar 2026 12:15:36 +0100 Subject: [PATCH 04/13] chore: update copyright year in NOTICE file to 2026 --- NOTICE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NOTICE b/NOTICE index e0262eb..9a7a577 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ OpenAPI Clean Architecture Generator -Copyright (c) 2024 Blas Santomé Ocampo +Copyright (c) 2026 Blas Santomé Ocampo This product includes software developed by third parties. All third-party packages listed below are distributed under the MIT License. From cbef98a0774e39a375d1a7c431d4a8ab35afa145 Mon Sep 17 00:00:00 2001 From: blas Date: Fri, 27 Mar 2026 14:26:09 +0100 Subject: [PATCH 05/13] chore: add dist to package.json --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 05af912..0164ba1 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,11 @@ } ], "license": "MIT", + "files": [ + "dist/", + "README.md", + "LICENSE" + ], "dependencies": { "chalk": "^4.1.2", "commander": "^11.1.0", From 56bd6f4e9f9622dcb88cad43875e432269196a04 Mon Sep 17 00:00:00 2001 From: actions Date: Fri, 27 Mar 2026 13:28:49 +0000 Subject: [PATCH 06/13] chore: bump to version v0.1-test --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 05af912..acc9bbb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0kmpo/openapi-clean-arch-generator", - "version": "1.3.10", + "version": "0.1-test", "description": "Angular Clean Architecture generator from OpenAPI/Swagger", "main": "dist/main.js", "bin": { @@ -39,6 +39,11 @@ } ], "license": "MIT", + "files": [ + "dist/", + "README.md", + "LICENSE" + ], "dependencies": { "chalk": "^4.1.2", "commander": "^11.1.0", From 5304ed7047736a9aa55652cd079286fdd33159f3 Mon Sep 17 00:00:00 2001 From: actions Date: Fri, 27 Mar 2026 13:30:51 +0000 Subject: [PATCH 07/13] chore: bump to version v0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index acc9bbb..c47856e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0kmpo/openapi-clean-arch-generator", - "version": "0.1-test", + "version": "0.1", "description": "Angular Clean Architecture generator from OpenAPI/Swagger", "main": "dist/main.js", "bin": { From 2e9aecdffe3f82204d1ad765d85de67c594407a0 Mon Sep 17 00:00:00 2001 From: actions Date: Fri, 27 Mar 2026 13:38:06 +0000 Subject: [PATCH 08/13] chore: bump to version v1.3.11 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c47856e..a66c404 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0kmpo/openapi-clean-arch-generator", - "version": "0.1", + "version": "1.3.11", "description": "Angular Clean Architecture generator from OpenAPI/Swagger", "main": "dist/main.js", "bin": { From e667c7bf047a5e19d52b16fa3ebc853e10cbd779 Mon Sep 17 00:00:00 2001 From: actions Date: Fri, 27 Mar 2026 13:45:13 +0000 Subject: [PATCH 09/13] chore: bump to version v1.3.12 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a66c404..69e2189 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0kmpo/openapi-clean-arch-generator", - "version": "1.3.11", + "version": "1.3.12", "description": "Angular Clean Architecture generator from OpenAPI/Swagger", "main": "dist/main.js", "bin": { From 7c5af2f3ab6e69756a9744a36c75b5f4d11719fd Mon Sep 17 00:00:00 2001 From: blas Date: Fri, 27 Mar 2026 14:45:53 +0100 Subject: [PATCH 10/13] chore: add dist to package.json --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0164ba1..41a452c 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,9 @@ ], "license": "MIT", "files": [ - "dist/", + "dist/main.js", + "dist/src/", + "dist/templates/", "README.md", "LICENSE" ], From 0075717a1fa345878cc1fa07e1e6f281adaa00fe Mon Sep 17 00:00:00 2001 From: actions Date: Fri, 27 Mar 2026 13:47:08 +0000 Subject: [PATCH 11/13] chore: bump to version v1.3.13 --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 69e2189..78a4aaf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0kmpo/openapi-clean-arch-generator", - "version": "1.3.12", + "version": "1.3.13", "description": "Angular Clean Architecture generator from OpenAPI/Swagger", "main": "dist/main.js", "bin": { @@ -40,7 +40,9 @@ ], "license": "MIT", "files": [ - "dist/", + "dist/main.js", + "dist/src/", + "dist/templates/", "README.md", "LICENSE" ], From aa7c6cf33806779e3ee51f15612c174259869450 Mon Sep 17 00:00:00 2001 From: blas Date: Fri, 27 Mar 2026 14:53:39 +0100 Subject: [PATCH 12/13] chore: add dist to package.json --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 41a452c..b5138ad 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "license": "MIT", "files": [ "dist/main.js", + "dist/package.json", "dist/src/", "dist/templates/", "README.md", From 3ede53ae3b819137a35a5ba5892cb1b1fefcfbbc Mon Sep 17 00:00:00 2001 From: actions Date: Fri, 27 Mar 2026 13:54:17 +0000 Subject: [PATCH 13/13] chore: bump to version v1.3.14 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 78a4aaf..7637bf3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0kmpo/openapi-clean-arch-generator", - "version": "1.3.13", + "version": "1.3.14", "description": "Angular Clean Architecture generator from OpenAPI/Swagger", "main": "dist/main.js", "bin": { @@ -41,6 +41,7 @@ "license": "MIT", "files": [ "dist/main.js", + "dist/package.json", "dist/src/", "dist/templates/", "README.md",