@ai-matrx/associations 0.2.0
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/CHANGELOG.md +122 -0
- package/LICENSE +21 -0
- package/README.md +115 -0
- package/dist/core/index.cjs +3191 -0
- package/dist/core/index.cjs.map +1 -0
- package/dist/core/index.d.cts +648 -0
- package/dist/core/index.d.ts +648 -0
- package/dist/core/index.js +3168 -0
- package/dist/core/index.js.map +1 -0
- package/dist/index.cjs +1479 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +11165 -0
- package/dist/index.d.ts +11165 -0
- package/dist/index.js +1456 -0
- package/dist/index.js.map +1 -0
- package/package.json +98 -0
package/package.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ai-matrx/associations",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "THE one way to relate two entities on the AI Matrx platform: the association edge vocabulary, the generated 650-token entity-type registry, the demanded RPC contract (assoc_/cat_/ues_ families), and the typed ports the headless core and React faces bind through. This package DEMANDS the platform.associations schema — a consumer who won't run our schema is not this package's consumer.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"keywords": [
|
|
11
|
+
"associations",
|
|
12
|
+
"entity-types",
|
|
13
|
+
"categories",
|
|
14
|
+
"favorites",
|
|
15
|
+
"supabase",
|
|
16
|
+
"rpc",
|
|
17
|
+
"ai-matrx"
|
|
18
|
+
],
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/AI-Matrix-Engine/aidream.git",
|
|
22
|
+
"directory": "apps/shared/associations"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://github.com/AI-Matrix-Engine/aidream/tree/main/apps/shared/associations#readme",
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/AI-Matrix-Engine/aidream/issues"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist",
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE",
|
|
32
|
+
"CHANGELOG.md"
|
|
33
|
+
],
|
|
34
|
+
"exports": {
|
|
35
|
+
".": {
|
|
36
|
+
"import": {
|
|
37
|
+
"types": "./dist/index.d.ts",
|
|
38
|
+
"default": "./dist/index.js"
|
|
39
|
+
},
|
|
40
|
+
"require": {
|
|
41
|
+
"types": "./dist/index.d.cts",
|
|
42
|
+
"default": "./dist/index.cjs"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"./core": {
|
|
46
|
+
"import": {
|
|
47
|
+
"types": "./dist/core/index.d.ts",
|
|
48
|
+
"default": "./dist/core/index.js"
|
|
49
|
+
},
|
|
50
|
+
"require": {
|
|
51
|
+
"types": "./dist/core/index.d.cts",
|
|
52
|
+
"default": "./dist/core/index.cjs"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"./package.json": "./package.json"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"react": ">=18.0.0"
|
|
59
|
+
},
|
|
60
|
+
"peerDependenciesMeta": {
|
|
61
|
+
"react": {
|
|
62
|
+
"optional": true
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
67
|
+
"@supabase/supabase-js": "^2.58.0",
|
|
68
|
+
"@types/node": "^22.20.0",
|
|
69
|
+
"@types/react": "^19.1.0",
|
|
70
|
+
"dotenv": "^16.4.5",
|
|
71
|
+
"publint": "^0.3.24",
|
|
72
|
+
"tsup": "^8.5.1",
|
|
73
|
+
"tsx": "^4.19.2",
|
|
74
|
+
"typescript": "^5.9.3",
|
|
75
|
+
"vitest": "^4.1.6",
|
|
76
|
+
"@ai-matrx/data": "0.3.0"
|
|
77
|
+
},
|
|
78
|
+
"publishConfig": {
|
|
79
|
+
"access": "public",
|
|
80
|
+
"registry": "https://registry.npmjs.org/"
|
|
81
|
+
},
|
|
82
|
+
"engines": {
|
|
83
|
+
"node": ">=20"
|
|
84
|
+
},
|
|
85
|
+
"sideEffects": false,
|
|
86
|
+
"scripts": {
|
|
87
|
+
"build": "pnpm clean && tsup",
|
|
88
|
+
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
89
|
+
"check:package": "pnpm build && publint && pnpm verify:tarball",
|
|
90
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
91
|
+
"test": "vitest run",
|
|
92
|
+
"test:watch": "vitest",
|
|
93
|
+
"verify:tarball": "node ./scripts/verify-tarball.mjs",
|
|
94
|
+
"gen:entity-types": "tsx scripts/generate-entity-types.ts",
|
|
95
|
+
"check:entity-types": "tsx scripts/generate-entity-types.ts --check",
|
|
96
|
+
"gen:demanded-rpcs": "tsx scripts/extract-demanded-rpcs.ts"
|
|
97
|
+
}
|
|
98
|
+
}
|