Add Renovate config, track vendored JS libs via package.json
CI / check (push) Successful in 36s
CI / deploy (push) Successful in 13s

The Renovate workflow had no renovate.json, so with onboarding off it
skipped the repo entirely. Now config:recommended plus a regex manager
for the Dockerfile's PMTILES_VERSION/PLANETILER_VERSION pins.

public/vendor/'s npm-published libraries (maplibre-gl, pmtiles,
maplibre-contour, maplibre-gl-lanes, flag-icons, suncalc) are pinned in
package.json; bin/vendor-sync.mjs copies them out of node_modules, and
runs as a Renovate postUpgradeTask so bump PRs carry the new files.
Re-syncing the current versions reproduces the vendored files exactly,
except suncalc's hand-added header, moved into third-party-notices.
This commit is contained in:
randy committed 2026-11-03 17:15:28 +01:00
1 parent 157759d44b
commit f62987b1de
10 files changed
+413 -18

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
{
"name": "maptool-vendor",
"private": true,
"description": "Version pins for public/vendor/ only, synced by bin/vendor-sync.mjs. Not a build step, the app serves the vendored copies.",
"devDependencies": {
"flag-icons": "7.5.0",
"maplibre-contour": "0.1.0",
"maplibre-gl": "6.6.0",
"maplibre-gl-lanes": "1.3.0",
"pmtiles": "4.5.0",
"suncalc": "2.0.2"
}
}