@contractspec/example.kb-update-pipeline 3.7.17 → 3.7.18

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.
Files changed (45) hide show
  1. package/.turbo/turbo-build.log +45 -45
  2. package/CHANGELOG.md +10 -0
  3. package/dist/browser/docs/index.js +3 -27
  4. package/dist/browser/docs/kb-update-pipeline.docblock.js +3 -27
  5. package/dist/browser/entities/index.js +1 -56
  6. package/dist/browser/entities/models.js +1 -56
  7. package/dist/browser/events.js +1 -128
  8. package/dist/browser/example.js +1 -35
  9. package/dist/browser/handlers/index.js +1 -109
  10. package/dist/browser/handlers/memory.handlers.js +1 -109
  11. package/dist/browser/index.js +3 -636
  12. package/dist/browser/kb-update-pipeline.feature.js +1 -68
  13. package/dist/browser/operations/index.js +1 -199
  14. package/dist/browser/operations/pipeline.js +1 -199
  15. package/dist/browser/presentations.js +1 -123
  16. package/dist/browser/tests/operations.test-spec.js +1 -85
  17. package/dist/docs/index.js +3 -27
  18. package/dist/docs/kb-update-pipeline.docblock.js +3 -27
  19. package/dist/entities/index.js +1 -56
  20. package/dist/entities/models.js +1 -56
  21. package/dist/events.js +1 -128
  22. package/dist/example.js +1 -35
  23. package/dist/handlers/index.js +1 -109
  24. package/dist/handlers/memory.handlers.js +1 -109
  25. package/dist/index.js +3 -636
  26. package/dist/kb-update-pipeline.feature.js +1 -68
  27. package/dist/node/docs/index.js +3 -27
  28. package/dist/node/docs/kb-update-pipeline.docblock.js +3 -27
  29. package/dist/node/entities/index.js +1 -56
  30. package/dist/node/entities/models.js +1 -56
  31. package/dist/node/events.js +1 -128
  32. package/dist/node/example.js +1 -35
  33. package/dist/node/handlers/index.js +1 -109
  34. package/dist/node/handlers/memory.handlers.js +1 -109
  35. package/dist/node/index.js +3 -636
  36. package/dist/node/kb-update-pipeline.feature.js +1 -68
  37. package/dist/node/operations/index.js +1 -199
  38. package/dist/node/operations/pipeline.js +1 -199
  39. package/dist/node/presentations.js +1 -123
  40. package/dist/node/tests/operations.test-spec.js +1 -85
  41. package/dist/operations/index.js +1 -199
  42. package/dist/operations/pipeline.js +1 -199
  43. package/dist/presentations.js +1 -123
  44. package/dist/tests/operations.test-spec.js +1 -85
  45. package/package.json +5 -5
@@ -1,86 +1,2 @@
1
1
  // @bun
