@dawudesign/node-hexa-cli 0.2.8 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -41,7 +41,7 @@ pnpm start:dev
41
41
 
42
42
  Generated structure:
43
43
 
44
- ```
44
+ ```text
45
45
  my-app/
46
46
  ├── src/
47
47
  │ ├── main.ts
@@ -102,13 +102,13 @@ node-hexa check . --watch
102
102
 
103
103
  Output:
104
104
 
105
- ```
105
+ ```text
106
106
  ✓ Architecture check passed
107
107
  ```
108
108
 
109
109
  or:
110
110
 
111
- ```
111
+ ```text
112
112
  ✗ Architecture violations detected
113
113
 
114
114
  [CRITICAL] Domain must not depend on infrastructure → UserEntity
@@ -137,7 +137,7 @@ node-hexa list <path>
137
137
 
138
138
  Output:
139
139
 
140
- ```
140
+ ```text
141
141
  Bounded Contexts (2)
142
142
 
143
143
  IAM
@@ -187,7 +187,7 @@ node-hexa graph <path>
187
187
  ```
188
188
 
189
189
  | Key | Type | Default | Description |
190
- |-----|------|---------|-------------|
190
+ | --- | ---- | ------- | ----------- |
191
191
  | `architecture` | `string` | `"hexagonal-ddd"` | Architecture type |
192
192
  | `strict` | `boolean` | `true` | `false` silences `MEDIUM` violations |
193
193
  | `contextsDir` | `string` | `"src/contexts"` | Path to bounded contexts directory |
@@ -197,7 +197,7 @@ node-hexa graph <path>
197
197
  ## Violation rules
198
198
 
199
199
  | Violation | Severity |
200
- |-----------|----------|
200
+ | --------- | -------- |
201
201
  | Domain imports from infrastructure or adapter | `CRITICAL` |
202
202
  | Domain imports from application | `CRITICAL` |
203
203
  | Domain imports a framework (`@nestjs/*`, `prisma`…) | `CRITICAL` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dawudesign/node-hexa-cli",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "CLI to scaffold and analyze NestJS Hexagonal DDD projects",
5
5
  "keywords": [
6
6
  "nestjs",