@xeno-js/core 0.1.5 → 0.1.7
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 +216 -125
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +50 -1
- package/dist/index.d.ts +50 -1
- package/dist/index.js +205 -109
- package/dist/index.js.map +1 -1
- package/package.json +160 -160
package/package.json
CHANGED
|
@@ -1,160 +1,160 @@
|
|
|
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
|
-
"prepublishOnly": "npm run check && npm run build",
|
|
47
|
-
"release": "npm run prepublishOnly && npm publish",
|
|
48
|
-
"db:generate": "drizzle-kit generate",
|
|
49
|
-
"db:push": "drizzle-kit push",
|
|
50
|
-
"db:migrate": "drizzle-kit migrate"
|
|
51
|
-
},
|
|
52
|
-
"keywords": [
|
|
53
|
-
"ddd",
|
|
54
|
-
"clean-architecture",
|
|
55
|
-
"core",
|
|
56
|
-
"kernel",
|
|
57
|
-
"domain-driven-design",
|
|
58
|
-
"mediator",
|
|
59
|
-
"event-sourcing",
|
|
60
|
-
"cqrs",
|
|
61
|
-
"repository-pattern",
|
|
62
|
-
"supabase",
|
|
63
|
-
"zod"
|
|
64
|
-
],
|
|
65
|
-
"author": "Xeno",
|
|
66
|
-
"license": "ISC",
|
|
67
|
-
"engines": {
|
|
68
|
-
"node": ">=20.0.0"
|
|
69
|
-
},
|
|
70
|
-
"peerDependencies": {
|
|
71
|
-
"@libsql/client": "^0.14.0",
|
|
72
|
-
"@sentry/node": "^11.0.0",
|
|
73
|
-
"@supabase/ssr": "^0.12.7",
|
|
74
|
-
"@supabase/supabase-js": "^2.117.1",
|
|
75
|
-
"@xeno-js/shared": "^0.1.6",
|
|
76
|
-
"axios": "^1.20.0",
|
|
77
|
-
"cockatiel": "^4.0.0",
|
|
78
|
-
"drizzle-orm": "^0.45.3",
|
|
79
|
-
"ioredis": "^6.0.0",
|
|
80
|
-
"p-limit": "^7.3.3",
|
|
81
|
-
"pg": "^8.23.0",
|
|
82
|
-
"pino": "^10.3.1",
|
|
83
|
-
"postgres": "^3.4.9",
|
|
84
|
-
"zod": "^4.6.5"
|
|
85
|
-
},
|
|
86
|
-
"peerDependenciesMeta": {
|
|
87
|
-
"@libsql/client": {
|
|
88
|
-
"optional": true
|
|
89
|
-
},
|
|
90
|
-
"@sentry/node": {
|
|
91
|
-
"optional": true
|
|
92
|
-
},
|
|
93
|
-
"@supabase/supabase-js": {
|
|
94
|
-
"optional": true
|
|
95
|
-
},
|
|
96
|
-
"@supabase/ssr": {
|
|
97
|
-
"optional": true
|
|
98
|
-
},
|
|
99
|
-
"axios": {
|
|
100
|
-
"optional": true
|
|
101
|
-
},
|
|
102
|
-
"cockatiel": {
|
|
103
|
-
"optional": true
|
|
104
|
-
},
|
|
105
|
-
"drizzle-orm": {
|
|
106
|
-
"optional": true
|
|
107
|
-
},
|
|
108
|
-
"ioredis": {
|
|
109
|
-
"optional": true
|
|
110
|
-
},
|
|
111
|
-
"p-limit": {
|
|
112
|
-
"optional": true
|
|
113
|
-
},
|
|
114
|
-
"pg": {
|
|
115
|
-
"optional": true
|
|
116
|
-
},
|
|
117
|
-
"pino": {
|
|
118
|
-
"optional": true
|
|
119
|
-
},
|
|
120
|
-
"postgres": {
|
|
121
|
-
"optional": true
|
|
122
|
-
},
|
|
123
|
-
"zod": {
|
|
124
|
-
"optional": false
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"devDependencies": {
|
|
128
|
-
"@commitlint/cli": "^21.2.3",
|
|
129
|
-
"@commitlint/config-conventional": "^21.2.3",
|
|
130
|
-
"@eslint/js": "^10.0.1",
|
|
131
|
-
"@libsql/client": "^0.18.0",
|
|
132
|
-
"@sentry/node": "^11.0.0",
|
|
133
|
-
"@supabase/ssr": "^0.12.7",
|
|
134
|
-
"@supabase/supabase-js": "^2.117.1",
|
|
135
|
-
"@types/pg": "^8.23.1",
|
|
136
|
-
"@vitest/coverage-v8": "^5.0.1",
|
|
137
|
-
"@xeno-js/shared": "^0.1.6",
|
|
138
|
-
"axios": "^1.20.0",
|
|
139
|
-
"cockatiel": "^4.0.0",
|
|
140
|
-
"drizzle-kit": "^0.31.11",
|
|
141
|
-
"drizzle-orm": "^0.45.3",
|
|
142
|
-
"eslint": "^10.11.0",
|
|
143
|
-
"eslint-config-prettier": "^10.1.8",
|
|
144
|
-
"eslint-plugin-simple-import-sort": "^14.0.0",
|
|
145
|
-
"husky": "^9.1.7",
|
|
146
|
-
"ioredis": "^6.0.0",
|
|
147
|
-
"lint-staged": "^17.5.1",
|
|
148
|
-
"p-limit": "^7.3.3",
|
|
149
|
-
"pg": "^8.23.0",
|
|
150
|
-
"pino": "^10.3.1",
|
|
151
|
-
"postgres": "^3.4.9",
|
|
152
|
-
"prettier": "^3.9.9",
|
|
153
|
-
"tsc-alias": "^1.9.5",
|
|
154
|
-
"typescript": "^5.8.0",
|
|
155
|
-
"typescript-eslint": "^8.70.1",
|
|
156
|
-
"tsup": "^8.5.1",
|
|
157
|
-
"vitest": "^5.0.1",
|
|
158
|
-
"zod": "^4.6.5"
|
|
159
|
-
}
|
|
160
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@xeno-js/core",
|
|
3
|
+
"version": "0.1.7",
|
|
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
|
+
"prepublishOnly": "npm run check && npm run build",
|
|
47
|
+
"release": "npm run prepublishOnly && npm publish",
|
|
48
|
+
"db:generate": "drizzle-kit generate",
|
|
49
|
+
"db:push": "drizzle-kit push",
|
|
50
|
+
"db:migrate": "drizzle-kit migrate"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"ddd",
|
|
54
|
+
"clean-architecture",
|
|
55
|
+
"core",
|
|
56
|
+
"kernel",
|
|
57
|
+
"domain-driven-design",
|
|
58
|
+
"mediator",
|
|
59
|
+
"event-sourcing",
|
|
60
|
+
"cqrs",
|
|
61
|
+
"repository-pattern",
|
|
62
|
+
"supabase",
|
|
63
|
+
"zod"
|
|
64
|
+
],
|
|
65
|
+
"author": "Xeno",
|
|
66
|
+
"license": "ISC",
|
|
67
|
+
"engines": {
|
|
68
|
+
"node": ">=20.0.0"
|
|
69
|
+
},
|
|
70
|
+
"peerDependencies": {
|
|
71
|
+
"@libsql/client": "^0.14.0",
|
|
72
|
+
"@sentry/node": "^11.0.0",
|
|
73
|
+
"@supabase/ssr": "^0.12.7",
|
|
74
|
+
"@supabase/supabase-js": "^2.117.1",
|
|
75
|
+
"@xeno-js/shared": "^0.1.6",
|
|
76
|
+
"axios": "^1.20.0",
|
|
77
|
+
"cockatiel": "^4.0.0",
|
|
78
|
+
"drizzle-orm": "^0.45.3",
|
|
79
|
+
"ioredis": "^6.0.0",
|
|
80
|
+
"p-limit": "^7.3.3",
|
|
81
|
+
"pg": "^8.23.0",
|
|
82
|
+
"pino": "^10.3.1",
|
|
83
|
+
"postgres": "^3.4.9",
|
|
84
|
+
"zod": "^4.6.5"
|
|
85
|
+
},
|
|
86
|
+
"peerDependenciesMeta": {
|
|
87
|
+
"@libsql/client": {
|
|
88
|
+
"optional": true
|
|
89
|
+
},
|
|
90
|
+
"@sentry/node": {
|
|
91
|
+
"optional": true
|
|
92
|
+
},
|
|
93
|
+
"@supabase/supabase-js": {
|
|
94
|
+
"optional": true
|
|
95
|
+
},
|
|
96
|
+
"@supabase/ssr": {
|
|
97
|
+
"optional": true
|
|
98
|
+
},
|
|
99
|
+
"axios": {
|
|
100
|
+
"optional": true
|
|
101
|
+
},
|
|
102
|
+
"cockatiel": {
|
|
103
|
+
"optional": true
|
|
104
|
+
},
|
|
105
|
+
"drizzle-orm": {
|
|
106
|
+
"optional": true
|
|
107
|
+
},
|
|
108
|
+
"ioredis": {
|
|
109
|
+
"optional": true
|
|
110
|
+
},
|
|
111
|
+
"p-limit": {
|
|
112
|
+
"optional": true
|
|
113
|
+
},
|
|
114
|
+
"pg": {
|
|
115
|
+
"optional": true
|
|
116
|
+
},
|
|
117
|
+
"pino": {
|
|
118
|
+
"optional": true
|
|
119
|
+
},
|
|
120
|
+
"postgres": {
|
|
121
|
+
"optional": true
|
|
122
|
+
},
|
|
123
|
+
"zod": {
|
|
124
|
+
"optional": false
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"devDependencies": {
|
|
128
|
+
"@commitlint/cli": "^21.2.3",
|
|
129
|
+
"@commitlint/config-conventional": "^21.2.3",
|
|
130
|
+
"@eslint/js": "^10.0.1",
|
|
131
|
+
"@libsql/client": "^0.18.0",
|
|
132
|
+
"@sentry/node": "^11.0.0",
|
|
133
|
+
"@supabase/ssr": "^0.12.7",
|
|
134
|
+
"@supabase/supabase-js": "^2.117.1",
|
|
135
|
+
"@types/pg": "^8.23.1",
|
|
136
|
+
"@vitest/coverage-v8": "^5.0.1",
|
|
137
|
+
"@xeno-js/shared": "^0.1.6",
|
|
138
|
+
"axios": "^1.20.0",
|
|
139
|
+
"cockatiel": "^4.0.0",
|
|
140
|
+
"drizzle-kit": "^0.31.11",
|
|
141
|
+
"drizzle-orm": "^0.45.3",
|
|
142
|
+
"eslint": "^10.11.0",
|
|
143
|
+
"eslint-config-prettier": "^10.1.8",
|
|
144
|
+
"eslint-plugin-simple-import-sort": "^14.0.0",
|
|
145
|
+
"husky": "^9.1.7",
|
|
146
|
+
"ioredis": "^6.0.0",
|
|
147
|
+
"lint-staged": "^17.5.1",
|
|
148
|
+
"p-limit": "^7.3.3",
|
|
149
|
+
"pg": "^8.23.0",
|
|
150
|
+
"pino": "^10.3.1",
|
|
151
|
+
"postgres": "^3.4.9",
|
|
152
|
+
"prettier": "^3.9.9",
|
|
153
|
+
"tsc-alias": "^1.9.5",
|
|
154
|
+
"typescript": "^5.8.0",
|
|
155
|
+
"typescript-eslint": "^8.70.1",
|
|
156
|
+
"tsup": "^8.5.1",
|
|
157
|
+
"vitest": "^5.0.1",
|
|
158
|
+
"zod": "^4.6.5"
|
|
159
|
+
}
|
|
160
|
+
}
|