@kahwee/sf-map-svg 1.5.0 → 1.5.1
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 +6 -0
- package/README.md +2 -1
- package/package.json +11 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ User-visible changes are recorded here. Unreleased entries describe changes on `
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 1.5.1 — 2026-09-26
|
|
8
|
+
|
|
9
|
+
- Run focused Storybook 10 browser interactions and accessibility checks in CI and before npm publishing, covering overlapping markers, route overlays, and keyboard selection.
|
|
10
|
+
- Validate certified proposition district sums against city totals in the data test suite.
|
|
11
|
+
- Keep Biome and the development dependency set current after an audit and outdated-package review.
|
|
12
|
+
|
|
7
13
|
## 1.5.0 — 2026-09-26
|
|
8
14
|
|
|
9
15
|
- Add `controls.neighborhoodPicker`, `controls.markerPicker`, `controls.help`, and `controls.status` so compact embeds can drop redundant chrome. Hidden help remains the map's accessible description; a hidden status line remains a polite live region; source attribution stays visible.
|
package/README.md
CHANGED
|
@@ -382,10 +382,11 @@ pnpm install --frozen-lockfile
|
|
|
382
382
|
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
|
+
pnpm test:stories # Storybook 10 browser checks in Chromium
|
|
385
386
|
pnpm test:package # install and check the packed package
|
|
386
387
|
```
|
|
387
388
|
|
|
388
|
-
Use `pnpm format` to apply Biome formatting and safe lint fixes. Run `pnpm storybook` for interactive component examples at http://127.0.0.1:6006. CI runs checks on Node 22, 24, and 26. See [CONTRIBUTING.md](CONTRIBUTING.md) for source structure and release instructions.
|
|
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.
|
|
389
390
|
|
|
390
391
|
### Browser verification
|
|
391
392
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kahwee/sf-map-svg",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
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",
|
|
@@ -118,13 +118,20 @@
|
|
|
118
118
|
},
|
|
119
119
|
"devDependencies": {
|
|
120
120
|
"@biomejs/biome": "2.5.14",
|
|
121
|
+
"@storybook/addon-a11y": "10.6.0",
|
|
121
122
|
"@storybook/addon-docs": "^10.6.0",
|
|
123
|
+
"@storybook/addon-vitest": "10.6.0",
|
|
122
124
|
"@storybook/html-vite": "^10.6.0",
|
|
125
|
+
"@vitest/browser-playwright": "^4.1.11",
|
|
123
126
|
"@xmldom/xmldom": "^0.9.12",
|
|
127
|
+
"playwright": "^1.63.0",
|
|
124
128
|
"polygon-clipping": "^0.15.7",
|
|
129
|
+
"react": "^19.3.0",
|
|
130
|
+
"react-dom": "^19.3.0",
|
|
125
131
|
"storybook": "^10.6.0",
|
|
126
132
|
"typescript": "^7.0.2",
|
|
127
|
-
"vite": "^8.3.1"
|
|
133
|
+
"vite": "^8.3.1",
|
|
134
|
+
"vitest": "^4.1.11"
|
|
128
135
|
},
|
|
129
136
|
"homepage": "https://kahwee.github.io/sf-map-svg/",
|
|
130
137
|
"bugs": {
|
|
@@ -143,6 +150,7 @@
|
|
|
143
150
|
},
|
|
144
151
|
"scripts": {
|
|
145
152
|
"test": "pnpm build && node --test",
|
|
153
|
+
"test:stories": "pnpm build && vitest run --project=storybook",
|
|
146
154
|
"demo": "pnpm build && node examples/build.mjs",
|
|
147
155
|
"format": "biome check --write .",
|
|
148
156
|
"format:check": "biome format .",
|
|
@@ -158,6 +166,7 @@
|
|
|
158
166
|
"test:package": "node scripts/smoke-package.mjs",
|
|
159
167
|
"build": "node scripts/build.mjs",
|
|
160
168
|
"lint": "biome check .",
|
|
169
|
+
"audit": "pnpm audit --audit-level high",
|
|
161
170
|
"build:pages": "pnpm build && node scripts/build-pages.mjs"
|
|
162
171
|
}
|
|
163
172
|
}
|