@contractspec/example.personalization 0.0.0-canary-20260119224109 → 0.0.0-canary-20260119224015

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.
@@ -166,16 +166,6 @@ $ tsdown
166
166
  ℹ dist/libs/contracts/src/resources.d.ts 0.01 kB │ gzip: 0.03 kB
167
167
  ℹ dist/libs/contracts/src/workspace-config/contractsrc-schema.d.ts 0.01 kB │ gzip: 0.03 kB
168
168
  ℹ 159 files, total: 54.50 kB
169
- ../../libs/contracts/src/experiments/evaluator.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/experiments/evaluator.ts
170
- ╭─[ ../../libs/contracts/src/experiments/evaluator.ts:1:28 ]
171
- │
172
- 1 │ import { createHash } from 'node:crypto';
173
-  │ ──────┬──────
174
-  │ ╰──────── Module not found, treating it as an external dependency
175
-  │
176
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
177
- ───╯
178
-
179
169
  ../../libs/contracts/src/openapi.ts (8:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/openapi.ts
180
170
  â•­─[ ../../libs/contracts/src/openapi.ts:8:33 ]
181
171
  │
@@ -206,12 +196,12 @@ $ tsdown
206
196
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
207
197
  ────╯
208
198
 
209
- ../../libs/contracts/src/capabilities/capabilities.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/capabilities/capabilities.ts
210
- ╭─[ ../../libs/contracts/src/capabilities/capabilities.ts:1:33 ]
199
+ ../../libs/contracts/src/experiments/evaluator.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/experiments/evaluator.ts
200
+ ╭─[ ../../libs/contracts/src/experiments/evaluator.ts:1:28 ]
211
201
  │
212
- 1 │ import { compareVersions } from 'compare-versions';
213
-  │ ─────────┬────────
214
-  │ ╰────────── Module not found, treating it as an external dependency
202
+ 1 │ import { createHash } from 'node:crypto';
203
+  │ ──────┬──────
204
+  │ ╰──────── Module not found, treating it as an external dependency
215
205
   │
216
206
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
217
207
  ───╯
@@ -226,16 +216,6 @@ $ tsdown
226
216
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
227
217
  ───╯
228
218
 
229
- ../../libs/contracts/src/telemetry/spec.ts (93:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/telemetry/spec.ts
230
- ╭─[ ../../libs/contracts/src/telemetry/spec.ts:93:33 ]
231
- │
232
- 93 │ import { compareVersions } from 'compare-versions';
233
-  │ ─────────┬────────
234
-  │ ╰────────── Module not found, treating it as an external dependency
235
-  │
236
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
237
- ────╯
238
-
239
219
  ../../libs/contracts/src/presentations/transform-engine.ts (4:28) [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/src/presentations/transform-engine.ts
240
220
  â•­─[ ../../libs/contracts/src/presentations/transform-engine.ts:4:29 ]
241
221
  │
@@ -246,6 +226,16 @@ $ tsdown
246
226
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
247
227
  ───╯
248
228
 
229
+ ../../libs/contracts/src/forms/forms.ts (202:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/forms/forms.ts
230
+ ╭─[ ../../libs/contracts/src/forms/forms.ts:202:33 ]
231
+ │
232
+ 202 │ import { compareVersions } from 'compare-versions';
233
+  │ ─────────┬────────
234
+  │ ╰────────── Module not found, treating it as an external dependency
235
+  │
236
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
237
+ ─────╯
238
+
249
239
  ../../libs/contracts/src/tests/runner.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'assert' in ../../libs/contracts/src/tests/runner.ts
250
240
  â•­─[ ../../libs/contracts/src/tests/runner.ts:1:33 ]
251
241
  │
@@ -276,15 +266,25 @@ $ tsdown
276
266
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
277
267
  ───╯
278
268
 
279
- ../../libs/contracts/src/forms/forms.ts (202:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/forms/forms.ts
280
- ╭─[ ../../libs/contracts/src/forms/forms.ts:202:33 ]
281
- │
282
- 202 │ import { compareVersions } from 'compare-versions';
283
-  │ ─────────┬────────
284
-  │ ╰────────── Module not found, treating it as an external dependency
285
-  │
286
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
287
- ─────╯
269
+ ../../libs/contracts/src/capabilities/capabilities.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/capabilities/capabilities.ts
270
+ ╭─[ ../../libs/contracts/src/capabilities/capabilities.ts:1:33 ]
271
+ │
272
+ 1 │ import { compareVersions } from 'compare-versions';
273
+  │ ─────────┬────────
274
+  │ ╰────────── Module not found, treating it as an external dependency
275
+  │
276
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
277
+ ───╯
278
+
279
+ ../../libs/contracts/src/telemetry/spec.ts (93:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/telemetry/spec.ts
280
+ ╭─[ ../../libs/contracts/src/telemetry/spec.ts:93:33 ]
281
+ │
282
+ 93 │ import { compareVersions } from 'compare-versions';
283
+  │ ─────────┬────────
284
+  │ ╰────────── Module not found, treating it as an external dependency
285
+  │
286
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
287
+ ────╯
288
288
 
289
289
  ../../libs/contracts/src/workflow/runner.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/workflow/runner.ts
290
290
  â•­─[ ../../libs/contracts/src/workflow/runner.ts:1:28 ]
@@ -316,4 +316,4 @@ $ tsdown
316
316
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
317
317
  ───╯
318
318
 
319
- ✔ Build complete in 23159ms
319
+ ✔ Build complete in 34591ms
@@ -178,6 +178,16 @@ $ tsdown
178
178
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
179
179
  ───╯
180
180
 
181
+ ../../libs/contracts/src/registry.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/registry.ts
182
+ ╭─[ ../../libs/contracts/src/registry.ts:1:33 ]
183
+ │
184
+ 1 │ import { compareVersions } from 'compare-versions';
185
+  │ ─────────┬────────
186
+  │ ╰────────── Module not found, treating it as an external dependency
187
+  │
188
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
189
+ ───╯
190
+
181
191
  ../../libs/contracts/src/promptRegistry.ts (3:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/promptRegistry.ts
182
192
  â•­─[ ../../libs/contracts/src/promptRegistry.ts:3:33 ]
183
193
  │
@@ -208,8 +218,8 @@ $ tsdown
208
218
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
209
219
  ───╯
210
220
 
211
- ../../libs/contracts/src/registry.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/registry.ts
212
- ╭─[ ../../libs/contracts/src/registry.ts:1:33 ]
221
+ ../../libs/contracts/src/capabilities/capabilities.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/capabilities/capabilities.ts
222
+ ╭─[ ../../libs/contracts/src/capabilities/capabilities.ts:1:33 ]
213
223
  │
214
224
  1 │ import { compareVersions } from 'compare-versions';
215
225
   │ ─────────┬────────
@@ -218,12 +228,12 @@ $ tsdown
218
228
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
219
229
  ───╯
220
230
 
221
- ../../libs/contracts/src/capabilities/capabilities.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/capabilities/capabilities.ts
222
- ╭─[ ../../libs/contracts/src/capabilities/capabilities.ts:1:33 ]
231
+ ../../libs/contracts/src/presentations/transform-engine.ts (4:28) [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/src/presentations/transform-engine.ts
232
+ ╭─[ ../../libs/contracts/src/presentations/transform-engine.ts:4:29 ]
223
233
  │
224
- 1 │ import { compareVersions } from 'compare-versions';
225
-  │ ─────────┬────────
226
-  │ ╰────────── Module not found, treating it as an external dependency
234
+ 4 │ import TurndownService from 'turndown';
235
+  │ ─────┬────
236
+  │ ╰────── Module not found, treating it as an external dependency
227
237
   │
228
238
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
229
239
  ───╯
@@ -238,32 +248,12 @@ $ tsdown
238
248
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
239
249
  ───╯
240
250
 
241
- ../../libs/contracts/src/forms/forms.ts (202:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/forms/forms.ts
242
- ╭─[ ../../libs/contracts/src/forms/forms.ts:202:33 ]
243
- │
244
- 202 │ import { compareVersions } from 'compare-versions';
245
-  │ ─────────┬────────
246
-  │ ╰────────── Module not found, treating it as an external dependency
247
-  │
248
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
249
- ─────╯
250
-
251
- ../../libs/contracts/src/presentations/transform-engine.ts (4:28) [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/src/presentations/transform-engine.ts
252
- ╭─[ ../../libs/contracts/src/presentations/transform-engine.ts:4:29 ]
253
- │
254
- 4 │ import TurndownService from 'turndown';
255
-  │ ─────┬────
256
-  │ ╰────── Module not found, treating it as an external dependency
257
-  │
258
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
259
- ───╯
260
-
261
- ../../libs/contracts/src/telemetry/tracker.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/src/telemetry/tracker.ts
262
- ╭─[ ../../libs/contracts/src/telemetry/tracker.ts:1:28 ]
251
+ ../../libs/contracts/src/tests/spec.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/tests/spec.ts
252
+ ╭─[ ../../libs/contracts/src/tests/spec.ts:1:33 ]
263
253
  │
264
- 1 │ import { randomUUID } from 'crypto';
265
-  │ ────┬───
266
-  │ ╰───── Module not found, treating it as an external dependency
254
+ 1 │ import { compareVersions } from 'compare-versions';
255
+  │ ─────────┬────────
256
+  │ ╰────────── Module not found, treating it as an external dependency
267
257
   │
268
258
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
269
259
  ───╯
@@ -278,16 +268,26 @@ $ tsdown
278
268
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
279
269
  ────╯
280
270
 
281
- ../../libs/contracts/src/tests/spec.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/tests/spec.ts
282
- ╭─[ ../../libs/contracts/src/tests/spec.ts:1:33 ]
271
+ ../../libs/contracts/src/telemetry/tracker.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/src/telemetry/tracker.ts
272
+ ╭─[ ../../libs/contracts/src/telemetry/tracker.ts:1:28 ]
283
273
  │
284
- 1 │ import { compareVersions } from 'compare-versions';
285
-  │ ─────────┬────────
286
-  │ ╰────────── Module not found, treating it as an external dependency
274
+ 1 │ import { randomUUID } from 'crypto';
275
+  │ ────┬───
276
+  │ ╰───── Module not found, treating it as an external dependency
287
277
   │
288
278
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
289
279
  ───╯
290
280
 
281
+ ../../libs/contracts/src/forms/forms.ts (202:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/forms/forms.ts
282
+ ╭─[ ../../libs/contracts/src/forms/forms.ts:202:33 ]
283
+ │
284
+ 202 │ import { compareVersions } from 'compare-versions';
285
+  │ ─────────┬────────
286
+  │ ╰────────── Module not found, treating it as an external dependency
287
+  │
288
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
289
+ ─────╯
290
+
291
291
  ../../libs/contracts/src/workflow/runner.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/workflow/runner.ts
292
292
  â•­─[ ../../libs/contracts/src/workflow/runner.ts:1:28 ]
293
293
  │
@@ -318,4 +318,4 @@ $ tsdown
318
318
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
319
319
  ───╯
320
320
 
321
- ✔ Build complete in 33907ms
321
+ ✔ Build complete in 36588ms
package/CHANGELOG.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # @contractspec/example.personalization
2
2
 
3
- ## 0.0.0-canary-20260119224109
3
+ ## 0.0.0-canary-20260119224015
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies [c560ee7]
8
- - @contractspec/lib.contracts@0.0.0-canary-20260119224109
9
- - @contractspec/lib.overlay-engine@0.0.0-canary-20260119224109
10
- - @contractspec/lib.personalization@0.0.0-canary-20260119224109
11
- - @contractspec/lib.workflow-composer@0.0.0-canary-20260119224109
8
+ - @contractspec/lib.contracts@0.0.0-canary-20260119224015
9
+ - @contractspec/lib.overlay-engine@0.0.0-canary-20260119224015
10
+ - @contractspec/lib.personalization@0.0.0-canary-20260119224015
11
+ - @contractspec/lib.workflow-composer@0.0.0-canary-20260119224015
12
12
 
13
13
  ## 1.48.0
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.personalization",
3
- "version": "0.0.0-canary-20260119224109",
3
+ "version": "0.0.0-canary-20260119224015",
4
4
  "description": "Personalization examples: behavior tracking, overlay customization, workflow extension.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -28,10 +28,10 @@
28
28
  "test": "bun test"
29
29
  },
30
30
  "dependencies": {
31
- "@contractspec/lib.personalization": "0.0.0-canary-20260119224109",
32
- "@contractspec/lib.overlay-engine": "0.0.0-canary-20260119224109",
33
- "@contractspec/lib.workflow-composer": "0.0.0-canary-20260119224109",
34
- "@contractspec/lib.contracts": "0.0.0-canary-20260119224109",
31
+ "@contractspec/lib.personalization": "0.0.0-canary-20260119224015",
32
+ "@contractspec/lib.overlay-engine": "0.0.0-canary-20260119224015",
33
+ "@contractspec/lib.workflow-composer": "0.0.0-canary-20260119224015",
34
+ "@contractspec/lib.contracts": "0.0.0-canary-20260119224015",
35
35
  "@contractspec/lib.logger": "1.48.0"
36
36
  },
37
37
  "devDependencies": {