@contractspec/example.versioned-knowledge-base 1.59.0 → 1.61.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.
@@ -3,7 +3,7 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build prebuild
4
4
  $ contractspec-bun-build transpile
5
5
  [contractspec-bun-build] transpile target=bun root=src entries=12
6
- Bundled 12 modules in 30ms
6
+ Bundled 12 modules in 13ms
7
7
 
8
8
  docs/index.js 1.51 KB (entry point)
9
9
  ./index.js 20.10 KB (entry point)
@@ -35,7 +35,7 @@ Bundled 12 modules in 27ms
35
35
  handlers/memory.handlers.js 3.55 KB (entry point)
36
36
 
37
37
  [contractspec-bun-build] transpile target=browser root=src entries=12
38
- Bundled 12 modules in 37ms
38
+ Bundled 12 modules in 32ms
39
39
 
40
40
  docs/index.js 1.50 KB (entry point)
41
41
  ./index.js 20.1 KB (entry point)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @contractspec/example.versioned-knowledge-base
2
2
 
3
+ ## 1.61.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 374fd71: fix: publishing
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [374fd71]
12
+ - @contractspec/lib.contracts@1.61.0
13
+ - @contractspec/lib.schema@1.61.0
14
+
15
+ ## 1.60.0
16
+
17
+ ### Minor Changes
18
+
19
+ - fix: publish with bun
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+ - @contractspec/lib.contracts@1.60.0
25
+ - @contractspec/lib.schema@1.60.0
26
+
3
27
  ## 1.59.0
4
28
 
5
29
  ### Minor Changes
