@shirudo/ddd-kit 2.2.0 → 3.0.0-rc.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 +204 -55
- package/dist/chunks/deep-equal-except.js +639 -0
- package/dist/chunks/deep-equal-except.js.map +1 -0
- package/dist/chunks/errors.d.ts +785 -0
- package/dist/chunks/errors.js +822 -0
- package/dist/chunks/errors.js.map +1 -0
- package/dist/chunks/ports.js +891 -0
- package/dist/chunks/ports.js.map +1 -0
- package/dist/chunks/snapshot-store.d.ts +2808 -0
- package/dist/chunks/utils.d.ts +110 -0
- package/dist/http.d.ts +64 -51
- package/dist/http.js +54 -20
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +2341 -2640
- package/dist/index.js +6073 -3915
- package/dist/index.js.map +1 -1
- package/dist/money.d.ts +376 -0
- package/dist/money.js +578 -0
- package/dist/money.js.map +1 -0
- package/dist/presentation.d.ts +86 -37
- package/dist/presentation.js +208 -39
- package/dist/presentation.js.map +1 -1
- package/dist/testing.d.ts +517 -335
- package/dist/testing.js +2396 -1184
- package/dist/testing.js.map +1 -1
- package/dist/utils.d.ts +2 -106
- package/dist/utils.js +2 -530
- package/package.json +35 -18
- package/dist/aggregate-DFi6HlEh.d.ts +0 -771
- package/dist/utils.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shirudo/ddd-kit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-rc.3",
|
|
4
|
+
"packageManager": "pnpm@11.13.1",
|
|
4
5
|
"description": "Composable TypeScript toolkit for tactical DDD",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"repository": {
|
|
@@ -22,6 +23,10 @@
|
|
|
22
23
|
"types": "./dist/http.d.ts",
|
|
23
24
|
"import": "./dist/http.js"
|
|
24
25
|
},
|
|
26
|
+
"./money": {
|
|
27
|
+
"types": "./dist/money.d.ts",
|
|
28
|
+
"import": "./dist/money.js"
|
|
29
|
+
},
|
|
25
30
|
"./presentation": {
|
|
26
31
|
"types": "./dist/presentation.d.ts",
|
|
27
32
|
"import": "./dist/presentation.js"
|
|
@@ -32,24 +37,28 @@
|
|
|
32
37
|
}
|
|
33
38
|
},
|
|
34
39
|
"engines": {
|
|
35
|
-
"node": ">=
|
|
40
|
+
"node": ">=22"
|
|
36
41
|
},
|
|
37
42
|
"sideEffects": false,
|
|
38
43
|
"files": [
|
|
39
44
|
"dist"
|
|
40
45
|
],
|
|
41
46
|
"scripts": {
|
|
42
|
-
"build": "
|
|
43
|
-
"test": "
|
|
47
|
+
"build": "vp pack",
|
|
48
|
+
"test": "vp test",
|
|
49
|
+
"test:edge-runtime": "pnpm build && node scripts/run-edge-runtime-smoke.mjs",
|
|
50
|
+
"audit:prod": "pnpm audit --prod",
|
|
51
|
+
"benchmark:event-stamping": "pnpm build && node --expose-gc benchmarks/domain-event-stamping.mjs",
|
|
44
52
|
"clean": "rm -rf dist",
|
|
45
53
|
"lint": "biome lint .",
|
|
46
54
|
"format": "pnpm exec biome format --write . && pnpm exec biome lint --write . && pnpm exec biome check --write .",
|
|
47
|
-
"typecheck": "tsc
|
|
48
|
-
"prepublishOnly": "npm run clean &&
|
|
55
|
+
"typecheck": "tsc -p tsconfig.typecheck.json",
|
|
56
|
+
"prepublishOnly": "npm run clean && npm run typecheck && npm run lint && vp test && npm run build && node scripts/run-edge-runtime-smoke.mjs",
|
|
49
57
|
"docs:api": "typedoc",
|
|
50
58
|
"docs:dev": "typedoc && vitepress dev docs",
|
|
51
59
|
"docs:build": "typedoc && vitepress build docs",
|
|
52
|
-
"docs:preview": "vitepress preview docs"
|
|
60
|
+
"docs:preview": "vitepress preview docs",
|
|
61
|
+
"mutate:money": "stryker run stryker.money.json"
|
|
53
62
|
},
|
|
54
63
|
"keywords": [
|
|
55
64
|
"ddd",
|
|
@@ -63,16 +72,24 @@
|
|
|
63
72
|
},
|
|
64
73
|
"devDependencies": {
|
|
65
74
|
"@biomejs/biome": "2.1.4",
|
|
66
|
-
"@shirudo/base-error": "^
|
|
67
|
-
"@shirudo/result": "^1.
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
75
|
+
"@shirudo/base-error": "^8.1.0",
|
|
76
|
+
"@shirudo/result": "^1.1.1",
|
|
77
|
+
"@stryker-mutator/core": "^9.6.1",
|
|
78
|
+
"@stryker-mutator/vitest-runner": "^9.6.1",
|
|
79
|
+
"@typescript/native": "npm:typescript@7.0.2",
|
|
80
|
+
"edge-runtime": "4.0.1",
|
|
81
|
+
"esbuild": "0.28.1",
|
|
82
|
+
"fast-check": "^4.9.0",
|
|
83
|
+
"miniflare": "4.20260710.0",
|
|
84
|
+
"typedoc": "^0.28.20",
|
|
85
|
+
"typedoc-plugin-markdown": "^4.12.0",
|
|
86
|
+
"typedoc-vitepress-theme": "^1.1.3",
|
|
87
|
+
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
88
|
+
"vite": "catalog:",
|
|
89
|
+
"vite-plus": "catalog:",
|
|
90
|
+
"vitepress": "2.0.0-alpha.18",
|
|
91
|
+
"vitepress-plugin-llms": "^1.13.3",
|
|
92
|
+
"vitest": "catalog:"
|
|
76
93
|
},
|
|
77
94
|
"private": false,
|
|
78
95
|
"author": "Shirudo",
|
|
@@ -84,7 +101,7 @@
|
|
|
84
101
|
"url": "https://github.com/shi-rudo/ddd-kit-ts/issues"
|
|
85
102
|
},
|
|
86
103
|
"peerDependencies": {
|
|
87
|
-
"@shirudo/base-error": "^
|
|
104
|
+
"@shirudo/base-error": "^8.0.0",
|
|
88
105
|
"@shirudo/result": "^1.0.0"
|
|
89
106
|
}
|
|
90
107
|
}
|