blamouche_obsidian-geocode-.../package.json
blamouche beb32787ad v1.5.0: migrate to MapLibre GL with OpenFreeMap styles
Replace Leaflet + CARTO Voyager with MapLibre GL JS rendering OpenFreeMap
vector tiles (`bright` / `dark` auto-switched on Obsidian theme) to match
the visual style of Obsidian's built-in Bases maps. Covers both the
geocoder modal preview and the geocode-map code block, and rebuilds the
modal marker live on icon/color changes.

Also fix the experimental Obsidian Maps locate button stacking on top of
the native MapLibre GeolocateControl now shipped by Bases, and scrub
stale buttons on load. Bump esbuild target to es2020 (MapLibre uses
BigInt literals).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 23:47:26 +02:00

27 lines
670 B
JSON

{
"name": "obsidian-geocode-note",
"version": "1.5.0",
"description": "Add geographic coordinates to Obsidian notes",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production"
},
"keywords": [],
"author": "Benoit Lamouche",
"license": "MIT",
"devDependencies": {
"@types/node": "^16.11.6",
"@typescript-eslint/parser": "^8.58.2",
"builtin-modules": "3.3.0",
"esbuild": "0.17.3",
"eslint": "^9.39.4",
"eslint-plugin-obsidianmd": "^0.1.9",
"obsidian": "latest",
"tslib": "2.4.0",
"typescript": "5.5.4"
},
"dependencies": {
"maplibre-gl": "^5.23.0"
}
}