Commit Graph

21 Commits

Author SHA1 Message Date
e1ef10f317 chore: migrate from node to bun
Some checks failed
Lint / lint (pull_request) Failing after 6s
2026-03-25 10:39:36 +01:00
77b77a17f4 chore: migrate from node to bun
Some checks failed
Lint / lint (pull_request) Failing after 5s
2026-03-25 10:38:27 +01:00
04d2299a4c chore: migrate from node to bun 2026-03-25 10:17:14 +01:00
ad9a957be4 chore: bump to version v1.0.1 2026-03-25 07:23:39 +00:00
a90f7ba078 feat: add base url mechanism 2026-03-24 19:28:28 +01:00
a9bbf21317 chore: bump to version v1.0.0 2026-03-24 15:52:12 +00:00
cf0ba60b91 chore: bump to version v0.0.1-alpha 2026-03-24 14:54:26 +00:00
1381aff08e chore: add config for workflow 2026-03-24 15:08:50 +01:00
227104f9ac chore: add config for workflow 2026-03-24 14:56:48 +01:00
didavila
c632b43f50 Merge branch 'main' into feat/review-imports 2026-03-24 14:39:40 +01:00
648a0764cd chore: add config for workflow 2026-03-24 14:31:59 +01: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
df76e9c677 chore: add author in package 2026-03-24 11:43:57 +00: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
didavila
8854bc5217 feat: add contributor information for Diego Davila Freitas 2026-03-24 09:19:52 +01:00
didavila
72536d4a86 feat: change name 2026-03-23 17:26:04 +01:00
didavila
cebadbfbcc feat: add Prettier and ESLint configuration for code formatting and linting
- Create .prettierrc for Prettier configuration
- Add eslint.config.js for ESLint setup with TypeScript support
- Update package.json to include linting and formatting scripts
- Refactor generate.ts and generate.js for improved readability and error handling
- Enhance QUICKSTART.md and README.md with formatting and clarity improvements
2026-03-23 17:23:06 +01:00
didavila
cd00eb39ca feat: add TypeScript-based OpenAPI Clean Architecture generator
- Introduced a new TypeScript file (generate.ts) for generating Angular code with Clean Architecture from OpenAPI/Swagger specifications.
- Implemented a CLI using Commander.js for user input and options.
- Added functions for analyzing Swagger files, generating code, organizing files, and creating a report.
- Integrated Mustache templates for generating models, repositories, use cases, and mappers.
- Created a build process with TypeScript and updated package.json to include build scripts and dependencies.
- Added TypeScript configuration (tsconfig.json) for compiling the TypeScript code.
- Updated the main entry point in package.json to point to the compiled JavaScript file in the dist directory.
2026-03-23 17:01:22 +01:00
didavila
11b30e61fc feat: Implement custom Clean Architecture generation using Mustache templates for domain and data layers 2026-03-23 12:36:11 +01:00
Blas Santome Ocampo
5ff88d8cf6 first commit 2026-03-23 09:35:15 +01:00