@alevnyacow/nzmt 0.40.2 → 0.40.3

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 +5 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  <img src='https://img.shields.io/npm/l/%40alevnyacow%2Fnzmt'></img>
9
9
  </p>
10
10
 
11
- Scaffold full-stack modules in Next.js in seconds with **Next Zod Modules Toolkit (NZMT)**.
11
+ Scaffold Next.js full-stack modules in seconds with **Next Zod Modules Toolkit (NZMT)**.
12
12
 
13
13
  Get a domain-focused architecture with a contract-first approach out of the box.
14
14
 
@@ -23,8 +23,8 @@ https://stackblitz.com/edit/nzmt-playground
23
23
 
24
24
  # What you get
25
25
 
26
- Get production-ready backend + React Query hooks after one CLI command with NZMT. Install and initialize it, then run:
27
-
26
+ After installing and initializing NZMT, run one CLI command to generate a production-ready backend with React Query hooks:
27
+
28
28
  ```bash
29
29
  npx nzmt crud-api user
30
30
  ```
@@ -43,18 +43,10 @@ app/api/user/... # api routes
43
43
  ui/shared/queries/user/... # react queries
44
44
  ```
45
45
 
46
- Everything is already setup and ready-to-use after a few tweaks. See `Quick start with Prisma` section for more detailed information.
47
-
48
- NZMT also comes with useful infrastructure like DI, logging, in-memory stores, unified errors, and endpoint guards. All code is editable, so you stay in full control. Full `crud-api` is only one of cases, you can scaffold entities, stores, services, controllers and infrastructure helpers on its own and combine them any way you want. List of all NZMT cli commands is provided in `CLI commands glossary` sections.
46
+ Features DI, logging, in-memory stores, unified errors, and endpoint guards. Everything is ready after a few tweaks see `Quick start with Prisma` for details.
49
47
 
50
- Fully wired flow:
51
- ```bash
52
- # client fetching
53
- Client → React Query → API → Controller → Service → Store → DB
48
+ All code is editable — scaffold parts individually or together. CLI commands are listed in `CLI commands glossary`.
54
49
 
55
- # server actions
56
- Server Action → Service → Store → DB
57
- ```
58
50
 
59
51
  # Quick start with Prisma
60
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alevnyacow/nzmt",
3
- "version": "0.40.2",
3
+ "version": "0.40.3",
4
4
  "description": "Next Zod Modules Toolkit",
5
5
  "keywords": ["next", "full-stack", "server", "backend", "cli", "scaffolding", "zod", "rest", "contract programming", "contract-first", "react-query", "ddd", "domain-driven"],
6
6
  "repository": {