diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..9a7a577 --- /dev/null +++ b/NOTICE @@ -0,0 +1,50 @@ +OpenAPI Clean Architecture Generator +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. + +--- + +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 diff --git a/README.md b/README.md index e3b2668..4597502 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 ``` @@ -96,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 ``` diff --git a/package.json b/package.json index 05af912..7637bf3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0kmpo/openapi-clean-arch-generator", - "version": "1.3.10", + "version": "1.3.14", "description": "Angular Clean Architecture generator from OpenAPI/Swagger", "main": "dist/main.js", "bin": { @@ -39,6 +39,14 @@ } ], "license": "MIT", + "files": [ + "dist/main.js", + "dist/package.json", + "dist/src/", + "dist/templates/", + "README.md", + "LICENSE" + ], "dependencies": { "chalk": "^4.1.2", "commander": "^11.1.0",