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 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
- Silver:
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');