Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
31a2f13
MI-250: Added base service generator
kai-nguyen-aligent Nov 25, 2025
6f958dd
MI-250: Initial ns-cdk generator
kai-nguyen-aligent Nov 28, 2025
c2c6e48
MI-250: Added main readme for nx-cdk
kai-nguyen-aligent Nov 28, 2025
08b8d72
MI-250: Update documents
kai-nguyen-aligent Nov 28, 2025
294d40a
MI-250: Couple of minor bug fixes
kai-nguyen-aligent Nov 28, 2025
d338634
MI-250: Few minor bug fixes for service generator
kai-nguyen-aligent Nov 28, 2025
10419e2
MI-250: Few other minor bug fixes
kai-nguyen-aligent Nov 28, 2025
3e8ffec
MI-250: Service name improvements
kai-nguyen-aligent Nov 28, 2025
ce2d170
MI-250: Fixed hard-coded stack name
kai-nguyen-aligent Nov 28, 2025
d4b490e
MI-250: Simplify stack name type
kai-nguyen-aligent Nov 28, 2025
a007e57
MI-250: Auto stack registration to main application
kai-nguyen-aligent Nov 30, 2025
ea62e22
MI-250: Allow default injector to accept node version
kai-nguyen-aligent Dec 1, 2025
753637c
MI-250: A bunch of bug fixes and improvement
kai-nguyen-aligent Dec 3, 2025
49596de
MI-250: Use full stage name to match with DevOps naming convention
kai-nguyen-aligent Dec 3, 2025
9b8fd44
MI-250: Few final touch up and it's ready
kai-nguyen-aligent Dec 4, 2025
6d22580
MI-250: Added version plan
kai-nguyen-aligent Dec 4, 2025
e215283
MI-250: Address Aikido suggestion
kai-nguyen-aligent Dec 4, 2025
dc1fb75
MI-250: Fixed few test cases & lint issues
kai-nguyen-aligent Dec 4, 2025
7b18567
MI-250: Few small tweaks to support nx-openapi generator
kai-nguyen-aligent Dec 5, 2025
123f556
Merge commit '5c118ed99e7bb77d8c425490c4a4c61f115c4ff9' into feat/MI-…
kai-nguyen-aligent Dec 9, 2025
9346ed2
Merge commit '36afa3d9b2967df71e431c924be620605e629ca6' into feat/MI-…
kai-nguyen-aligent Dec 9, 2025
11683e6
MI-250: Added Verdaccio for local development
kai-nguyen-aligent Dec 9, 2025
be2d754
MI-250: Switch to rolldown as rsbuild cannot handle the work
kai-nguyen-aligent Dec 10, 2025
3c09e26
Update packages/nx-cdk/src/generators/helpers/configs/packageJson.ts
kai-nguyen-aligent Dec 10, 2025
68e9b70
MI-250: Add tickets to Todos
kai-nguyen-aligent Dec 10, 2025
857172e
Merge commit '3c09e2616a71f7f69a48a06700a3cf2527de8f80' into feat/MI-…
kai-nguyen-aligent Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .nx/version-plans/version-plan-1764807248032.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
nx-cdk: patch
---

This is the initial release of `@aligent/nx-cdk`, an Nx plugin for AWS CDK development that helps scaffold and manage CDK projects within an Nx monorepo structure.

### Preset Generator:

- Initialize new AWS CDK projects with complete Nx workspace structure
- Creates root configuration files (ESLint, Prettier, Rolldown, Vitest, TypeScript)
- Scaffolds CDK application with bin/main.ts entry point and service stacks
- Configurable Node.js version support (default: 24.11.0)
- Includes CDK configuration files (cdk.json, cdk.context.json)

### Service Generator:

- Create new CDK services within existing projects
- Generates service structure in `services/<service-name>/` directory
- Includes build configuration (Rolldown), testing setup (Vitest), and linting (ESLint)
- Auto-registers stacks to main CDK application
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Aligent's monorepo for Microservice Development Utilities. For more details abou
# Packages

- [Microservice Util Lib](/packages/microservice-util-lib/README.md)
- [Nx CDK](/packages/nx-cdk/README.md)
- [Nx Openapi](/packages/nx-openapi/README.md)
- [Nx Serverless](/packages/nx-serverless/README.md) (obsoleted)

Expand Down Expand Up @@ -100,23 +101,22 @@ To test packages locally before publishing, you can use the local `verdaccio` re

```bash
# Start local registry
npx nx start-local-registry
npx nx start-local-registry microservice-development-utilities

# In another terminal, publish packages locally
npx nx run-many -t publish
npx nx release publish

# Stop local registry when done
npx nx stop-local-registry
npx nx stop-local-registry microservice-development-utilities
```
### Note
- At the moment, we do not include `verdaccio` in our dev dependencies yet because of [CVE-2025-56200]https://github.com/advisories/GHSA-9965-vmph-33xx vulnerable in one of Verdaccio v6.2.1 dependencies. It will be added back once they resolve the issue. For now, we will need to add it in when we use it and remove it before making a PR.

## Project Structure

```
microservice-development-utilities/
├── packages/
│ ├── microservice-util-lib/ # Utility library for microservices
│ ├── nx-cdk/ # Nx plugin for CDK project generation
│ ├── nx-openapi/ # Nx plugin for OpenAPI code generation
│ └── nx-serverless/ # Nx plugin for Serverless project generation (obsoleted)
└── package.json # Root package configuration
Expand Down
Loading