@xeno-js/shared 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/README.md +8 -14
- package/dist/index.cjs +77 -182
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +176 -213
- package/dist/index.d.ts +176 -213
- package/dist/index.js +76 -182
- package/dist/index.js.map +1 -1
- package/package.json +110 -109
package/package.json
CHANGED
|
@@ -1,109 +1,110 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xeno-js/shared",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Xeno shared
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/xeno-js/xeno-shared.git"
|
|
8
|
-
},
|
|
9
|
-
"bugs": {
|
|
10
|
-
"url": "https://github.com/xeno-js/xeno-shared/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
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
],
|
|
62
|
-
"author": "Xeno",
|
|
63
|
-
"license": "ISC",
|
|
64
|
-
"engines": {
|
|
65
|
-
"node": ">=20.0.0"
|
|
66
|
-
},
|
|
67
|
-
"peerDependencies": {
|
|
68
|
-
"@supabase/supabase-js": "^2.117.0",
|
|
69
|
-
"axios": "^1.20.0",
|
|
70
|
-
"cockatiel": "^4.0.0",
|
|
71
|
-
"zod": "^4.6.5"
|
|
72
|
-
},
|
|
73
|
-
"peerDependenciesMeta": {
|
|
74
|
-
"@supabase/supabase-js": {
|
|
75
|
-
"optional": true
|
|
76
|
-
},
|
|
77
|
-
"axios": {
|
|
78
|
-
"optional": true
|
|
79
|
-
},
|
|
80
|
-
"cockatiel": {
|
|
81
|
-
"optional": true
|
|
82
|
-
},
|
|
83
|
-
"zod": {
|
|
84
|
-
"optional": false
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"devDependencies": {
|
|
88
|
-
"@commitlint/cli": "^21.2.3",
|
|
89
|
-
"@commitlint/config-conventional": "^21.2.3",
|
|
90
|
-
"@eslint/js": "^10.0.1",
|
|
91
|
-
"@supabase/supabase-js": "^2.117.0",
|
|
92
|
-
"@types/pg": "^8.23.1",
|
|
93
|
-
"@vitest/coverage-v8": "^5.0.1",
|
|
94
|
-
"axios": "^1.20.0",
|
|
95
|
-
"cockatiel": "^4.0.0",
|
|
96
|
-
"
|
|
97
|
-
"eslint
|
|
98
|
-
"eslint-
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"typescript
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@xeno-js/shared",
|
|
3
|
+
"version": "0.1.7",
|
|
4
|
+
"description": "Xeno shared isomorphic package — universal primitives, DTO contracts, and type-safe utilities",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/xeno-js/xeno-shared.git"
|
|
8
|
+
},
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/xeno-js/xeno-shared/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
|
+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
47
|
+
"prepublishOnly": "npm run check && npm run build",
|
|
48
|
+
"release:patch": "npm version patch && npm run changelog && npm run prepublishOnly && npm publish --access public",
|
|
49
|
+
"release:minor": "npm version minor && npm run changelog && npm run prepublishOnly && npm publish --access public",
|
|
50
|
+
"release:major": "npm version major && npm run changelog && npm run prepublishOnly && npm publish --access public"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"shared",
|
|
54
|
+
"isomorphic",
|
|
55
|
+
"utilities",
|
|
56
|
+
"primitives",
|
|
57
|
+
"dto",
|
|
58
|
+
"helpers",
|
|
59
|
+
"clean-architecture",
|
|
60
|
+
"typescript"
|
|
61
|
+
],
|
|
62
|
+
"author": "Xeno",
|
|
63
|
+
"license": "ISC",
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">=20.0.0"
|
|
66
|
+
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"@supabase/supabase-js": "^2.117.0",
|
|
69
|
+
"axios": "^1.20.0",
|
|
70
|
+
"cockatiel": "^4.0.0",
|
|
71
|
+
"zod": "^4.6.5"
|
|
72
|
+
},
|
|
73
|
+
"peerDependenciesMeta": {
|
|
74
|
+
"@supabase/supabase-js": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"axios": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
80
|
+
"cockatiel": {
|
|
81
|
+
"optional": true
|
|
82
|
+
},
|
|
83
|
+
"zod": {
|
|
84
|
+
"optional": false
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"devDependencies": {
|
|
88
|
+
"@commitlint/cli": "^21.2.3",
|
|
89
|
+
"@commitlint/config-conventional": "^21.2.3",
|
|
90
|
+
"@eslint/js": "^10.0.1",
|
|
91
|
+
"@supabase/supabase-js": "^2.117.0",
|
|
92
|
+
"@types/pg": "^8.23.1",
|
|
93
|
+
"@vitest/coverage-v8": "^5.0.1",
|
|
94
|
+
"axios": "^1.20.0",
|
|
95
|
+
"cockatiel": "^4.0.0",
|
|
96
|
+
"conventional-changelog-cli": "^5.0.0",
|
|
97
|
+
"eslint": "^10.11.0",
|
|
98
|
+
"eslint-config-prettier": "^10.1.8",
|
|
99
|
+
"eslint-plugin-simple-import-sort": "^14.0.0",
|
|
100
|
+
"husky": "^9.1.7",
|
|
101
|
+
"lint-staged": "^17.5.1",
|
|
102
|
+
"prettier": "^3.9.9",
|
|
103
|
+
"tsc-alias": "^1.9.5",
|
|
104
|
+
"tsup": "^8.5.1",
|
|
105
|
+
"typescript": "^5.8.0",
|
|
106
|
+
"typescript-eslint": "^8.70.1",
|
|
107
|
+
"vitest": "^5.0.1",
|
|
108
|
+
"zod": "^4.6.5"
|
|
109
|
+
}
|
|
110
|
+
}
|