leaflet-city-mapper 0.0.8 → 0.0.9

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.
package/README.md CHANGED
@@ -24,7 +24,7 @@ Just load Leaflet before this plugin:
24
24
  ```html
25
25
  <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9/dist/leaflet.css">
26
26
  <script src="https://unpkg.com/leaflet@1.9/dist/leaflet.js"></script>
27
- <script src="https://unpkg.com/leaflet-city-mapper@0.0.8/dist/leaflet-city-mapper.js"></script>
27
+ <script src="https://unpkg.com/leaflet-city-mapper@0.0.9/dist/leaflet-city-mapper.js"></script>
28
28
  ```
29
29
 
30
30
  And then create a native `L.Layer`:
package/libs/leaflet.js CHANGED
@@ -11,7 +11,7 @@ const openlayers = new URLSearchParams(location.search).get('engine') === 'openl
11
11
  document.write((openlayers
12
12
  ? '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ol@10.6.1/ol.css">' +
13
13
  '<script src="https://cdn.jsdelivr.net/npm/ol@10.6.1/dist/ol.js"><\/script>' +
14
- '<script src="https://unpkg.com/leaflet-city-mapper@0.0.8/libs/openlayers-bindings.min.js"><\/script>'
14
+ '<script src="https://unpkg.com/leaflet-city-mapper@0.0.9/libs/openlayers-bindings.min.js"><\/script>'
15
15
  : '<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9/dist/leaflet.css"><script src="https://unpkg.com/leaflet@1.9/dist/leaflet-src.js"><\/script>'));
16
16
 
17
17
  const engineStyle = document.createElement('style');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leaflet-city-mapper",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "A small 3D rendering engine for leaflet",
5
5
  "type": "module",
6
6
  "main": "dist/leaflet-city-mapper.js",
@@ -11,7 +11,9 @@
11
11
  "build": "node build/build.js",
12
12
  "test": "node build/test.js",
13
13
  "pmtiles": "node build/pmtiles.js",
14
- "version": "npm run build && git add -A dist libs"
14
+ "preversion": "node build/version.js",
15
+ "version": "npm run build && git add -A",
16
+ "postversion": "npm publish --access public && git push --follow-tags"
15
17
  },
16
18
  "repository": {
17
19
  "type": "git",
@@ -35,7 +37,7 @@
35
37
  },
36
38
  "homepage": "https://github.com/Raruto/leaflet-city-mapper#readme",
37
39
  "peerDependencies": {
38
- "leaflet": "^1.9.3 || ^2.0.0-beta.2",
40
+ "leaflet": "^1.9.3 || ^2.0.0-beta.3",
39
41
  "ol": "^10.6.1"
40
42
  },
41
43
  "devDependencies": {