Commit Graph

115 Commits

Author SHA1 Message Date
a90f7ba078 feat: add base url mechanism 2026-03-24 19:28:28 +01:00
4aeb108c55 feat: add base url mechanism 2026-03-24 19:15:47 +01:00
a9bbf21317 chore: bump to version v1.0.0 2026-03-24 15:52:12 +00:00
324e4f458c Merge pull request 'fix: review import templates' (#33) from feat/review-imports into main
All checks were successful
Publish npm package / publish (push) Successful in 2m15s
Reviewed-on: #33
Reviewed-by: blas <me@blassanto.me>
v1.0.0
2026-03-24 15:48:22 +00:00
didavila
5229a3ad45 refactor: separate return and param imports in Clean Architecture generator 2026-03-24 16:40:34 +01:00
didavila
ca63b85086 refactor: remove unused imports section from model template 2026-03-24 16:31:17 +01:00
didavila
e008144813 refactor: normalize array type notation from Array<T> to T[] in generators and type mapper 2026-03-24 16:27:10 +01:00
didavila
73dcb6f701 Merge branch 'main' into feat/review-imports 2026-03-24 16:10:59 +01:00
ac9d4ceb99 chore: bump to version v0.0.1-alpha 2026-03-24 15:04:46 +00:00
e9bf03a4fe Merge pull request 'chore: update secrets' (#32) from chore/update-secrets into main
All checks were successful
Publish npm package / publish (push) Successful in 3m7s
Reviewed-on: #32
v0.0.1-alpha
2026-03-24 15:02:20 +00:00
didavila
e8c919ee76 feat: collect and render model imports for referenced types in Clean Architecture generation 2026-03-24 16:02:17 +01:00
87e59c4955 chore: update secrets 2026-03-24 16:01:50 +01:00
cf0ba60b91 chore: bump to version v0.0.1-alpha 2026-03-24 14:54:26 +00:00
didavila
a97c3b22fa feat: enhance TagOperation interface with detailed parameter structure and update return type handling in generator 2026-03-24 15:52:11 +01:00
didavila
031bdb4b3a feat: add classVarName to operations in generateCleanArchitecture function 2026-03-24 15:44:10 +01:00
592ed5b6e3 Merge pull request 'chore: change versioning strategy' (#31) from chore/change-versioning into main
Some checks failed
Publish npm package / publish (push) Failing after 2m1s
Reviewed-on: #31
2026-03-24 14:40:24 +00:00
92283fdadb chore: change versioning strategy 2026-03-24 15:38:49 +01:00
didavila
82b734bc55 fix: correct import paths in use cases provider and update response mapping in repository implementation 2026-03-24 15:37:34 +01:00
didavila
f4d9340137 feat: add returnTypeVarName and returnBaseTypeVarName to TagOperation interface and update generator function 2026-03-24 15:37:26 +01:00
816369bf98 Merge pull request 'chore: add config for workflow' (#30) from chore/fix-checkout-publish into main
Some checks failed
Publish npm package / publish (push) Failing after 44s
Reviewed-on: #30
2026-03-24 14:28:11 +00:00
76fbadfc8f chore: add config for workflow 2026-03-24 15:27:49 +01:00
didavila
fc3d95052c fix: update import paths for repository and mapper templates 2026-03-24 15:15:06 +01:00
didavila
3fe2333a03 feat: implement toCamelCase utility function and update Clean Architecture generator to use it 2026-03-24 15:12:52 +01:00
0740555736 Merge pull request 'chore: add config for workflow' (#29) from chore/fix-workflow-versioning into main
Some checks failed
Publish npm package / publish (push) Failing after 56s
Reviewed-on: #29
2026-03-24 14:09:18 +00:00
1381aff08e chore: add config for workflow 2026-03-24 15:08:50 +01:00
c1bb2a6244 Merge pull request 'chore: add config for workflow' (#28) from chore/fix-build into main
Some checks failed
Publish npm package / publish (push) Failing after 2m5s
Reviewed-on: #28
2026-03-24 13:57:49 +00:00
227104f9ac chore: add config for workflow 2026-03-24 14:56:48 +01:00
a8ecb15a09 Merge pull request 'chore: fix-build' (#27) from chore/fix-build into main
Reviewed-on: #27
2026-03-24 13:43:38 +00:00
didavila
c632b43f50 Merge branch 'main' into feat/review-imports 2026-03-24 14:39:40 +01:00
f53010a0e5 Merge pull request 'chore: add config for workflow' (#26) from chore/fix-publish-workflow into main
All checks were successful
Publish npm package / publish (push) Successful in 2m7s
Reviewed-on: #26
2026-03-24 13:32:30 +00:00
648a0764cd chore: add config for workflow 2026-03-24 14:31:59 +01:00
08fffa7cbb Merge pull request 'chore: add package-lock' (#25) from chore/add-package-lock into main
Some checks failed
Publish npm package / publish (push) Failing after 59s
Reviewed-on: #25
2026-03-24 13:22:43 +00:00
3c173b6bfa chore: add package-lock 2026-03-24 14:22:00 +01:00
7622073d8c Merge pull request 'chore: add workflow to push package to registry' (#24) from chore/add-publish-action into main
Some checks failed
Publish npm package / publish (push) Failing after 7m57s
Reviewed-on: #24
Reviewed-by: didavila <diego.davilafreitas@gmail.com>
2026-03-24 12:08:31 +00:00
dafcc3e0c3 chore: add workflow to push package to registry 2026-03-24 13:05:23 +01:00
didavila
dc678a3545 feat: Update main entry point and improve build script for cleaner architecture 2026-03-24 13:00:32 +01:00
b5d97215a0 Merge pull request 'chore: add author in package' (#22) from chore/add-author into main
Reviewed-on: #22
2026-03-24 11:44:21 +00:00
df76e9c677 chore: add author in package 2026-03-24 11:43:57 +00:00
didavila
dd32befcdc Merge branch 'main' into feat/spread-logic 2026-03-24 12:21:24 +01:00
didavila
d1bcf06439 feat: Add DTO imports processing and update model template for cleaner architecture 2026-03-24 12:20:50 +01:00
0bf42f2910 Merge pull request 'feat: spread logic from main.ts' (#21) from feat/spread-logic into main
Reviewed-on: #21
Reviewed-by: blas <me@blassanto.me>
2026-03-24 10:41:50 +00:00
didavila
32e7d73ab8 Merge branch 'main' into feat/spread-logic 2026-03-24 11:17:37 +01:00
didavila
bd67e6c6d1 feat: Implement Clean Architecture code generation with Mustache templates
- Added `clean-arch.generator.ts` for generating models, mappers, repositories, use cases, and providers based on OpenAPI specs.
- Introduced `dto.generator.ts` to invoke `openapi-generator-cli` for generating DTOs and organizing them.
- Created `report.generator.ts` to generate a JSON report of the generation process.
- Implemented `analyzer.ts` for parsing OpenAPI/Swagger files and extracting relevant data.
- Defined new types in `cli.types.ts`, `generation.types.ts`, `openapi.types.ts`, and `swagger.types.ts` for better type safety.
- Added utility functions in `filesystem.ts` for creating directory structures and cleaning up temporary files.
- Developed logging utilities in `logger.ts` for better console output.
- Included OpenAPI generator checks and installation in `openapi-generator.ts`.
- Added type mapping utility in `type-mapper.ts` for converting OpenAPI types to TypeScript types.
- Updated `package.json` scripts to lint all TypeScript files.
- Modified `tsconfig.json` to include all TypeScript files in the project.
2026-03-24 11:16:45 +01:00
180e558760 Merge pull request 'chore: remove old LICENSE' (#20) from chore/remove-old-license into main
Reviewed-on: #20
2026-03-24 10:03:14 +00:00
4a504fccde chore: remove old LICENSE 2026-03-24 10:02:53 +00:00
730c06cc3f Merge pull request 'chore: add LICENSE' (#19) from chore/modify-license into main
Reviewed-on: #19
2026-03-24 10:02:04 +00:00
c15d1caaaa chore: add LICENSE 2026-03-24 10:01:21 +00:00
didavila
8854bc5217 feat: add contributor information for Diego Davila Freitas 2026-03-24 09:19:52 +01:00
8a48486465 Merge pull request 'chore: delete QUICKSTART.md' (#18) from chrore/delete-quickstart into main
Reviewed-on: #18
2026-03-24 08:05:31 +00:00
cd03067235 chore: delete QUICKSTART.md 2026-03-24 08:05:08 +00:00