Skip to content

Commit a49d56d

Browse files
committed
fix: update dependencies that users need to install in their target projects to use the modules generated by this tool.
1 parent 13b1504 commit a49d56d

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,25 @@ npx @saulpaulus17/node-module-generator <command> <name>
7676

7777
---
7878

79+
## 🛠️ Target Project Dependencies
80+
81+
To ensure the modules generated by NMG function correctly, your main project must have the following core dependencies installed:
82+
83+
### Production Dependencies
84+
```bash
85+
npm install express awilix @prisma/client
86+
```
87+
88+
### Development Dependencies
89+
```bash
90+
npm install --save-dev jest
91+
```
92+
93+
> [!TIP]
94+
> These dependencies are essential because the generated code relies on Express for routing, Awilix for Dependency Injection, and Prisma for the data layer.
95+
96+
---
97+
7998
## 🚀 Detailed Usage
8099

81100
### 1. Generating a Full Module

0 commit comments

Comments
 (0)