@reportforge/playwright-pdf 0.6.2 → 0.6.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,21 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
5
 
6
+ ## [0.6.3] — 2026-06-27
7
+
8
+ ### Fixed
9
+
10
+ - **Demo command now resolves under `npx`** — the documented `npx @reportforge/playwright-pdf reportforge-demo` could never run: with two package bins and neither matching the package's unscoped name (`playwright-pdf`), npx aborted with `could not determine executable to run`. The package now ships a single dispatcher bin named `playwright-pdf`, so `npx @reportforge/playwright-pdf <command>` resolves correctly.
11
+
12
+ ### Changed
13
+
14
+ - **CLI is now subcommand-based.** The `reportforge-demo` and `reportforge-export-feedback` bins are consolidated into one `playwright-pdf` bin with subcommands:
15
+ - `npx @reportforge/playwright-pdf demo [--template=minimal|detailed|executive] [--output=<path>]`
16
+ - `npx @reportforge/playwright-pdf export-feedback`
17
+ - This is breaking **only** if you relied on the old `reportforge-demo` / `reportforge-export-feedback` names on your `PATH` after a global install; the `npx` invocations gain capability and lose none.
18
+
19
+ ---
20
+
6
21
  ## [0.6.2] — 2026-06-23
7
22
 
8
23
  ### Fixed
package/README.md CHANGED
@@ -51,13 +51,13 @@ Three templates, one reporter. Every PDF is fully offline — fonts, charts, and
51
51
  - **Self-contained PDFs** — screenshots, fonts, logos all embedded; share or archive with confidence
52
52
  - **Custom branding** — logo, primary/accent colours, watermark, PDF password encryption
53
53
  - **Dynamic filenames** — `{date}`, `{branch}`, `{status}` tokens in the output path
54
- - **Instant demo report** — `npx @reportforge/playwright-pdf reportforge-demo` generates a realistic sample PDF before subscribing — no license key required
54
+ - **Instant demo report** — `npx @reportforge/playwright-pdf demo` generates a realistic sample PDF before subscribing — no license key required
55
55
  - **CI/CD snippets** — GitHub Actions, GitLab CI, Bitbucket Pipelines, Jenkins, Azure DevOps
56
56
  - **Shard merging** — combine N Playwright JSON shard reports into one PDF via `shardResults`; accepts glob patterns or explicit paths
57
57
  - **Notifications** — post pass/fail summaries to Slack, Teams, Discord, or email after each run; configurable trigger (`always` / `failure` / `success`) per channel; email supports optional PDF attachment via `attachPdf`
58
58
  - **Flakiness trend** — top-N flakiest tests table with per-test dot sparkline across stored history runs in the `detailed` template; `flakinessTopN` option (default 5, `0` disables)
59
59
  - **Offline failure analysis** — sorts failures into 7 root-cause buckets and clusters them, right inside the `detailed` PDF (one-liner in `executive`). No network, no AI service — a small embedded classifier that updates itself safely over your existing license refresh; pin it any time. Full details at [reportforge.org/docs/advanced/failure-analysis](https://reportforge.org/docs/advanced/failure-analysis).
60
- - `reportforge-export-feedback` — exports locally-collected unrecognized failures (tokenized, local-only) for optional manual sharing.
60
+ - `npx @reportforge/playwright-pdf export-feedback` — exports locally-collected unrecognized failures (tokenized, local-only) for optional manual sharing.
61
61
  - **Configurable sections** — add or remove any report section per template via `sections`.
62
62
  - **Hybrid licensing** — one short key unlocks it; reports keep rendering offline via a cached JWT between refreshes
63
63
 
@@ -92,7 +92,7 @@ npx playwright test
92
92
  # → reports/2026-05-01-main-failed.pdf
93
93
  ```
94
94
 
95
- > **See it first.** Run `npx @reportforge/playwright-pdf reportforge-demo` to generate a realistic sample PDF in under 60 seconds — no license key required. Supports `--template=minimal|detailed|executive` and `--output=<path>`.
95
+ > **See it first.** Run `npx @reportforge/playwright-pdf demo` to generate a realistic sample PDF in under 60 seconds — no license key required. Supports `--template=minimal|detailed|executive` and `--output=<path>`.
96
96
 
97
97
  > **License required.** Start a **[7-day free trial at reportforge.org/pricing](https://reportforge.org/pricing)** — card required, no charge until day 8. Paste the resulting `RFSU-…` key into `RF_LICENSE_KEY`. Without a valid license the reporter logs a warning and skips PDF generation; your Playwright tests still run normally.
98
98