@kahwee/sf-map-svg 1.5.1 → 1.5.2

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
@@ -4,6 +4,11 @@ User-visible changes are recorded here. Unreleased entries describe changes on `
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 1.5.2 — 2026-09-26
8
+
9
+ - Run every Storybook story as a Chromium/Vitest browser check and publish an LCOV and JSON coverage artifact for the renderer, with baseline regression thresholds.
10
+ - Require the browser and coverage check before npm publishing or Pages deployment.
11
+
7
12
  ## 1.5.1 — 2026-09-26
8
13
 
9
14
  - Run focused Storybook 10 browser interactions and accessibility checks in CI and before npm publishing, covering overlapping markers, route overlays, and keyboard selection.
package/README.md CHANGED
@@ -383,10 +383,11 @@ pnpm check # formatting, data catalog, types, and tests
383
383
  pnpm demo # generated SVGs and example pages
384
384
  pnpm build-storybook # static component documentation
385
385
  pnpm test:stories # Storybook 10 browser checks in Chromium
386
+ pnpm test:stories:coverage # Chromium checks plus renderer coverage report
386
387
  pnpm test:package # install and check the packed package
387
388
  ```
388
389
 
389
- Use `pnpm format` to apply Biome formatting and safe lint fixes. Install Chromium once with `pnpm exec playwright install chromium` before local Storybook tests. Run `pnpm storybook` for interactive component examples at http://127.0.0.1:6006. CI runs package checks on Node 22, 24, and 26 plus Chromium Storybook checks on Node 24. See [CONTRIBUTING.md](CONTRIBUTING.md) for source structure and release instructions.
390
+ Use `pnpm format` to apply Biome formatting and safe lint fixes. Install Chromium once with `pnpm exec playwright install chromium` before local Storybook tests. Run `pnpm storybook` for interactive component examples at http://127.0.0.1:6006. The coverage command writes `coverage/storybook/coverage-summary.json` and `lcov.info` for `src/` TypeScript only. CI runs package checks on Node 22, 24, and 26 plus Chromium Storybook checks on Node 24, and uploads the coverage report. See [CONTRIBUTING.md](CONTRIBUTING.md) for source structure and release instructions.
390
391
 
391
392
  ### Browser verification
392
393
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kahwee/sf-map-svg",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Offline SVG maps of San Francisco with district boundaries, parks, landmarks, and BART stations.",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",
@@ -123,6 +123,7 @@
123
123
  "@storybook/addon-vitest": "10.6.0",
124
124
  "@storybook/html-vite": "^10.6.0",
125
125
  "@vitest/browser-playwright": "^4.1.11",
126
+ "@vitest/coverage-v8": "4.1.11",
126
127
  "@xmldom/xmldom": "^0.9.12",
127
128
  "playwright": "^1.63.0",
128
129
  "polygon-clipping": "^0.15.7",
@@ -151,6 +152,7 @@
151
152
  "scripts": {
152
153
  "test": "pnpm build && node --test",
153
154
  "test:stories": "pnpm build && vitest run --project=storybook",
155
+ "test:stories:coverage": "pnpm build && vitest run --project=storybook --coverage",
154
156
  "demo": "pnpm build && node examples/build.mjs",
155
157
  "format": "biome check --write .",
156
158
  "format:check": "biome format .",