@alevnyacow/nzmt 0.8.3 → 0.8.5
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.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ NZMT is an opinionated toolkit with scaffolding for building structured Next.js
|
|
|
17
17
|
|
|
18
18
|
1. Generate Prisma client.
|
|
19
19
|
2. Install required peer dependencies (`inversify`, `zod`, `reflect-metadata`).
|
|
20
|
-
2. Enable `Experimental decorators` and `Emit Decorator Metadata` options in your tsconfig.json
|
|
20
|
+
2. Enable `Experimental decorators` and `Emit Decorator Metadata` options in your `tsconfig.json`.
|
|
21
21
|
3. Run the following:
|
|
22
22
|
|
|
23
23
|
```bash
|
|
@@ -30,10 +30,10 @@ npx nzmt entity product f:title-string,price-int.positive
|
|
|
30
30
|
# product store (with Prisma implementation, RAM implementation and DI)
|
|
31
31
|
npx nzmt store product
|
|
32
32
|
|
|
33
|
-
# product service with injected product store
|
|
33
|
+
# product service with injected product store (with DI)
|
|
34
34
|
npx nzmt service product i:ProductStore
|
|
35
35
|
|
|
36
|
-
# shop controller with injected
|
|
36
|
+
# shop controller with injected product service and logger (with DI)
|
|
37
37
|
npx nzmt controller shop i:Logger,ProductService
|
|
38
38
|
```
|
|
39
39
|
|