@florasync/leaflet-geokit 0.11.0 → 0.11.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/dist/django/index.js +486 -496
- package/dist/django/index.js.map +1 -1
- package/dist/leaflet-geokit.es.js +439 -449
- package/dist/leaflet-geokit.es.js.map +1 -1
- package/dist/leaflet-geokit.external.es.js +14 -23
- package/dist/leaflet-geokit.external.es.js.map +1 -1
- package/dist/leaflet-geokit.umd.js +21 -21
- package/dist/leaflet-geokit.umd.js.map +1 -1
- package/dist/preact/{index-D9ScFTVe.js → index-CFFA4RWo.js} +15 -24
- package/dist/preact/index-CFFA4RWo.js.map +1 -0
- package/dist/preact/index.js +1 -1
- package/dist/preact-bundled/index.js +486 -496
- package/dist/preact-bundled/index.js.map +1 -1
- package/dist/react/{index-D9ScFTVe.js → index-CFFA4RWo.js} +15 -24
- package/dist/react/index-CFFA4RWo.js.map +1 -0
- package/dist/react/index.js +1 -1
- package/dist/react-bundled/index.js +485 -495
- package/dist/react-bundled/index.js.map +1 -1
- package/docs/pmtiles.md +1 -1
- package/docs/release-verification.md +22 -6
- package/package.json +8 -8
- package/dist/preact/index-D9ScFTVe.js.map +0 -1
- package/dist/react/index-D9ScFTVe.js.map +0 -1
package/docs/pmtiles.md
CHANGED
|
@@ -5,7 +5,7 @@ The core and `/external` entrypoints do not import renderer dependencies. Instal
|
|
|
5
5
|
these optional peers only when using this entrypoint:
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
npm install maplibre-gl@5.24.
|
|
8
|
+
npm install maplibre-gl@5.24.1 @maplibre/maplibre-gl-leaflet@0.1.4 pmtiles@4.5.0
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
These exact versions, Leaflet 1.9.4 and Leaflet.draw 1.0.4 are exercised by the
|
|
@@ -30,12 +30,28 @@ explicit `.js` paths using the TypeScript AST. This avoids depending on whether
|
|
|
30
30
|
the installed tsc-alias version adds extensions. Missing relative declaration
|
|
31
31
|
targets fail the build rather than ship unresolved imports.
|
|
32
32
|
|
|
33
|
-
For a release candidate,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
For a release candidate, use the lockfile and run the full gates, not just the
|
|
34
|
+
focused smoke above. Both GitHub browser jobs use Ubuntu 24.04: the locked
|
|
35
|
+
Playwright 1.58.2 cannot install Chromium on Ubuntu 26.04. Update the runner and
|
|
36
|
+
browser together, with the existing screenshot baselines and assertions intact.
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
npm ci
|
|
40
|
+
npm audit --include=dev --audit-level=low
|
|
41
|
+
npm run prettier:check && npm run lint
|
|
42
|
+
npm run release:dry # typecheck, unit coverage, build, pack dry-run, strict packed consumer
|
|
43
|
+
npm run e2e:install
|
|
44
|
+
npx playwright test --config playwright.release.config.ts
|
|
45
|
+
node scripts/verify-pmtiles-bundle.mjs
|
|
46
|
+
npm run test:e2e:pmtiles
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
[Release Candidate](https://github.com/FloraSync/leaflet-geokit/blob/main/.github/workflows/release-candidate.yml) packs the tested
|
|
50
|
+
`dist/` without rebuilding it. Before upload, `node scripts/verify-browser-package.mjs <candidate.tgz>` loads the core and Django modules directly from those bytes in Chromium, draws markers, and reopens and synchronizes a saved GeoJSON field. This catches bundle-only failures that the Vite dev server and a declaration check cannot see.
|
|
51
|
+
|
|
52
|
+
A PR run verifies the merge candidate; it cannot
|
|
53
|
+
publish. After merge, use the successful `develop` push run, its promoted SHA
|
|
54
|
+
and its tarball SHA-256 for [manual publication](https://github.com/FloraSync/leaflet-geokit/blob/main/.github/workflows/npm-publish.yml).
|
|
39
55
|
|
|
40
56
|
## Browser evidence
|
|
41
57
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@florasync/leaflet-geokit",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Framework-agnostic Leaflet + Leaflet.draw web component with TypeScript, verbose logging, and tests.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/leaflet-geokit.umd.js",
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
},
|
|
151
151
|
"peerDependencies": {
|
|
152
152
|
"@maplibre/maplibre-gl-leaflet": "^0.1.4",
|
|
153
|
-
"maplibre-gl": "^5.24.
|
|
153
|
+
"maplibre-gl": "^5.24.1",
|
|
154
154
|
"pmtiles": "^4.5.0",
|
|
155
155
|
"preact": "^10.24.0",
|
|
156
156
|
"react": "^18.3.1",
|
|
@@ -192,14 +192,14 @@
|
|
|
192
192
|
"@types/react-dom": "^18.3.1",
|
|
193
193
|
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
|
194
194
|
"@typescript-eslint/parser": "^8.56.0",
|
|
195
|
-
"@vitest/coverage-v8": "^4.
|
|
195
|
+
"@vitest/coverage-v8": "^4.1.12",
|
|
196
196
|
"baseline-browser-mapping": "^2.9.17",
|
|
197
197
|
"eslint": "^10.0.0",
|
|
198
198
|
"globals": "^17.3.0",
|
|
199
|
-
"happy-dom": "^
|
|
199
|
+
"happy-dom": "^21.0.4",
|
|
200
200
|
"husky": "^9.1.7",
|
|
201
201
|
"lint-staged": "^16.4.0",
|
|
202
|
-
"maplibre-gl": "5.24.
|
|
202
|
+
"maplibre-gl": "5.24.1",
|
|
203
203
|
"pmtiles": "4.5.0",
|
|
204
204
|
"preact": "^10.28.3",
|
|
205
205
|
"prettier": "^3.3.2",
|
|
@@ -208,8 +208,8 @@
|
|
|
208
208
|
"rollup-plugin-visualizer": "^6.0.5",
|
|
209
209
|
"tsc-alias": "^1.8.17",
|
|
210
210
|
"typescript": "^5.5.4",
|
|
211
|
-
"vite": "^7.
|
|
212
|
-
"vitest": "^4.
|
|
211
|
+
"vite": "^7.3.7",
|
|
212
|
+
"vitest": "^4.1.12"
|
|
213
213
|
},
|
|
214
214
|
"lint-staged": {
|
|
215
215
|
"*.{ts,tsx,js,jsx}": [
|
|
@@ -221,6 +221,6 @@
|
|
|
221
221
|
]
|
|
222
222
|
},
|
|
223
223
|
"overrides": {
|
|
224
|
-
"minimatch": "^
|
|
224
|
+
"minimatch": "^11.0.8"
|
|
225
225
|
}
|
|
226
226
|
}
|