@classytic/mongokit 1.0.0 → 1.0.1
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 +6 -2
- package/package.json +7 -4
package/README.md
CHANGED
|
@@ -19,13 +19,17 @@
|
|
|
19
19
|
## 📦 Installation
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
npm install @classytic/mongokit mongoose
|
|
22
|
+
npm install @classytic/mongokit mongoose mongoose-paginate-v2 mongoose-aggregate-paginate-v2
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
> **Peer
|
|
25
|
+
> **Peer Dependencies:**
|
|
26
|
+
> - `mongoose ^8.0.0`
|
|
27
|
+
> - `mongoose-paginate-v2 ^1.9.0` (for pagination support)
|
|
28
|
+
> - `mongoose-aggregate-paginate-v2 ^1.1.0` (for aggregation pagination)
|
|
26
29
|
|
|
27
30
|
---
|
|
28
31
|
|
|
32
|
+
|
|
29
33
|
## 🚀 Quick Start
|
|
30
34
|
|
|
31
35
|
### Basic Usage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@classytic/mongokit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Event-driven MongoDB repositories for any Node.js framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -52,7 +52,9 @@
|
|
|
52
52
|
},
|
|
53
53
|
"homepage": "https://github.com/classytic/mongokit#readme",
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"mongoose": "^8.0.0"
|
|
55
|
+
"mongoose": "^8.0.0",
|
|
56
|
+
"mongoose-paginate-v2": "^1.9.0",
|
|
57
|
+
"mongoose-aggregate-paginate-v2": "^1.1.0"
|
|
56
58
|
},
|
|
57
59
|
"dependencies": {
|
|
58
60
|
"http-errors": "^2.0.0"
|
|
@@ -65,7 +67,8 @@
|
|
|
65
67
|
"test:watch": "node --test --watch test/*.test.js"
|
|
66
68
|
},
|
|
67
69
|
"devDependencies": {
|
|
68
|
-
"mongoose
|
|
70
|
+
"mongoose": "^8.8.0",
|
|
71
|
+
"mongoose-paginate-v2": "^1.9.0",
|
|
72
|
+
"mongoose-aggregate-paginate-v2": "^1.1.0"
|
|
69
73
|
}
|
|
70
74
|
}
|
|
71
|
-
|