@contractspec/module.provider-ranking 0.1.2
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 +34 -0
- package/dist/browser/entities/index.js +107 -0
- package/dist/browser/index.js +538 -0
- package/dist/browser/pipeline/index.js +134 -0
- package/dist/browser/pipeline/ingestion-pipeline.js +86 -0
- package/dist/browser/pipeline/ranking-pipeline.js +49 -0
- package/dist/browser/storage/index.js +299 -0
- package/dist/entities/index.d.ts +60 -0
- package/dist/entities/index.js +108 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +539 -0
- package/dist/node/entities/index.js +107 -0
- package/dist/node/index.js +538 -0
- package/dist/node/pipeline/index.js +134 -0
- package/dist/node/pipeline/ingestion-pipeline.js +86 -0
- package/dist/node/pipeline/ranking-pipeline.js +49 -0
- package/dist/node/storage/index.js +299 -0
- package/dist/pipeline/index.d.ts +2 -0
- package/dist/pipeline/index.js +135 -0
- package/dist/pipeline/ingestion-pipeline.d.ts +38 -0
- package/dist/pipeline/ingestion-pipeline.js +87 -0
- package/dist/pipeline/ranking-pipeline.d.ts +31 -0
- package/dist/pipeline/ranking-pipeline.js +50 -0
- package/dist/storage/index.d.ts +30 -0
- package/dist/storage/index.js +300 -0
- package/package.json +183 -0
package/package.json
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@contractspec/module.provider-ranking",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "AI provider ranking module with persistence and pipeline orchestration",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"contractspec",
|
|
7
|
+
"ai",
|
|
8
|
+
"ranking",
|
|
9
|
+
"benchmark",
|
|
10
|
+
"module"
|
|
11
|
+
],
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
|
|
16
|
+
"publish:pkg:canary": "bun publish:pkg --tag canary",
|
|
17
|
+
"build": "bun run prebuild && bun run build:bundle && bun run build:types",
|
|
18
|
+
"build:bundle": "contractspec-bun-build transpile",
|
|
19
|
+
"build:types": "contractspec-bun-build types",
|
|
20
|
+
"dev": "contractspec-bun-build dev",
|
|
21
|
+
"clean": "rimraf dist .turbo",
|
|
22
|
+
"lint": "bun lint:fix",
|
|
23
|
+
"lint:fix": "eslint src --fix",
|
|
24
|
+
"lint:check": "eslint src",
|
|
25
|
+
"prebuild": "contractspec-bun-build prebuild",
|
|
26
|
+
"typecheck": "tsc --noEmit"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@contractspec/lib.provider-ranking": "0.1.1",
|
|
30
|
+
"@contractspec/lib.schema": "3.1.0",
|
|
31
|
+
"@contractspec/lib.contracts-integrations": "3.1.1"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@contractspec/tool.typescript": "3.1.0",
|
|
35
|
+
"@contractspec/tool.bun": "3.1.0",
|
|
36
|
+
"typescript": "^5.9.3"
|
|
37
|
+
},
|
|
38
|
+
"exports": {
|
|
39
|
+
".": {
|
|
40
|
+
"types": "./dist/index.d.ts",
|
|
41
|
+
"bun": "./dist/index.js",
|
|
42
|
+
"node": "./dist/node/index.js",
|
|
43
|
+
"browser": "./dist/browser/index.js",
|
|
44
|
+
"default": "./dist/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./entities": {
|
|
47
|
+
"types": "./dist/entities/index.d.ts",
|
|
48
|
+
"bun": "./dist/entities/index.js",
|
|
49
|
+
"node": "./dist/node/entities/index.js",
|
|
50
|
+
"browser": "./dist/browser/entities/index.js",
|
|
51
|
+
"default": "./dist/entities/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./entities/index": {
|
|
54
|
+
"types": "./dist/entities/index.d.ts",
|
|
55
|
+
"bun": "./dist/entities/index.js",
|
|
56
|
+
"node": "./dist/node/entities/index.js",
|
|
57
|
+
"browser": "./dist/browser/entities/index.js",
|
|
58
|
+
"default": "./dist/entities/index.js"
|
|
59
|
+
},
|
|
60
|
+
"./pipeline": {
|
|
61
|
+
"types": "./dist/pipeline/index.d.ts",
|
|
62
|
+
"bun": "./dist/pipeline/index.js",
|
|
63
|
+
"node": "./dist/node/pipeline/index.js",
|
|
64
|
+
"browser": "./dist/browser/pipeline/index.js",
|
|
65
|
+
"default": "./dist/pipeline/index.js"
|
|
66
|
+
},
|
|
67
|
+
"./pipeline/index": {
|
|
68
|
+
"types": "./dist/pipeline/index.d.ts",
|
|
69
|
+
"bun": "./dist/pipeline/index.js",
|
|
70
|
+
"node": "./dist/node/pipeline/index.js",
|
|
71
|
+
"browser": "./dist/browser/pipeline/index.js",
|
|
72
|
+
"default": "./dist/pipeline/index.js"
|
|
73
|
+
},
|
|
74
|
+
"./pipeline/ingestion-pipeline": {
|
|
75
|
+
"types": "./dist/pipeline/ingestion-pipeline.d.ts",
|
|
76
|
+
"bun": "./dist/pipeline/ingestion-pipeline.js",
|
|
77
|
+
"node": "./dist/node/pipeline/ingestion-pipeline.js",
|
|
78
|
+
"browser": "./dist/browser/pipeline/ingestion-pipeline.js",
|
|
79
|
+
"default": "./dist/pipeline/ingestion-pipeline.js"
|
|
80
|
+
},
|
|
81
|
+
"./pipeline/ranking-pipeline": {
|
|
82
|
+
"types": "./dist/pipeline/ranking-pipeline.d.ts",
|
|
83
|
+
"bun": "./dist/pipeline/ranking-pipeline.js",
|
|
84
|
+
"node": "./dist/node/pipeline/ranking-pipeline.js",
|
|
85
|
+
"browser": "./dist/browser/pipeline/ranking-pipeline.js",
|
|
86
|
+
"default": "./dist/pipeline/ranking-pipeline.js"
|
|
87
|
+
},
|
|
88
|
+
"./storage": {
|
|
89
|
+
"types": "./dist/storage/index.d.ts",
|
|
90
|
+
"bun": "./dist/storage/index.js",
|
|
91
|
+
"node": "./dist/node/storage/index.js",
|
|
92
|
+
"browser": "./dist/browser/storage/index.js",
|
|
93
|
+
"default": "./dist/storage/index.js"
|
|
94
|
+
},
|
|
95
|
+
"./storage/index": {
|
|
96
|
+
"types": "./dist/storage/index.d.ts",
|
|
97
|
+
"bun": "./dist/storage/index.js",
|
|
98
|
+
"node": "./dist/node/storage/index.js",
|
|
99
|
+
"browser": "./dist/browser/storage/index.js",
|
|
100
|
+
"default": "./dist/storage/index.js"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"files": [
|
|
104
|
+
"dist",
|
|
105
|
+
"README.md"
|
|
106
|
+
],
|
|
107
|
+
"publishConfig": {
|
|
108
|
+
"access": "public",
|
|
109
|
+
"exports": {
|
|
110
|
+
".": {
|
|
111
|
+
"types": "./dist/index.d.ts",
|
|
112
|
+
"bun": "./dist/index.js",
|
|
113
|
+
"node": "./dist/node/index.js",
|
|
114
|
+
"browser": "./dist/browser/index.js",
|
|
115
|
+
"default": "./dist/index.js"
|
|
116
|
+
},
|
|
117
|
+
"./entities": {
|
|
118
|
+
"types": "./dist/entities/index.d.ts",
|
|
119
|
+
"bun": "./dist/entities/index.js",
|
|
120
|
+
"node": "./dist/node/entities/index.js",
|
|
121
|
+
"browser": "./dist/browser/entities/index.js",
|
|
122
|
+
"default": "./dist/entities/index.js"
|
|
123
|
+
},
|
|
124
|
+
"./entities/index": {
|
|
125
|
+
"types": "./dist/entities/index.d.ts",
|
|
126
|
+
"bun": "./dist/entities/index.js",
|
|
127
|
+
"node": "./dist/node/entities/index.js",
|
|
128
|
+
"browser": "./dist/browser/entities/index.js",
|
|
129
|
+
"default": "./dist/entities/index.js"
|
|
130
|
+
},
|
|
131
|
+
"./pipeline": {
|
|
132
|
+
"types": "./dist/pipeline/index.d.ts",
|
|
133
|
+
"bun": "./dist/pipeline/index.js",
|
|
134
|
+
"node": "./dist/node/pipeline/index.js",
|
|
135
|
+
"browser": "./dist/browser/pipeline/index.js",
|
|
136
|
+
"default": "./dist/pipeline/index.js"
|
|
137
|
+
},
|
|
138
|
+
"./pipeline/index": {
|
|
139
|
+
"types": "./dist/pipeline/index.d.ts",
|
|
140
|
+
"bun": "./dist/pipeline/index.js",
|
|
141
|
+
"node": "./dist/node/pipeline/index.js",
|
|
142
|
+
"browser": "./dist/browser/pipeline/index.js",
|
|
143
|
+
"default": "./dist/pipeline/index.js"
|
|
144
|
+
},
|
|
145
|
+
"./pipeline/ingestion-pipeline": {
|
|
146
|
+
"types": "./dist/pipeline/ingestion-pipeline.d.ts",
|
|
147
|
+
"bun": "./dist/pipeline/ingestion-pipeline.js",
|
|
148
|
+
"node": "./dist/node/pipeline/ingestion-pipeline.js",
|
|
149
|
+
"browser": "./dist/browser/pipeline/ingestion-pipeline.js",
|
|
150
|
+
"default": "./dist/pipeline/ingestion-pipeline.js"
|
|
151
|
+
},
|
|
152
|
+
"./pipeline/ranking-pipeline": {
|
|
153
|
+
"types": "./dist/pipeline/ranking-pipeline.d.ts",
|
|
154
|
+
"bun": "./dist/pipeline/ranking-pipeline.js",
|
|
155
|
+
"node": "./dist/node/pipeline/ranking-pipeline.js",
|
|
156
|
+
"browser": "./dist/browser/pipeline/ranking-pipeline.js",
|
|
157
|
+
"default": "./dist/pipeline/ranking-pipeline.js"
|
|
158
|
+
},
|
|
159
|
+
"./storage": {
|
|
160
|
+
"types": "./dist/storage/index.d.ts",
|
|
161
|
+
"bun": "./dist/storage/index.js",
|
|
162
|
+
"node": "./dist/node/storage/index.js",
|
|
163
|
+
"browser": "./dist/browser/storage/index.js",
|
|
164
|
+
"default": "./dist/storage/index.js"
|
|
165
|
+
},
|
|
166
|
+
"./storage/index": {
|
|
167
|
+
"types": "./dist/storage/index.d.ts",
|
|
168
|
+
"bun": "./dist/storage/index.js",
|
|
169
|
+
"node": "./dist/node/storage/index.js",
|
|
170
|
+
"browser": "./dist/browser/storage/index.js",
|
|
171
|
+
"default": "./dist/storage/index.js"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"registry": "https://registry.npmjs.org/"
|
|
175
|
+
},
|
|
176
|
+
"license": "MIT",
|
|
177
|
+
"repository": {
|
|
178
|
+
"type": "git",
|
|
179
|
+
"url": "https://github.com/lssm-tech/contractspec.git",
|
|
180
|
+
"directory": "packages/modules/provider-ranking"
|
|
181
|
+
},
|
|
182
|
+
"homepage": "https://contractspec.io"
|
|
183
|
+
}
|