executable-stories-formatters 0.7.15 → 0.9.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.
- package/dist/adapters.d.cts +1 -1
- package/dist/adapters.d.ts +1 -1
- package/dist/cli.js +1121 -18
- package/dist/cli.js.map +1 -1
- package/dist/{index-BiAYcEiz.d.cts → index-it3Pkmqv.d.cts} +159 -4
- package/dist/{index-BiAYcEiz.d.ts → index-it3Pkmqv.d.ts} +159 -4
- package/dist/index.cjs +937 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +216 -126
- package/dist/index.d.ts +216 -126
- package/dist/index.js +929 -14
- package/dist/index.js.map +1 -1
- package/package.json +3 -5
- package/schemas/raw-run.schema.json +49 -2
- package/bin/intent.js +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "executable-stories-formatters",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Cucumber-compatible report formats (HTML, Markdown, JUnit XML, Cucumber JSON) for executable-stories test results.",
|
|
5
5
|
"author": "Jag Reehal <jag@jagreehal.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,14 +31,12 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"bin": {
|
|
34
|
-
"executable-stories": "./dist/cli.js"
|
|
35
|
-
"intent": "./bin/intent.js"
|
|
34
|
+
"executable-stories": "./dist/cli.js"
|
|
36
35
|
},
|
|
37
36
|
"files": [
|
|
38
37
|
"dist",
|
|
39
38
|
"skills",
|
|
40
|
-
"schemas"
|
|
41
|
-
"bin"
|
|
39
|
+
"schemas"
|
|
42
40
|
],
|
|
43
41
|
"engines": {
|
|
44
42
|
"node": ">=22"
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
},
|
|
404
404
|
"RawAttachment": {
|
|
405
405
|
"type": "object",
|
|
406
|
-
"description": "A test attachment (screenshot, log, artifact).
|
|
406
|
+
"description": "A test attachment (screenshot, log, artifact). Either path-based or inline (body); the ACL decides embed-vs-link.",
|
|
407
407
|
"properties": {
|
|
408
408
|
"name": {
|
|
409
409
|
"type": "string",
|
|
@@ -416,9 +416,40 @@
|
|
|
416
416
|
"path": {
|
|
417
417
|
"type": "string",
|
|
418
418
|
"description": "File path (relative to projectRoot or absolute)."
|
|
419
|
+
},
|
|
420
|
+
"body": {
|
|
421
|
+
"type": "string",
|
|
422
|
+
"description": "Inline content (e.g., base64-encoded image or UTF-8 text)."
|
|
423
|
+
},
|
|
424
|
+
"encoding": {
|
|
425
|
+
"type": "string",
|
|
426
|
+
"enum": ["BASE64", "IDENTITY"],
|
|
427
|
+
"description": "Content encoding for an inline body."
|
|
428
|
+
},
|
|
429
|
+
"charset": {
|
|
430
|
+
"type": "string",
|
|
431
|
+
"description": "Character set for IDENTITY text bodies (default utf-8)."
|
|
432
|
+
},
|
|
433
|
+
"fileName": {
|
|
434
|
+
"type": "string",
|
|
435
|
+
"description": "Actual artifact filename (distinct from the logical name)."
|
|
436
|
+
},
|
|
437
|
+
"byteLength": {
|
|
438
|
+
"type": "integer",
|
|
439
|
+
"minimum": 0,
|
|
440
|
+
"description": "Size in bytes, used for embed-vs-link decisions."
|
|
441
|
+
},
|
|
442
|
+
"stepIndex": {
|
|
443
|
+
"type": "integer",
|
|
444
|
+
"minimum": 0,
|
|
445
|
+
"description": "Step index this attachment belongs to (undefined = test-case level)."
|
|
446
|
+
},
|
|
447
|
+
"stepId": {
|
|
448
|
+
"type": "string",
|
|
449
|
+
"description": "Stable step ID this attachment belongs to (preferred over stepIndex)."
|
|
419
450
|
}
|
|
420
451
|
},
|
|
421
|
-
"required": ["name", "mediaType"
|
|
452
|
+
"required": ["name", "mediaType"],
|
|
422
453
|
"additionalProperties": false
|
|
423
454
|
},
|
|
424
455
|
"RawStepEvent": {
|
|
@@ -464,6 +495,22 @@
|
|
|
464
495
|
"buildNumber": {
|
|
465
496
|
"type": "string",
|
|
466
497
|
"description": "CI build number or run ID."
|
|
498
|
+
},
|
|
499
|
+
"provider": {
|
|
500
|
+
"type": "string",
|
|
501
|
+
"description": "Typed provider key (e.g., 'github', 'gitlab', 'circleci')."
|
|
502
|
+
},
|
|
503
|
+
"branch": {
|
|
504
|
+
"type": "string",
|
|
505
|
+
"description": "Git branch name."
|
|
506
|
+
},
|
|
507
|
+
"commitSha": {
|
|
508
|
+
"type": "string",
|
|
509
|
+
"description": "Git commit SHA."
|
|
510
|
+
},
|
|
511
|
+
"prNumber": {
|
|
512
|
+
"type": "string",
|
|
513
|
+
"description": "Pull/merge request number."
|
|
467
514
|
}
|
|
468
515
|
},
|
|
469
516
|
"required": ["name"],
|
package/bin/intent.js
DELETED