@positivegrid/pg-mongoose-schema 28.0.0-beta.3 → 28.0.0-beta.4
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/dist/index.cjs +212 -153
- package/dist/index.d.mts +221 -215
- package/dist/index.mjs +213 -151
- package/package.json +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@positivegrid/pg-mongoose-schema",
|
|
3
|
-
"version": "28.0.0-beta.
|
|
3
|
+
"version": "28.0.0-beta.4",
|
|
4
4
|
"description": "Positive Grid mongoose schema",
|
|
5
5
|
"author": "Ferrari Lee <shiyung@positivegrid.com>",
|
|
6
6
|
"homepage": "https://git.positivegrid.com:8443/backend/pg-mongoose-schema",
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
"url": "https://git.positivegrid.com:8443/backend/pg-mongoose-schema.git"
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
12
|
+
"packageManager": "pnpm@11.1.2",
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=22"
|
|
15
|
+
},
|
|
12
16
|
"main": "./dist/index.cjs",
|
|
13
17
|
"module": "./dist/index.mjs",
|
|
14
18
|
"types": "./dist/index.d.mts",
|
|
@@ -42,26 +46,22 @@
|
|
|
42
46
|
"test:watch": "vitest",
|
|
43
47
|
"test:cov": "vitest run --coverage",
|
|
44
48
|
"test:interop": "node --test test/interop/*.test.mjs test/interop/*.test.cjs",
|
|
45
|
-
"prepublishOnly": "
|
|
49
|
+
"prepublishOnly": "pnpm lint && pnpm typecheck && pnpm test && pnpm build && pnpm test:interop"
|
|
46
50
|
},
|
|
47
51
|
"peerDependencies": {
|
|
48
52
|
"mongoose": ">=6"
|
|
49
53
|
},
|
|
50
54
|
"dependencies": {
|
|
51
|
-
"
|
|
52
|
-
"
|
|
55
|
+
"date-fns": "^4.1.0",
|
|
56
|
+
"es-toolkit": "^1.46.1",
|
|
53
57
|
"is-email": "~1.0.0",
|
|
54
58
|
"is-subset": "^0.1.1",
|
|
55
|
-
"lodash": "^4.17.10",
|
|
56
|
-
"moment": "^2.22.2",
|
|
57
59
|
"mongoose-deep-populate": "^3.0.0",
|
|
58
60
|
"mongoose-lean-virtuals": "~0.3.5",
|
|
59
61
|
"random-string": "^0.2.0"
|
|
60
62
|
},
|
|
61
63
|
"devDependencies": {
|
|
62
|
-
"@types/debug": "^4.1.12",
|
|
63
64
|
"@types/is-email": "^1.0.0",
|
|
64
|
-
"@types/lodash": "^4.17.0",
|
|
65
65
|
"@types/node": "^22.0.0",
|
|
66
66
|
"@vitest/coverage-v8": "^2.1.0",
|
|
67
67
|
"mongodb-memory-server": "^10.1.0",
|