executable-stories-formatters 0.1.0 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "executable-stories-formatters",
3
- "version": "0.1.0",
3
+ "version": "0.3.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",
@@ -52,26 +52,26 @@
52
52
  "report",
53
53
  "formatter"
54
54
  ],
55
- "scripts": {
56
- "build": "tsup",
57
- "test": "vitest run",
58
- "test:watch": "vitest",
59
- "type-check": "tsc --noEmit",
60
- "generate:design-library": "tsx scripts/generate-design-library.ts",
61
- "compile": "bun build src/cli.ts --compile --outfile executable-stories"
62
- },
63
55
  "dependencies": {
64
56
  "@cucumber/html-formatter": "^23.0.0",
65
57
  "@cucumber/messages": "^32.0.1",
66
58
  "ajv": "^8.17.1"
67
59
  },
68
60
  "devDependencies": {
69
- "@faker-js/faker": "^10.2.0",
70
- "@types/node": "^25.2.1",
61
+ "@faker-js/faker": "^10.3.0",
62
+ "@types/node": "^25.2.3",
71
63
  "tsup": "^8.5.1",
72
64
  "tsx": "^4.21.0",
73
65
  "typescript": "~5.9.3",
74
66
  "vitest": "^4.0.18",
75
67
  "vitest-mock-extended": "^3.1.0"
68
+ },
69
+ "scripts": {
70
+ "build": "tsup",
71
+ "test": "vitest run",
72
+ "test:watch": "vitest",
73
+ "type-check": "tsc --noEmit",
74
+ "generate:design-library": "tsx scripts/generate-design-library.ts",
75
+ "compile": "bun build src/cli.ts --compile --outfile executable-stories"
76
76
  }
77
- }
77
+ }
package/schemas/README.md CHANGED
@@ -175,11 +175,11 @@ SUBCOMMANDS
175
175
  | `--output-name <name>` | `test-results` | Base filename |
176
176
  | `--synthesize-stories` | on | Synthesize story metadata for plain test results |
177
177
  | `--no-synthesize-stories` | | Disable story synthesis (strict mode) |
178
- | `--html-title <title>` | `Test Results` | HTML report title |
179
- | `--html-syntax-highlighting` | off | Enable syntax highlighting in HTML |
180
- | `--html-mermaid` | off | Enable Mermaid diagrams in HTML |
181
- | `--html-markdown` | off | Enable markdown parsing in HTML |
182
- | `--stdin` | | Read JSON from stdin instead of file |
178
+ | `--html-title <title>` | `Test Results` | HTML report title |
179
+ | `--html-no-syntax-highlighting` | | Disable syntax highlighting in HTML (enabled by default) |
180
+ | `--html-no-mermaid` | | Disable Mermaid diagrams in HTML (enabled by default) |
181
+ | `--html-no-markdown` | | Disable markdown parsing in HTML (enabled by default) |
182
+ | `--stdin` | | Read JSON from stdin instead of file |
183
183
  | `--json-summary` | off | Print machine-parsable JSON summary |
184
184
  | `--emit-canonical <path>` | | Write canonical JSON to given path |
185
185
  | `--help` | | Show help message |
@@ -206,13 +206,8 @@ executable-stories format run.json --format html,markdown --output-dir reports
206
206
  # Pipe from stdin
207
207
  cat run.json | executable-stories format --stdin --format html
208
208
 
209
- # Generate with all HTML features enabled
210
- executable-stories format run.json \
211
- --format html \
212
- --html-syntax-highlighting \
213
- --html-mermaid \
214
- --html-markdown \
215
- --html-title "Sprint 42 Results"
209
+ # Generate HTML with custom title (syntax highlighting, Mermaid, Markdown are on by default)
210
+ executable-stories format run.json --format html --html-title "Sprint 42 Results"
216
211
 
217
212
  # Export canonical JSON for debugging
218
213
  executable-stories format run.json --emit-canonical canonical.json