Add Renovate config, track vendored JS libs via package.json
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:
1 parent
157759d44b
commit
f62987b1de
10 files changed
+413
-18
No files matched your search
@@ -25,6 +25,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y build-essential
|
||||
# building on an arm64 host. Pinned, like every other dependency in this
|
||||
# repo (Gemfile, docs/third-party-notices.adoc) — bump PMTILES_VERSION
|
||||
# deliberately, not via `latest`.
|
||||
# renovate: datasource=github-releases depName=protomaps/go-pmtiles
|
||||
ARG PMTILES_VERSION=1.31.2
|
||||
RUN set -eux; \
|
||||
case "$(dpkg --print-architecture)" in \
|
||||
@@ -40,6 +41,7 @@ RUN set -eux; \
|
||||
# docs/development.adoc) — a single JVM fat jar, no per-arch variant needed
|
||||
# unlike go-pmtiles above. Default PLANETILER_JAR path (pmtiles_builder.rb)
|
||||
# expects it here.
|
||||
# renovate: datasource=github-releases depName=onthegomap/planetiler
|
||||
ARG PLANETILER_VERSION=0.10.2
|
||||
RUN curl -fsSL "https://github.com/onthegomap/planetiler/releases/download/v${PLANETILER_VERSION}/planetiler.jar" \
|
||||
-o /usr/local/lib/planetiler.jar
|
||||
|
||||
Reference in new issue
Block a user