@alevnyacow/nzmt 0.39.2 → 0.39.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.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -314,7 +314,7 @@ Once you done implementing controller methods, just run `nmx nzmt rq`. This comm
|
|
|
314
314
|
|
|
315
315
|
## What does domain-focused mean?
|
|
316
316
|
|
|
317
|
-
NZMT puts your business domain first. Entities drive the architecture, so backend and frontend stay consistent
|
|
317
|
+
NZMT puts your business domain first. Entities drive the architecture, so backend and frontend stay consistent.
|
|
318
318
|
|
|
319
319
|
## What does contract-first mean?
|
|
320
320
|
|
|
@@ -324,9 +324,9 @@ The behavior of all server modules in NZMT is governed by Zod schemas. Function
|
|
|
324
324
|
|
|
325
325
|
Yes — everything is fully editable, including configuration. Think of NZMT as a shadcn-style approach for full-stack: scaffold first, then fully own the code. Moreover, in most of the cases your changes are preserved on subsequent generations. For example, if you modify a generated query and run `npx nzmt rq` later, your edits stay intact.
|
|
326
326
|
|
|
327
|
-
## Do I really need to understand DI and other fancy concepts to use NZMT?
|
|
327
|
+
## Do I really need to understand DI and other fancy concepts to use NZMT effectively?
|
|
328
328
|
|
|
329
|
-
|
|
329
|
+
Not really. NZMT handles dependency injection (DI) for you using `inversifyjs`. You don’t need to set it up manually.
|
|
330
330
|
To get an instance of a service anywhere in your server code, just use:
|
|
331
331
|
|
|
332
332
|
```tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alevnyacow/nzmt",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.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": {
|