@alevnyacow/nzmt 0.16.6 → 0.16.8

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 +7 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,11 +10,13 @@ You can **scaffold** safe runtime-validated production-ready **server modules ea
10
10
 
11
11
  # What and Why
12
12
 
13
- Next Zod Modules Toolkit. Next.js tools you actually missed + a scaffolder for server logic & client queries. **Not a framework.** Full-stack, batteries included to build features in Next.js without boilerplate. ⚡
13
+ Next Zod Modules Toolkit.
14
+
15
+ Next.js tools you actually missed + a scaffolder for server logic & client queries. **Not a framework.** Full-stack, batteries included to build features in Next.js without boilerplate. ⚡
14
16
 
15
17
  - ☕ Keep using plain Next.js — just faster and cleaner.
16
18
  - 🧙 Focus on your domain logic without drowning in full-blown DDD.
17
- - ✨ DI, handy API controllers and a bunch of other cool things out of the box aimed at improving your DX.
19
+ - ✨ DI, handy API controllers and a bunch of other cool things aimed at improving your DX out of the box.
18
20
  - 🪄 Services, controllers, client queries, and other programmer stuff appear at the snap of a finger.
19
21
 
20
22
  # Quick start with Prisma
@@ -23,7 +25,7 @@ Assuming you have a Next.js project with a generated Prisma client, and configur
23
25
 
24
26
  ## Setup phase
25
27
 
26
- 1. Install NZMT and dependencies:
28
+ 1. Install NZMT with peer dependencies:
27
29
 
28
30
  ```bash
29
31
  npm i inversify zod reflect-metadata @alevnyacow/nzmt
@@ -55,7 +57,7 @@ This command generates:
55
57
 
56
58
  4. Import and set up there the necessary Prisma adapter in `/server/infrastructure/prisma/client.ts`
57
59
 
58
- ## Example 1. CRUD for `User` entity with API React queries and Server Actions
60
+ ## Example 1. CRUD for `User` entity with React queries and Server Actions
59
61
 
60
62
  Assuming you have `User` prisma schema.
61
63
 
@@ -76,7 +78,7 @@ This command generates:
76
78
 
77
79
  Everything is wired automatically via DI — no manual setup needed.
78
80
 
79
- 2. Describe your entity in scaffolded `/shared/entities/user/user.entity.ts` (static `schema` field)
81
+ 2. Describe your entity in scaffolded `/shared/entities/user/user.entity.ts` (static `schema` field).
80
82
 
81
83
  3. Tweak `UserStore` schemas if needed in scaffolded `/server/stores/users/user.store.ts`.
82
84
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alevnyacow/nzmt",
3
- "version": "0.16.6",
3
+ "version": "0.16.8",
4
4
  "description": "Next Zod Modules Toolkit",
5
5
  "repository": {
6
6
  "type": "git",