2
- // src/tests/operations.test-spec.ts
3
- import { defineTestSpec } from "@contractspec/lib.contracts-spec/tests";
4
- var RunWatchTest = defineTestSpec({
5
- meta: {
6
- key: "kbPipeline.runWatch.test",
7
- version: "1.0.0",
8
- stability: "experimental",
9
- owners: ["@example.kb-update-pipeline"],
10
- description: "Test for run watch operation",
11
- tags: ["test"]
12
- },
13
- target: {
14
- type: "operation",
15
- operation: { key: "kbPipeline.runWatch", version: "1.0.0" }
16
- },
17
- scenarios: [
18
- {
19
- key: "success",
20
- when: { operation: { key: "kbPipeline.runWatch" } },
21
- then: [{ type: "expectOutput", match: {} }]
22
- },
23
- {
24
- key: "error",
25
- when: { operation: { key: "kbPipeline.runWatch" } },
26
- then: [{ type: "expectError" }]
27
- }
28
- ]
29
- });
30
- var CreateReviewTaskTest = defineTestSpec({
31
- meta: {
32
- key: "kbPipeline.createReviewTask.test",
33
- version: "1.0.0",
34
- stability: "experimental",
35
- owners: ["@example.kb-update-pipeline"],
36
- description: "Test for creating review task",
37
- tags: ["test"]
38
- },
39
- target: {
40
- type: "operation",
41
- operation: { key: "kbPipeline.createReviewTask", version: "1.0.0" }
42
- },
43
- scenarios: [
44
- {
45
- key: "success",
46
- when: { operation: { key: "kbPipeline.createReviewTask" } },
47
- then: [{ type: "expectOutput", match: {} }]
48
- },
49
- {
50
- key: "error",
51
- when: { operation: { key: "kbPipeline.createReviewTask" } },
52
- then: [{ type: "expectError" }]
53
- }
54
- ]
55
- });
56
- var SubmitDecisionTest = defineTestSpec({
57
- meta: {
58
- key: "kbPipeline.submitDecision.test",
59
- version: "1.0.0",
60
- stability: "experimental",
61
- owners: ["@example.kb-update-pipeline"],
62
- description: "Test for submitting decision",
63
- tags: ["test"]
64
- },
65
- target: {
66
- type: "operation",
67
- operation: { key: "kbPipeline.submitDecision", version: "1.0.0" }
68
- },
69
- scenarios: [
70
- {
71
- key: "success",
72
- when: { operation: { key: "kbPipeline.submitDecision" } },
73
- then: [{ type: "expectOutput", match: {} }]
74
- },
75
- {
76
- key: "error",
77
- when: { operation: { key: "kbPipeline.submitDecision" } },
78
- then: [{ type: "expectError" }]
79
- }
80
- ]
81
- });
82
- export {
83
- SubmitDecisionTest,
84
- RunWatchTest,
85
- CreateReviewTaskTest
86
- };
2
+ import{defineTestSpec as g}from"@contractspec/lib.contracts-spec/tests";var j=g({meta:{key:"kbPipeline.runWatch.test",version:"1.0.0",stability:"experimental",owners:["@example.kb-update-pipeline"],description:"Test for run watch operation",tags:["test"]},target:{type:"operation",operation:{key:"kbPipeline.runWatch",version:"1.0.0"}},scenarios:[{key:"success",when:{operation:{key:"kbPipeline.runWatch"}},then:[{type:"expectOutput",match:{}}]},{key:"error",when:{operation:{key:"kbPipeline.runWatch"}},then:[{type:"expectError"}]}]}),k=g({meta:{key:"kbPipeline.createReviewTask.test",version:"1.0.0",stability:"experimental",owners:["@example.kb-update-pipeline"],description:"Test for creating review task",tags:["test"]},target:{type:"operation",operation:{key:"kbPipeline.createReviewTask",version:"1.0.0"}},scenarios:[{key:"success",when:{operation:{key:"kbPipeline.createReviewTask"}},then:[{type:"expectOutput",match:{}}]},{key:"error",when:{operation:{key:"kbPipeline.createReviewTask"}},then:[{type:"expectError"}]}]}),m=g({meta:{key:"kbPipeline.submitDecision.test",version:"1.0.0",stability:"experimental",owners:["@example.kb-update-pipeline"],description:"Test for submitting decision",tags:["test"]},target:{type:"operation",operation:{key:"kbPipeline.submitDecision",version:"1.0.0"}},scenarios:[{key:"success",when:{operation:{key:"kbPipeline.submitDecision"}},then:[{type:"expectOutput",match:{}}]},{key:"error",when:{operation:{key:"kbPipeline.submitDecision"}},then:[{type:"expectError"}]}]});export{m as SubmitDecisionTest,j as RunWatchTest,k as CreateReviewTaskTest};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.kb-update-pipeline",
3
- "version": "3.7.17",
3
+ "version": "3.7.18",
4
4
  "description": "Example: KB update automation pipeline with HITL review and auditability.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -113,20 +113,20 @@
113
113
  "dev": "contractspec-bun-build dev",
114
114
  "clean": "rimraf dist .turbo",
115
115
  "lint": "bun lint:fix",
116
- "lint:fix": "biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .",
117
- "lint:check": "biome check .",
116
+ "lint:fix": "node ../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../scripts/biome.cjs check --write .",
117
+ "lint:check": "node ../../../scripts/biome.cjs check .",
118
118
  "test": "bun test",
119
119
  "prebuild": "contractspec-bun-build prebuild",
120
120
  "typecheck": "tsc --noEmit"
121
121
  },
122
122
  "dependencies": {
123
- "@contractspec/lib.contracts-spec": "5.1.0",
123
+ "@contractspec/lib.contracts-spec": "5.2.0",
124
124
  "@contractspec/lib.schema": "3.7.14"
125
125
  },
126
126
  "devDependencies": {
127
127
  "@contractspec/tool.typescript": "3.7.13",
128
128
  "typescript": "^5.9.3",
129
- "@contractspec/tool.bun": "3.7.13"
129
+ "@contractspec/tool.bun": "3.7.14"
130
130
  },
131
131
  "publishConfig": {
132
132
  "access": "public",