@trailstash/ultra 4.1.5 → 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 +3 -5
- package/package.json +2 -2
- package/static/sprites/maki.json +1 -1706
- package/static/sprites/maki.png +0 -0
- package/static/sprites/maki@2x.json +1 -1706
- package/static/sprites/maki@2x.png +0 -0
- package/static/sprites/temaki.json +1 -4306
- package/static/sprites/temaki.png +0 -0
- package/static/sprites/temaki@2x.json +1 -4306
- package/static/sprites/temaki@2x.png +0 -0
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
|
-
|
|
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
|
-
|
|
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.
|
|
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": "
|
|
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",
|