@trailstash/ultra 4.1.4 → 4.1.6

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/build-sprites.sh CHANGED
@@ -10,19 +10,17 @@ mkdir -p static/sprites
10
10
  curl -L -o maki.zip https://github.com/mapbox/maki/archive/refs/heads/main.zip
11
11
  unzip -u maki.zip
12
12
  for icon in maki-main/icons/*.svg; do
13
- npx -- svg2png $icon -o ${icon%.svg*}.png -w 30 -h 30
14
- rm $icon
13
+ rsvg-convert -f svg -o $icon $icon -w 30 -h 30
15
14
  done
16
15
  npx -- sprite-one ./static/sprites/maki -i maki-main/icons/ --sdf
17
16
  npx -- sprite-one --ratio=2 ./static/sprites/maki@2x -i maki-main/icons/ --sdf
18
17
  cp maki-main/LICENSE* static/sprites/maki.license
19
18
  rm -rf maki.zip maki-main
20
- #
19
+
21
20
  curl -L -o temaki.zip https://github.com/rapideditor/temaki/archive/refs/heads/main.zip
22
21
  unzip -u temaki.zip
23
22
  for icon in temaki-main/icons/*.svg; do
24
- npx -- svg2png $icon -o ${icon%.svg*}.png -w 30 -h 30
25
- rm $icon
23
+ rsvg-convert -f svg -o $icon $icon -w 30 -h 30
26
24
  done
27
25
  npx -- sprite-one ./static/sprites/temaki -i temaki-main/icons/ --sdf
28
26
  npx -- sprite-one --ratio=2 ./static/sprites/temaki@2x -i temaki-main/icons/ --sdf
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "4.1.4",
6
+ "version": "4.1.6",
7
7
  "description": "A web based tool for making MapLibre GL maps with data from sources such as Overpass, GeoJSON, GPX, KML, TCX, etc",
8
8
  "main": "index.js",
9
9
  "scripts": {
@@ -43,7 +43,7 @@
43
43
  "homepage": "https://overpass-ultra.us/",
44
44
  "devDependencies": {
45
45
  "@types/node": "^22.6.1",
46
- "@unvt/sprite-one": "^0.1.1",
46
+ "@unvt/sprite-one": "github:dschep/sprite-one",
47
47
  "esbuild-jest": "^0.5.0",
48
48
  "jest": "^29.7.0",
49
49
  "jest-environment-jsdom": "^29.7.0",
@@ -69,7 +69,7 @@
69
69
  "liquidjs": "^10.17.0",
70
70
  "lodash.pick": "^4.4.0",
71
71
  "lz-string": "^1.5.0",
72
- "maplibre-gl": "^5.0.1",
72
+ "maplibre-gl": "^5.1.0",
73
73
  "marked": "^14.1.2",
74
74
  "node-events": "^0.0.2",
75
75
  "normalize.css": "^8.0.1",