package/package.json CHANGED
@@ -1,26 +1,122 @@
1
1
  {
2
2
  "name": "@contractspec/example.versioned-knowledge-base",
3
- "version": "1.59.0",
3
+ "version": "1.61.0",
4
4
  "description": "Example: curated, versioned knowledge base with immutable sources, rule versions, and published snapshots.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
8
- ".": "./src/index.ts",
9
- "./docs": "./src/docs/index.ts",
10
- "./docs/index": "./src/docs/index.ts",
11
- "./docs/versioned-knowledge-base.docblock": "./src/docs/versioned-knowledge-base.docblock.ts",
12
- "./entities": "./src/entities/index.ts",
13
- "./entities/index": "./src/entities/index.ts",
14
- "./entities/models": "./src/entities/models.ts",
15
- "./events": "./src/events.ts",
16
- "./example": "./src/example.ts",
17
- "./handlers": "./src/handlers/index.ts",
18
- "./handlers/index": "./src/handlers/index.ts",
19
- "./handlers/memory.handlers": "./src/handlers/memory.handlers.ts",
20
- "./operations": "./src/operations/index.ts",
21
- "./operations/index": "./src/operations/index.ts",
22
- "./operations/kb": "./src/operations/kb.ts",
23
- "./versioned-knowledge-base.feature": "./src/versioned-knowledge-base.feature.ts"
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "bun": "./dist/index.js",
11
+ "node": "./dist/node/index.js",
12
+ "browser": "./dist/browser/index.js",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "./docs": {
16
+ "types": "./dist/docs/index.d.ts",
17
+ "bun": "./dist/docs/index.js",
18
+ "node": "./dist/node/docs/index.js",
19
+ "browser": "./dist/browser/docs/index.js",
20
+ "default": "./dist/docs/index.js"
21
+ },
22
+ "./docs/index": {
23
+ "types": "./dist/docs/index.d.ts",
24
+ "bun": "./dist/docs/index.js",
25
+ "node": "./dist/node/docs/index.js",
26
+ "browser": "./dist/browser/docs/index.js",
27
+ "default": "./dist/docs/index.js"
28
+ },
29
+ "./docs/versioned-knowledge-base.docblock": {
30
+ "types": "./dist/docs/versioned-knowledge-base.docblock.d.ts",
31
+ "bun": "./dist/docs/versioned-knowledge-base.docblock.js",
32
+ "node": "./dist/node/docs/versioned-knowledge-base.docblock.js",
33
+ "browser": "./dist/browser/docs/versioned-knowledge-base.docblock.js",
34
+ "default": "./dist/docs/versioned-knowledge-base.docblock.js"
35
+ },
36
+ "./entities": {
37
+ "types": "./dist/entities/index.d.ts",
38
+ "bun": "./dist/entities/index.js",
39
+ "node": "./dist/node/entities/index.js",
40
+ "browser": "./dist/browser/entities/index.js",
41
+ "default": "./dist/entities/index.js"
42
+ },
43
+ "./entities/index": {
44
+ "types": "./dist/entities/index.d.ts",
45
+ "bun": "./dist/entities/index.js",
46
+ "node": "./dist/node/entities/index.js",
47
+ "browser": "./dist/browser/entities/index.js",
48
+ "default": "./dist/entities/index.js"
49
+ },
50
+ "./entities/models": {
51
+ "types": "./dist/entities/models.d.ts",
52
+ "bun": "./dist/entities/models.js",
53
+ "node": "./dist/node/entities/models.js",
54
+ "browser": "./dist/browser/entities/models.js",
55
+ "default": "./dist/entities/models.js"
56
+ },
57
+ "./events": {
58
+ "types": "./dist/events.d.ts",
59
+ "bun": "./dist/events.js",
60
+ "node": "./dist/node/events.js",
61
+ "browser": "./dist/browser/events.js",
62
+ "default": "./dist/events.js"
63
+ },
64
+ "./example": {
65
+ "types": "./dist/example.d.ts",
66
+ "bun": "./dist/example.js",
67
+ "node": "./dist/node/example.js",
68
+ "browser": "./dist/browser/example.js",
69
+ "default": "./dist/example.js"
70
+ },
71
+ "./handlers": {
72
+ "types": "./dist/handlers/index.d.ts",
73
+ "bun": "./dist/handlers/index.js",
74
+ "node": "./dist/node/handlers/index.js",
75
+ "browser": "./dist/browser/handlers/index.js",
76
+ "default": "./dist/handlers/index.js"
77
+ },
78
+ "./handlers/index": {
79
+ "types": "./dist/handlers/index.d.ts",
80
+ "bun": "./dist/handlers/index.js",
81
+ "node": "./dist/node/handlers/index.js",
82
+ "browser": "./dist/browser/handlers/index.js",
83
+ "default": "./dist/handlers/index.js"
84
+ },
85
+ "./handlers/memory.handlers": {
86
+ "types": "./dist/handlers/memory.handlers.d.ts",
87
+ "bun": "./dist/handlers/memory.handlers.js",
88
+ "node": "./dist/node/handlers/memory.handlers.js",
89
+ "browser": "./dist/browser/handlers/memory.handlers.js",
90
+ "default": "./dist/handlers/memory.handlers.js"
91
+ },
92
+ "./operations": {
93
+ "types": "./dist/operations/index.d.ts",
94
+ "bun": "./dist/operations/index.js",
95
+ "node": "./dist/node/operations/index.js",
96
+ "browser": "./dist/browser/operations/index.js",
97
+ "default": "./dist/operations/index.js"
98
+ },
99
+ "./operations/index": {
100
+ "types": "./dist/operations/index.d.ts",
101
+ "bun": "./dist/operations/index.js",
102
+ "node": "./dist/node/operations/index.js",
103
+ "browser": "./dist/browser/operations/index.js",
104
+ "default": "./dist/operations/index.js"
105
+ },
106
+ "./operations/kb": {
107
+ "types": "./dist/operations/kb.d.ts",
108
+ "bun": "./dist/operations/kb.js",
109
+ "node": "./dist/node/operations/kb.js",
110
+ "browser": "./dist/browser/operations/kb.js",
111
+ "default": "./dist/operations/kb.js"
112
+ },
113
+ "./versioned-knowledge-base.feature": {
114
+ "types": "./dist/versioned-knowledge-base.feature.d.ts",
115
+ "bun": "./dist/versioned-knowledge-base.feature.js",
116
+ "node": "./dist/node/versioned-knowledge-base.feature.js",
117
+ "browser": "./dist/browser/versioned-knowledge-base.feature.js",
118
+ "default": "./dist/versioned-knowledge-base.feature.js"
119
+ }
24
120
  },
