nx-openapi-codegen
v0.0.22
Published
A CLI tool to generate NX monorepo workspaces with OpenAPI code generation capabilities.
Downloads
1,521
Readme
nx-openapi-codegen
A CLI tool to generate NX monorepo workspaces with OpenAPI code generation capabilities.
Features
- Creates NX workspace with TypeScript setup
- Configures Biome for linting
- Supports multiple package generation
- Configurable package structure
- Built with Bun for fast execution
Installation
To install dependencies:
bun install
To run:
bun dev
To release:
Ensure you have a .env.local
file with the GITHUB_TOKEN
environment variable.
Publishing
The package is automatically published to NPM when pushing to the main branch. The workflow:
- Commits are made using conventional commits (
bun run commit
) - Push to main triggers the release workflow
- release-it creates a new version based on conventional commits
- A new GitHub release is created
- The package is published to NPM