@contractspec/example.personalization 1.55.0 → 1.56.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.
@@ -228,20 +228,20 @@ $ tsdown
228
228
  ℹ dist/libs/contracts/src/workflow/state.d.ts 0.02 kB │ gzip: 0.04 kB
229
229
  ℹ dist/libs/contracts/src/workspace-config/contractsrc-schema.d.ts 0.01 kB │ gzip: 0.03 kB
230
230
  ℹ 221 files, total: 66.87 kB
231
- ../../libs/contracts/src/experiments/evaluator.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/experiments/evaluator.ts
232
- ╭─[ ../../libs/contracts/src/experiments/evaluator.ts:1:28 ]
233
- │
234
- 1 │ import { createHash } from 'node:crypto';
235
-  │ ──────┬──────
236
-  │ ╰──────── Module not found, treating it as an external dependency
237
-  │
238
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
239
- ───╯
231
+ ../../libs/contracts/src/migrations.ts (57:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/migrations.ts
232
+ ╭─[ ../../libs/contracts/src/migrations.ts:57:33 ]
233
+ │
234
+ 57 │ import { compareVersions } from 'compare-versions';
235
+  │ ─────────┬────────
236
+  │ ╰────────── Module not found, treating it as an external dependency
237
+  │
238
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
239
+ ────╯
240
240
 
241
- ../../libs/contracts/src/openapi.ts (8:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/openapi.ts
242
- ╭─[ ../../libs/contracts/src/openapi.ts:8:33 ]
241
+ ../../libs/contracts/src/promptRegistry.ts (3:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/promptRegistry.ts
242
+ ╭─[ ../../libs/contracts/src/promptRegistry.ts:3:33 ]
243
243
  │
244
- 8 │ import { compareVersions } from 'compare-versions';
244
+ 3 │ import { compareVersions } from 'compare-versions';
245
245
   │ ─────────┬────────
246
246
   │ ╰────────── Module not found, treating it as an external dependency
247
247
   │
@@ -258,56 +258,36 @@ $ tsdown
258
258
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
259
259
  ───╯
260
260
 
261
- ../../libs/contracts/src/promptRegistry.ts (3:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/promptRegistry.ts
262
- ╭─[ ../../libs/contracts/src/promptRegistry.ts:3:33 ]
261
+ ../../libs/contracts/src/experiments/evaluator.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/experiments/evaluator.ts
262
+ ╭─[ ../../libs/contracts/src/experiments/evaluator.ts:1:28 ]
263
263
  │
264
- 3 │ import { compareVersions } from 'compare-versions';
265
-  │ ─────────┬────────
266
-  │ ╰────────── Module not found, treating it as an external dependency
264
+ 1 │ import { createHash } from 'node:crypto';
265
+  │ ──────┬──────
266
+  │ ╰──────── Module not found, treating it as an external dependency
267
267
   │
268
268
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
269
269
  ───╯
270
270
 
271
- ../../libs/contracts/src/migrations.ts (57:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/migrations.ts
272
- ╭─[ ../../libs/contracts/src/migrations.ts:57:33 ]
273
- │
274
- 57 │ import { compareVersions } from 'compare-versions';
275
-  │ ─────────┬────────
276
-  │ ╰────────── Module not found, treating it as an external dependency
277
-  │
278
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
279
- ────╯
280
-
281
- ../../libs/contracts/src/capabilities/capabilities.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/capabilities/capabilities.ts
282
- ╭─[ ../../libs/contracts/src/capabilities/capabilities.ts:1:33 ]
271
+ ../../libs/contracts/src/openapi.ts (8:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/openapi.ts
272
+ ╭─[ ../../libs/contracts/src/openapi.ts:8:33 ]
283
273
  │
284
- 1 │ import { compareVersions } from 'compare-versions';
274
+ 8 │ import { compareVersions } from 'compare-versions';
285
275
   │ ─────────┬────────
286
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
 
291
- ../../libs/contracts/src/presentations/transform-engine.ts (4:28) [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/src/presentations/transform-engine.ts
292
- ╭─[ ../../libs/contracts/src/presentations/transform-engine.ts:4:29 ]
281
+ ../../libs/contracts/src/capabilities/capabilities.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/capabilities/capabilities.ts
282
+ ╭─[ ../../libs/contracts/src/capabilities/capabilities.ts:1:33 ]
293
283
  │
294
- 4 │ import TurndownService from 'turndown';
295
-  │ ─────┬────
296
-  │ ╰────── Module not found, treating it as an external dependency
284
+ 1 │ import { compareVersions } from 'compare-versions';
285
+  │ ─────────┬────────
286
+  │ ╰────────── Module not found, treating it as an external dependency
297
287
   │
298
288
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
299
289
  ───╯
300
290
 
301
- ../../libs/contracts/src/telemetry/spec.ts (93:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/telemetry/spec.ts
302
- ╭─[ ../../libs/contracts/src/telemetry/spec.ts:93:33 ]
303
- │
304
- 93 │ import { compareVersions } from 'compare-versions';
305
-  │ ─────────┬────────
306
-  │ ╰────────── Module not found, treating it as an external dependency
307
-  │
308
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
309
- ────╯
310
-
311
291
  ../../libs/contracts/src/forms/forms.ts (202:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/forms/forms.ts
312
292
  â•­─[ ../../libs/contracts/src/forms/forms.ts:202:33 ]
313
293
  │
@@ -318,12 +298,12 @@ $ tsdown
318
298
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
319
299
  ─────╯
320
300
 
321
- ../../libs/contracts/src/telemetry/tracker.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/src/telemetry/tracker.ts
322
- ╭─[ ../../libs/contracts/src/telemetry/tracker.ts:1:28 ]
301
+ ../../libs/contracts/src/workflow/runner.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/workflow/runner.ts
302
+ ╭─[ ../../libs/contracts/src/workflow/runner.ts:1:28 ]
323
303
  │
324
- 1 │ import { randomUUID } from 'crypto';
325
-  │ ────┬───
326
-  │ ╰───── Module not found, treating it as an external dependency
304
+ 1 │ import { randomUUID } from 'node:crypto';
305
+  │ ──────┬──────
306
+  │ ╰──────── Module not found, treating it as an external dependency
327
307
   │
328
308
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
329
309
  ───╯
@@ -348,16 +328,36 @@ $ tsdown
348
328
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
349
329
  ───╯
350
330
 
351
- ../../libs/contracts/src/workflow/runner.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:crypto' in ../../libs/contracts/src/workflow/runner.ts
352
- ╭─[ ../../libs/contracts/src/workflow/runner.ts:1:28 ]
331
+ ../../libs/contracts/src/presentations/transform-engine.ts (4:28) [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/src/presentations/transform-engine.ts
332
+ ╭─[ ../../libs/contracts/src/presentations/transform-engine.ts:4:29 ]
353
333
  │
354
- 1 │ import { randomUUID } from 'node:crypto';
355
-  │ ──────┬──────
356
-  │ ╰──────── Module not found, treating it as an external dependency
334
+ 4 │ import TurndownService from 'turndown';
335
+  │ ─────┬────
336
+  │ ╰────── Module not found, treating it as an external dependency
357
337
   │
358
338
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
359
339
  ───╯
360
340
 
341
+ ../../libs/contracts/src/telemetry/tracker.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/src/telemetry/tracker.ts
342
+ ╭─[ ../../libs/contracts/src/telemetry/tracker.ts:1:28 ]
343
+ │
344
+ 1 │ import { randomUUID } from 'crypto';
345
+  │ ────┬───
346
+  │ ╰───── Module not found, treating it as an external dependency
347
+  │
348
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
349
+ ───╯
350
+
351
+ ../../libs/contracts/src/telemetry/spec.ts (93:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/telemetry/spec.ts
352
+ ╭─[ ../../libs/contracts/src/telemetry/spec.ts:93:33 ]
353
+ │
354
+ 93 │ import { compareVersions } from 'compare-versions';
355
+  │ ─────────┬────────
356
+  │ ╰────────── Module not found, treating it as an external dependency
357
+  │
358
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
359
+ ────╯
360
+
361
361
  ../../libs/contracts/src/integrations/secrets/provider.ts (1:23) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:buffer' in ../../libs/contracts/src/integrations/secrets/provider.ts
362
362
  â•­─[ ../../libs/contracts/src/integrations/secrets/provider.ts:1:24 ]
363
363
  │
@@ -378,4 +378,4 @@ $ tsdown
378
378
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
379
379
  ───╯
380
380
 
381
- ✔ Build complete in 27057ms
381
+ ✔ Build complete in 27631ms
@@ -8,7 +8,7 @@
8
8
  ℹ target: esnext
9
9
  ℹ tsconfig: tsconfig.json
10
10
  ℹ Build start
11
- ℹ Cleaning 284 files
11
+ ℹ Cleaning 276 files
12
12
  ℹ dist/workflow-extension.js 1.67 kB │ gzip: 0.71 kB
13
13
  ℹ dist/overlay-customization.js 1.57 kB │ gzip: 0.68 kB
14
14
  ℹ dist/docs/personalization.docblock.js 1.48 kB │ gzip: 0.70 kB
@@ -285,8 +285,28 @@
285
285
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
286
286
  ───╯
287
287
 
288
- ../../libs/contracts/src/capabilities/capabilities.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/capabilities/capabilities.ts
289
- ╭─[ ../../libs/contracts/src/capabilities/capabilities.ts:1:33 ]
288
+ ../../libs/contracts/src/presentations/transform-engine.ts (4:28) [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/src/presentations/transform-engine.ts
289
+ ╭─[ ../../libs/contracts/src/presentations/transform-engine.ts:4:29 ]
290
+ │
291
+ 4 │ import TurndownService from 'turndown';
292
+  │ ─────┬────
293
+  │ ╰────── Module not found, treating it as an external dependency
294
+  │
295
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
296
+ ───╯
297
+
298
+ ../../libs/contracts/src/tests/runner.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'assert' in ../../libs/contracts/src/tests/runner.ts
299
+ ╭─[ ../../libs/contracts/src/tests/runner.ts:1:33 ]
300
+ │
301
+ 1 │ import { deepStrictEqual } from 'assert';
302
+  │ ────┬───
303
+  │ ╰───── Module not found, treating it as an external dependency
304
+  │
305
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
306
+ ───╯
307
+
308
+ ../../libs/contracts/src/tests/spec.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/tests/spec.ts
309
+ ╭─[ ../../libs/contracts/src/tests/spec.ts:1:33 ]
290
310
  │
291
311
  1 │ import { compareVersions } from 'compare-versions';
292
312
   │ ─────────┬────────
@@ -305,26 +325,6 @@
305
325
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
306
326
  ───╯
307
327
 
308
- ../../libs/contracts/src/tests/runner.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'assert' in ../../libs/contracts/src/tests/runner.ts
309
- ╭─[ ../../libs/contracts/src/tests/runner.ts:1:33 ]
310
- │
311
- 1 │ import { deepStrictEqual } from 'assert';
312
-  │ ────┬───
313
-  │ ╰───── Module not found, treating it as an external dependency
314
-  │
315
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
316
- ───╯
317
-
318
- ../../libs/contracts/src/telemetry/spec.ts (93:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/telemetry/spec.ts
319
- ╭─[ ../../libs/contracts/src/telemetry/spec.ts:93:33 ]
320
- │
321
- 93 │ import { compareVersions } from 'compare-versions';
322
-  │ ─────────┬────────
323
-  │ ╰────────── Module not found, treating it as an external dependency
324
-  │
325
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
326
- ────╯
327
-
328
328
  ../../libs/contracts/src/telemetry/tracker.ts (1:27) [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/src/telemetry/tracker.ts
329
329
  â•­─[ ../../libs/contracts/src/telemetry/tracker.ts:1:28 ]
330
330
  │
@@ -345,8 +345,8 @@
345
345
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
346
346
  ─────╯
347
347
 
348
- ../../libs/contracts/src/tests/spec.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/tests/spec.ts
349
- ╭─[ ../../libs/contracts/src/tests/spec.ts:1:33 ]
348
+ ../../libs/contracts/src/capabilities/capabilities.ts (1:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/capabilities/capabilities.ts
349
+ ╭─[ ../../libs/contracts/src/capabilities/capabilities.ts:1:33 ]
350
350
  │
351
351
  1 │ import { compareVersions } from 'compare-versions';
352
352
   │ ─────────┬────────
@@ -355,15 +355,15 @@
355
355
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
356
356
  ───╯
357
357
 
358
- ../../libs/contracts/src/presentations/transform-engine.ts (4:28) [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/src/presentations/transform-engine.ts
359
- ╭─[ ../../libs/contracts/src/presentations/transform-engine.ts:4:29 ]
360
- │
361
- 4 │ import TurndownService from 'turndown';
362
-  │ ─────┬────
363
-  │ ╰────── Module not found, treating it as an external dependency
364
-  │
365
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
366
- ───╯
358
+ ../../libs/contracts/src/telemetry/spec.ts (93:32) [UNRESOLVED_IMPORT] Warning: Could not resolve 'compare-versions' in ../../libs/contracts/src/telemetry/spec.ts
359
+ ╭─[ ../../libs/contracts/src/telemetry/spec.ts:93:33 ]
360
+ │
361
+ 93 │ import { compareVersions } from 'compare-versions';
362
+  │ ─────────┬────────
363
+  │ ╰────────── Module not found, treating it as an external dependency
364
+  │
365
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
366
+ ────╯
367
367
 
368
368
  ../../libs/contracts/src/integrations/secrets/provider.ts (1:23) [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:buffer' in ../../libs/contracts/src/integrations/secrets/provider.ts
369
369
  â•­─[ ../../libs/contracts/src/integrations/secrets/provider.ts:1:24 ]
@@ -385,4 +385,4 @@
385
385
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
386
386
  ───╯
387
387
 
388
- ✔ Build complete in 12315ms
388
+ ✔ Build complete in 7078ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @contractspec/example.personalization
2
2
 
3
+ ## 1.56.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fix: release
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @contractspec/lib.workflow-composer@1.56.0
13
+ - @contractspec/lib.personalization@1.56.0
14
+ - @contractspec/lib.overlay-engine@1.56.0
15
+ - @contractspec/lib.contracts@1.56.0
16
+ - @contractspec/lib.logger@1.56.0
17
+
3
18
  ## 1.55.0
4
19
 
5
20
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.personalization",
3
- "version": "1.55.0",
3
+ "version": "1.56.0",
4
4
  "description": "Personalization examples: behavior tracking, overlay customization, workflow extension.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -28,15 +28,15 @@
28
28
  "test": "bun test"
29
29
  },
30
30
  "dependencies": {
31
- "@contractspec/lib.personalization": "1.55.0",
32
- "@contractspec/lib.overlay-engine": "1.55.0",
33
- "@contractspec/lib.workflow-composer": "1.55.0",
34
- "@contractspec/lib.contracts": "1.55.0",
35
- "@contractspec/lib.logger": "1.55.0"
31
+ "@contractspec/lib.personalization": "1.56.0",
32
+ "@contractspec/lib.overlay-engine": "1.56.0",
33
+ "@contractspec/lib.workflow-composer": "1.56.0",
34
+ "@contractspec/lib.contracts": "1.56.0",
35
+ "@contractspec/lib.logger": "1.56.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@contractspec/tool.tsdown": "1.55.0",
39
- "@contractspec/tool.typescript": "1.55.0",
38
+ "@contractspec/tool.tsdown": "1.56.0",
39
+ "@contractspec/tool.typescript": "1.56.0",
40
40
  "tsdown": "^0.19.0",
41
41
  "typescript": "^5.9.3"
42
42
  },