25
121
  "scripts": {
26
122
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
@@ -38,13 +134,13 @@
38
134
  "typecheck": "tsc --noEmit"
39
135
  },
40
136
  "dependencies": {
41
- "@contractspec/lib.contracts": "1.59.0",
42
- "@contractspec/lib.schema": "1.59.0"
137
+ "@contractspec/lib.contracts": "1.61.0",
138
+ "@contractspec/lib.schema": "1.61.0"
43
139
  },
44
140
  "devDependencies": {
45
- "@contractspec/tool.typescript": "1.59.0",
141
+ "@contractspec/tool.typescript": "1.61.0",
46
142
  "typescript": "^5.9.3",
47
- "@contractspec/tool.bun": "1.58.0"
143
+ "@contractspec/tool.bun": "1.60.0"
48
144
  },
49
145
  "publishConfig": {
50
146
  "access": "public",
@@ -52,112 +148,112 @@
52
148
  ".": {
53
149
  "types": "./dist/index.d.ts",
54
150
  "bun": "./dist/index.js",
55
- "node": "./dist/node/index.mjs",
151
+ "node": "./dist/node/index.js",
56
152
  "browser": "./dist/browser/index.js",
57
153
  "default": "./dist/index.js"
58
154
  },
59
155
  "./docs": {
60
156
  "types": "./dist/docs/index.d.ts",
61
157
  "bun": "./dist/docs/index.js",
62
- "node": "./dist/node/docs/index.mjs",
158
+ "node": "./dist/node/docs/index.js",
63
159
  "browser": "./dist/browser/docs/index.js",
64
160
  "default": "./dist/docs/index.js"
65
161
  },
66
162
  "./docs/index": {
67
163
  "types": "./dist/docs/index.d.ts",
68
164
  "bun": "./dist/docs/index.js",
69
- "node": "./dist/node/docs/index.mjs",
165
+ "node": "./dist/node/docs/index.js",
70
166
  "browser": "./dist/browser/docs/index.js",
71
167
  "default": "./dist/docs/index.js"
72
168
  },
73
169
  "./docs/versioned-knowledge-base.docblock": {
74
170
  "types": "./dist/docs/versioned-knowledge-base.docblock.d.ts",
75
171
  "bun": "./dist/docs/versioned-knowledge-base.docblock.js",
76
- "node": "./dist/node/docs/versioned-knowledge-base.docblock.mjs",
172
+ "node": "./dist/node/docs/versioned-knowledge-base.docblock.js",
77
173
  "browser": "./dist/browser/docs/versioned-knowledge-base.docblock.js",
78
174
  "default": "./dist/docs/versioned-knowledge-base.docblock.js"
79
175
  },
80
176
  "./entities": {
81
177
  "types": "./dist/entities/index.d.ts",
82
178
  "bun": "./dist/entities/index.js",
83
- "node": "./dist/node/entities/index.mjs",
179
+ "node": "./dist/node/entities/index.js",
84
180
  "browser": "./dist/browser/entities/index.js",
85
181
  "default": "./dist/entities/index.js"
86
182
  },
87
183
  "./entities/index": {
88
184
  "types": "./dist/entities/index.d.ts",
89
185
  "bun": "./dist/entities/index.js",
90
- "node": "./dist/node/entities/index.mjs",
186
+ "node": "./dist/node/entities/index.js",
91
187
  "browser": "./dist/browser/entities/index.js",
92
188
  "default": "./dist/entities/index.js"
93
189
  },
94
190
  "./entities/models": {
95
191
  "types": "./dist/entities/models.d.ts",
96
192
  "bun": "./dist/entities/models.js",
97
- "node": "./dist/node/entities/models.mjs",
193
+ "node": "./dist/node/entities/models.js",
98
194
  "browser": "./dist/browser/entities/models.js",
99
195
  "default": "./dist/entities/models.js"
100
196
  },
101
197
  "./events": {
102
198
  "types": "./dist/events.d.ts",
103
199
  "bun": "./dist/events.js",
104
- "node": "./dist/node/events.mjs",
200
+ "node": "./dist/node/events.js",
105
201
  "browser": "./dist/browser/events.js",
106
202
  "default": "./dist/events.js"
107
203
  },
108
204
  "./example": {
109
205
  "types": "./dist/example.d.ts",
110
206
  "bun": "./dist/example.js",
111
- "node": "./dist/node/example.mjs",
207
+ "node": "./dist/node/example.js",
112
208
  "browser": "./dist/browser/example.js",
113
209
  "default": "./dist/example.js"
114
210
  },
115
211
  "./handlers": {
116
212
  "types": "./dist/handlers/index.d.ts",
117
213
  "bun": "./dist/handlers/index.js",
118
- "node": "./dist/node/handlers/index.mjs",
214
+ "node": "./dist/node/handlers/index.js",
119
215
  "browser": "./dist/browser/handlers/index.js",
120
216
  "default": "./dist/handlers/index.js"
121
217
  },
122
218
  "./handlers/index": {
123
219
  "types": "./dist/handlers/index.d.ts",
124
220
  "bun": "./dist/handlers/index.js",
125
- "node": "./dist/node/handlers/index.mjs",
221
+ "node": "./dist/node/handlers/index.js",
126
222
  "browser": "./dist/browser/handlers/index.js",
127
223
  "default": "./dist/handlers/index.js"
128
224
  },
129
225
  "./handlers/memory.handlers": {
130
226
  "types": "./dist/handlers/memory.handlers.d.ts",
131
227
  "bun": "./dist/handlers/memory.handlers.js",
132
- "node": "./dist/node/handlers/memory.handlers.mjs",
228
+ "node": "./dist/node/handlers/memory.handlers.js",
133
229
  "browser": "./dist/browser/handlers/memory.handlers.js",
134
230
  "default": "./dist/handlers/memory.handlers.js"
135
231
  },
136
232
  "./operations": {
137
233
  "types": "./dist/operations/index.d.ts",
138
234
  "bun": "./dist/operations/index.js",
139
- "node": "./dist/node/operations/index.mjs",
235
+ "node": "./dist/node/operations/index.js",
140
236
  "browser": "./dist/browser/operations/index.js",
141
237
  "default": "./dist/operations/index.js"
142
238
  },
143
239
  "./operations/index": {
144
240
  "types": "./dist/operations/index.d.ts",
145
241
  "bun": "./dist/operations/index.js",
146
- "node": "./dist/node/operations/index.mjs",
242
+ "node": "./dist/node/operations/index.js",
147
243
  "browser": "./dist/browser/operations/index.js",
148
244
  "default": "./dist/operations/index.js"
149
245
  },
150
246
  "./operations/kb": {
151
247
  "types": "./dist/operations/kb.d.ts",
152
248
  "bun": "./dist/operations/kb.js",
153
- "node": "./dist/node/operations/kb.mjs",
249
+ "node": "./dist/node/operations/kb.js",
154
250
  "browser": "./dist/browser/operations/kb.js",
155
251
  "default": "./dist/operations/kb.js"
156
252
  },
157
253
  "./versioned-knowledge-base.feature": {
158
254
  "types": "./dist/versioned-knowledge-base.feature.d.ts",
159
255
  "bun": "./dist/versioned-knowledge-base.feature.js",
160
- "node": "./dist/node/versioned-knowledge-base.feature.mjs",
256
+ "node": "./dist/node/versioned-knowledge-base.feature.js",
161
257
  "browser": "./dist/browser/versioned-knowledge-base.feature.js",
162
258
  "default": "./dist/versioned-knowledge-base.feature.js"
163
259
  }