@xeno-js/core 0.1.9 → 0.1.10
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 +261 -462
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -235
- package/dist/index.d.ts +10 -235
- package/dist/index.js +241 -442
- package/dist/index.js.map +1 -1
- package/package.json +166 -160
package/package.json
CHANGED
|
@@ -1,160 +1,166 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xeno-js/core",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Xeno agnostic core — DDD + Clean Architecture npm package",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/xeno-js/xeno-js.git"
|
|
8
|
-
},
|
|
9
|
-
"bugs": {
|
|
10
|
-
"url": "https://github.com/xeno-js/xeno-js/issues"
|
|
11
|
-
},
|
|
12
|
-
"homepage": "https://www.xeno-js.it",
|
|
13
|
-
"type": "module",
|
|
14
|
-
"main": "./dist/index.js",
|
|
15
|
-
"module": "./dist/index.js",
|
|
16
|
-
"types": "./dist/index.d.ts",
|
|
17
|
-
"exports": {
|
|
18
|
-
".": {
|
|
19
|
-
"types": "./dist/index.d.ts",
|
|
20
|
-
"import": "./dist/index.js",
|
|
21
|
-
"require": "./dist/index.cjs"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"files": [
|
|
25
|
-
"dist"
|
|
26
|
-
],
|
|
27
|
-
"publishConfig": {
|
|
28
|
-
"access": "public"
|
|
29
|
-
},
|
|
30
|
-
"scripts": {
|
|
31
|
-
"build": "tsup",
|
|
32
|
-
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
33
|
-
"lint": "eslint --config eslint.config.mjs \"src/**/*.ts\" --max-warnings=0",
|
|
34
|
-
"lint:fix": "eslint --config eslint.config.mjs \"src/**/*.ts\" --fix --max-warnings=0",
|
|
35
|
-
"lint-staged": "lint-staged",
|
|
36
|
-
"commitlint": "commitlint",
|
|
37
|
-
"format": "prettier --write .",
|
|
38
|
-
"format:check": "prettier --check .",
|
|
39
|
-
"test": "vitest run",
|
|
40
|
-
"test:watch": "vitest",
|
|
41
|
-
"test:coverage": "vitest run --coverage",
|
|
42
|
-
"check": "npm run typecheck && npm run lint:fix && npm run test",
|
|
43
|
-
"verify:commit": "npm run lint-staged && npm run test",
|
|
44
|
-
"verify:push": "npm run check",
|
|
45
|
-
"prepare": "husky",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"db:
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"@
|
|
75
|
-
"@
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"@
|
|
91
|
-
"optional": true
|
|
92
|
-
},
|
|
93
|
-
"@
|
|
94
|
-
"optional": true
|
|
95
|
-
},
|
|
96
|
-
"@supabase/
|
|
97
|
-
"optional": true
|
|
98
|
-
},
|
|
99
|
-
"
|
|
100
|
-
"optional": true
|
|
101
|
-
},
|
|
102
|
-
"
|
|
103
|
-
"optional": true
|
|
104
|
-
},
|
|
105
|
-
"
|
|
106
|
-
"optional": true
|
|
107
|
-
},
|
|
108
|
-
"
|
|
109
|
-
"optional": true
|
|
110
|
-
},
|
|
111
|
-
"
|
|
112
|
-
"optional": true
|
|
113
|
-
},
|
|
114
|
-
"
|
|
115
|
-
"optional": true
|
|
116
|
-
},
|
|
117
|
-
"
|
|
118
|
-
"optional": true
|
|
119
|
-
},
|
|
120
|
-
"
|
|
121
|
-
"optional": true
|
|
122
|
-
},
|
|
123
|
-
"
|
|
124
|
-
"optional":
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
"@
|
|
132
|
-
"@
|
|
133
|
-
"@
|
|
134
|
-
"@
|
|
135
|
-
"@
|
|
136
|
-
"@
|
|
137
|
-
"@
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@xeno-js/core",
|
|
3
|
+
"version": "0.1.10",
|
|
4
|
+
"description": "Xeno agnostic core — DDD + Clean Architecture npm package",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/xeno-js/xeno-js.git"
|
|
8
|
+
},
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/xeno-js/xeno-js/issues"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://www.xeno-js.it",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "./dist/index.js",
|
|
15
|
+
"module": "./dist/index.js",
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/index.js",
|
|
21
|
+
"require": "./dist/index.cjs"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsup",
|
|
32
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
33
|
+
"lint": "eslint --config eslint.config.mjs \"src/**/*.ts\" --max-warnings=0",
|
|
34
|
+
"lint:fix": "eslint --config eslint.config.mjs \"src/**/*.ts\" --fix --max-warnings=0",
|
|
35
|
+
"lint-staged": "lint-staged",
|
|
36
|
+
"commitlint": "commitlint",
|
|
37
|
+
"format": "prettier --write .",
|
|
38
|
+
"format:check": "prettier --check .",
|
|
39
|
+
"test": "vitest run",
|
|
40
|
+
"test:watch": "vitest",
|
|
41
|
+
"test:coverage": "vitest run --coverage",
|
|
42
|
+
"check": "npm run typecheck && npm run lint:fix && npm run test",
|
|
43
|
+
"verify:commit": "npm run lint-staged && npm run test",
|
|
44
|
+
"verify:push": "npm run check",
|
|
45
|
+
"prepare": "husky",
|
|
46
|
+
"db:generate": "drizzle-kit generate",
|
|
47
|
+
"db:push": "drizzle-kit push",
|
|
48
|
+
"db:migrate": "drizzle-kit migrate",
|
|
49
|
+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
50
|
+
"prepublishOnly": "npm run check && npm run build",
|
|
51
|
+
"release:patch": "npm version patch && npm run changelog && npm run prepublishOnly && npm publish --access public",
|
|
52
|
+
"release:minor": "npm version minor && npm run changelog && npm run prepublishOnly && npm publish --access public",
|
|
53
|
+
"release:major": "npm version major && npm run changelog && npm run prepublishOnly && npm publish --access public"
|
|
54
|
+
},
|
|
55
|
+
"keywords": [
|
|
56
|
+
"ddd",
|
|
57
|
+
"clean-architecture",
|
|
58
|
+
"core",
|
|
59
|
+
"kernel",
|
|
60
|
+
"domain-driven-design",
|
|
61
|
+
"mediator",
|
|
62
|
+
"event-sourcing",
|
|
63
|
+
"cqrs",
|
|
64
|
+
"repository-pattern",
|
|
65
|
+
"supabase",
|
|
66
|
+
"zod"
|
|
67
|
+
],
|
|
68
|
+
"author": "Xeno",
|
|
69
|
+
"license": "ISC",
|
|
70
|
+
"engines": {
|
|
71
|
+
"node": ">=20.0.0"
|
|
72
|
+
},
|
|
73
|
+
"peerDependencies": {
|
|
74
|
+
"@libsql/client": "^0.14.0",
|
|
75
|
+
"@sentry/node": "^11.0.0",
|
|
76
|
+
"@supabase/ssr": "^0.12.7",
|
|
77
|
+
"@supabase/supabase-js": "^2.117.1",
|
|
78
|
+
"@xeno-js/shared": "^0.1.7",
|
|
79
|
+
"axios": "^1.20.0",
|
|
80
|
+
"cockatiel": "^4.0.0",
|
|
81
|
+
"drizzle-orm": "^0.45.3",
|
|
82
|
+
"ioredis": "^6.0.0",
|
|
83
|
+
"p-limit": "^7.3.3",
|
|
84
|
+
"pg": "^8.23.0",
|
|
85
|
+
"pino": "^10.3.1",
|
|
86
|
+
"postgres": "^3.4.9",
|
|
87
|
+
"zod": "^4.6.5"
|
|
88
|
+
},
|
|
89
|
+
"peerDependenciesMeta": {
|
|
90
|
+
"@libsql/client": {
|
|
91
|
+
"optional": true
|
|
92
|
+
},
|
|
93
|
+
"@sentry/node": {
|
|
94
|
+
"optional": true
|
|
95
|
+
},
|
|
96
|
+
"@supabase/supabase-js": {
|
|
97
|
+
"optional": true
|
|
98
|
+
},
|
|
99
|
+
"@supabase/ssr": {
|
|
100
|
+
"optional": true
|
|
101
|
+
},
|
|
102
|
+
"axios": {
|
|
103
|
+
"optional": true
|
|
104
|
+
},
|
|
105
|
+
"cockatiel": {
|
|
106
|
+
"optional": true
|
|
107
|
+
},
|
|
108
|
+
"drizzle-orm": {
|
|
109
|
+
"optional": true
|
|
110
|
+
},
|
|
111
|
+
"ioredis": {
|
|
112
|
+
"optional": true
|
|
113
|
+
},
|
|
114
|
+
"p-limit": {
|
|
115
|
+
"optional": true
|
|
116
|
+
},
|
|
117
|
+
"pg": {
|
|
118
|
+
"optional": true
|
|
119
|
+
},
|
|
120
|
+
"pino": {
|
|
121
|
+
"optional": true
|
|
122
|
+
},
|
|
123
|
+
"postgres": {
|
|
124
|
+
"optional": true
|
|
125
|
+
},
|
|
126
|
+
"zod": {
|
|
127
|
+
"optional": false
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"devDependencies": {
|
|
131
|
+
"@commitlint/cli": "^21.2.3",
|
|
132
|
+
"@commitlint/config-conventional": "^21.2.3",
|
|
133
|
+
"@eslint/js": "^10.0.1",
|
|
134
|
+
"@libsql/client": "^0.18.0",
|
|
135
|
+
"@sentry/node": "^11.0.0",
|
|
136
|
+
"@supabase/ssr": "^0.12.7",
|
|
137
|
+
"@supabase/supabase-js": "^2.117.1",
|
|
138
|
+
"@types/pg": "^8.23.1",
|
|
139
|
+
"@vitest/coverage-v8": "^5.0.1",
|
|
140
|
+
"@xeno-js/shared": "^0.1.7",
|
|
141
|
+
"axios": "^1.20.0",
|
|
142
|
+
"cockatiel": "^4.0.0",
|
|
143
|
+
"conventional-changelog-angular": "^9.4.0",
|
|
144
|
+
"conventional-changelog-cli": "^5.0.0",
|
|
145
|
+
"conventional-changelog-writer": "^9.2.1",
|
|
146
|
+
"drizzle-kit": "^0.31.11",
|
|
147
|
+
"drizzle-orm": "^0.45.3",
|
|
148
|
+
"eslint": "^10.11.0",
|
|
149
|
+
"eslint-config-prettier": "^10.1.8",
|
|
150
|
+
"eslint-plugin-simple-import-sort": "^14.0.0",
|
|
151
|
+
"husky": "^9.1.7",
|
|
152
|
+
"ioredis": "^6.0.0",
|
|
153
|
+
"lint-staged": "^17.5.1",
|
|
154
|
+
"p-limit": "^7.3.3",
|
|
155
|
+
"pg": "^8.23.0",
|
|
156
|
+
"pino": "^10.3.1",
|
|
157
|
+
"postgres": "^3.4.9",
|
|
158
|
+
"prettier": "^3.9.9",
|
|
159
|
+
"tsc-alias": "^1.9.5",
|
|
160
|
+
"tsup": "^8.5.1",
|
|
161
|
+
"typescript": "^5.8.0",
|
|
162
|
+
"typescript-eslint": "^8.70.1",
|
|
163
|
+
"vitest": "^5.0.1",
|
|
164
|
+
"zod": "^4.6.5"
|
|
165
|
+
}
|
|
166
|
+
}
|