delivery-friction-analyzer 0.25.0 → 0.26.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/README.md CHANGED
@@ -31,6 +31,13 @@ npx delivery-friction-analyzer --source sample --out reports/tutorial
31
31
 
32
32
  Open `reports/tutorial/friction-report.md` first. The sample output is labeled `Bundled synthetic sample, not live GitHub data` in the CLI completion, report, methodology, and source bundle.
33
33
 
34
+ From a local checkout, install dependencies first when `node_modules` is absent, then run the same bundled tutorial sample through the checkout script:
35
+
36
+ ```sh
37
+ npm install
38
+ npm run sample
39
+ ```
40
+
34
41
  Short excerpt from the generated sample report context:
35
42
 
36
43
  > Source: Bundled synthetic sample, not live GitHub data.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "delivery-friction-analyzer",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "description": "Local GitHub pull request analytics for delivery friction reports.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -20,6 +20,7 @@
20
20
  ],
21
21
  "scripts": {
22
22
  "analyze:github": "node src/cli/analyze-github.js",
23
+ "sample": "node src/cli/analyze-github.js --source sample --out reports/tutorial",
23
24
  "preflight": "npm test && git diff --check HEAD",
24
25
  "preflight:release": "node --test test/release-versioning.test.mjs && node scripts/release-versioning.mjs assert-package-not-behind-latest-tag && npm pack --dry-run",
25
26
  "report:fixture": "node src/report/generate-report.js --metrics-summary fixtures/github/mcp-writing/metrics-summary.golden.json --json-out fixtures/github/mcp-writing/reports/friction-report.golden.json --markdown-out fixtures/github/mcp-writing/reports/friction-report.golden.md",
package/release-log.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ### 2026-07-04 — Local Sample Checkout Command
6
+
7
+ - What changed: Local checkouts now expose `npm run sample` for the bundled tutorial sample, while README guidance keeps the public `npx` package path first and shows checkout usage separately.
8
+ - Why it matters: First-time users and maintainers have an obvious local fallback for generating the synthetic sample report without discovering it through the GitHub-named script.
9
+ - Who is affected: Users trying the sample from a repository checkout, and maintainers validating the bundled tutorial sample locally.
10
+ - Action needed: For local checkout sample runs, install dependencies first when `node_modules` is absent, then run `npm run sample`.
11
+ - PR: https://github.com/hannasdev/delivery-friction-analyzer/pull/73
12
+
5
13
  ### 2026-07-02 — First-Run CLI Trust Polish
6
14
 
7
15
  - What changed: The CLI now supports standalone `--version` and `-v` package-version output, documents that version check in help and README options, gives missing-profile live runs starter-profile recovery guidance, and verifies `--json` completion keeps parseable JSON on stdout while progress stays on stderr.