maplibre-gl 3.5.2 → 3.6.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.
- package/README.md +3 -1
- package/build/bump-version-changelog.js +26 -0
- package/dist/maplibre-gl-csp-worker.js +1 -1
- package/dist/maplibre-gl-csp-worker.js.map +1 -1
- package/dist/maplibre-gl-csp.js +1 -1
- package/dist/maplibre-gl-csp.js.map +1 -1
- package/dist/maplibre-gl-dev.js +59 -37
- package/dist/maplibre-gl-dev.js.map +1 -1
- package/dist/maplibre-gl.d.ts +19 -2
- package/dist/maplibre-gl.js +3 -3
- package/dist/maplibre-gl.js.map +1 -1
- package/package.json +33 -33
- package/src/style/style.test.ts +30 -0
- package/src/style/style.ts +10 -1
- package/src/ui/camera.test.ts +81 -0
- package/src/ui/camera.ts +3 -1
- package/src/ui/map.test.ts +30 -0
- package/src/ui/map.ts +14 -0
- package/src/util/resolve_tokens.test.ts +4 -0
- package/src/util/resolve_tokens.ts +2 -2
package/README.md
CHANGED
|
@@ -130,10 +130,12 @@ Platinum:
|
|
|
130
130
|
|
|
131
131
|
<a href="https://aws.com"><img src="https://maplibre.org/img/aws-logo.svg" alt="Logo AWS" width="25%"/></a>
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
Gold:
|
|
134
134
|
|
|
135
135
|
<a href="https://meta.com"><img src="https://maplibre.org/img/meta-logo.svg" alt="Logo Meta" width="25%"/></a>
|
|
136
136
|
|
|
137
|
+
Silver:
|
|
138
|
+
|
|
137
139
|
<a href="https://www.mierune.co.jp/?lang=en"><img src="https://maplibre.org/img/mierune-logo.svg" alt="Logo MIERUNE" width="25%"/></a>
|
|
138
140
|
|
|
139
141
|
<a href="https://komoot.com/"><img src="https://maplibre.org/img/komoot-logo.svg" alt="Logo komoot" width="25%"/></a>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This script updates the changelog.md file with the version given in the arguments
|
|
5
|
+
* It replaces ## main with ## <version>
|
|
6
|
+
* Removes _...Add new stuff here..._
|
|
7
|
+
* And adds on top a ## main with add stuff here.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import * as fs from 'fs';
|
|
11
|
+
|
|
12
|
+
const changelogPath = 'CHANGELOG.md';
|
|
13
|
+
let changelog = fs.readFileSync(changelogPath, 'utf8');
|
|
14
|
+
changelog = changelog.replace('## main', `## ${process.argv[2]}`);
|
|
15
|
+
changelog = changelog.replaceAll('- _...Add new stuff here..._\n', '');
|
|
16
|
+
changelog = `## main
|
|
17
|
+
|
|
18
|
+
### ✨ Features and improvements
|
|
19
|
+
- _...Add new stuff here..._
|
|
20
|
+
|
|
21
|
+
### 🐞 Bug fixes
|
|
22
|
+
- _...Add new stuff here..._
|
|
23
|
+
|
|
24
|
+
` + changelog;
|
|
25
|
+
|
|
26
|
+
fs.writeFileSync(changelogPath, changelog, 'utf8');
|