@osm-editor-kit/osm-maplibre 0.1.0-alpha.0 → 0.1.0-alpha.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.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -1,10 +1,15 @@
1
1
  # `@osm-editor-kit/osm-maplibre`
2
2
 
3
- **Status:** First npm **alpha** (`0.1.0-alpha.0`). Publish with `bun run packages:release -- --publish-only` after `npm login`.
3
+ > [!NOTE]
4
+ > This package is an **alpha** release and still under active development. APIs may change; install with the npm `alpha` dist-tag.
4
5
 
5
6
  ## What it does
6
7
 
7
- MapLibre helpers for OSM editor maps: a patched OpenFreeMap Positron basemap (null-safe filters, custom overlay anchor), metre-based line width/offset paint expressions, and focus styling for active vs muted layers.
8
+ - Ready-to-use OpenFreeMap Positron basemap style for MapLibre editors
9
+ - Anchor layer id so your overlays stack above the basemap
10
+ - Line width and offset from real-world metres (zoom-aware paint expressions)
11
+ - Focus styling helpers (highlight matching features, mute the rest)
12
+ - Utilities to patch or rebuild OpenFreeMap styles at runtime
8
13
 
9
14
  ## Usage
10
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osm-editor-kit/osm-maplibre",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "0.1.0-alpha.1",
4
4
  "description": "MapLibre helpers for OSM editors: OpenFreeMap Positron style, overlay anchors, and metre-based paint.",
5
5
  "license": "MIT",
6
6
  "author": "Tobias Jordans",
@@ -9,6 +9,7 @@
9
9
  "url": "git+https://github.com/osmberlin/street-space-editor.git",
10
10
  "directory": "packages/osm-maplibre"
11
11
  },
12
+ "homepage": "https://github.com/osmberlin/street-space-editor/tree/main/packages/osm-maplibre",
12
13
  "type": "module",
13
14
  "sideEffects": false,
14
15
  "files": [