@rolandsall24/nest-mediator 0.4.2 → 0.4.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 +13 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,6 +17,19 @@ A lightweight CQRS (Command Query Responsibility Segregation) mediator pattern i
|
|
|
17
17
|
npm install @rolandsall24/nest-mediator
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
### TypeScript Configuration
|
|
21
|
+
|
|
22
|
+
This library requires TypeScript decorators to be enabled. Add the following to your `tsconfig.json`:
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"compilerOptions": {
|
|
27
|
+
"experimentalDecorators": true,
|
|
28
|
+
"emitDecoratorMetadata": true
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
20
33
|
## Quick Start
|
|
21
34
|
|
|
22
35
|
### 1. Import the Module
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rolandsall24/nest-mediator",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "A lightweight CQRS (Command Query Responsibility Segregation) mediator pattern implementation for NestJS applications",
|
|
5
5
|
"author": "Roland Salloum",
|
|
6
6
|
"license": "MIT",
|