bump-maplibre-gl-js
Installation
SKILL.md
Upgrade MapLibre GL JS
The bindings in
lib/maplibre-compose/src/jsMain/kotlin/org/maplibre/compose/gljs/ are written
by hand, are internal, and cover the members this platform calls.
1. Keep the old declarations
upgrade_dir=$(mktemp -d)
cp build/js/node_modules/maplibre-gl/dist/maplibre-gl.d.ts "$upgrade_dir/maplibre-gl.d.ts"
cp -R build/js/node_modules/maplibre-gl/src "$upgrade_dir/src"
Keep the temporary path for later comparisons. If the old package is absent, retrieve the version pinned before the upgrade.