Skip to content

Commit bb21d11

Browse files
authored
Bump to v2.1.5-pre.1 - Publish empty postinstall.js file (#994)
1 parent ba44cbc commit bb21d11

4 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ jobs:
5353
npm run build-benchmarks
5454
npm run generate-typings
5555
56+
- name: Empty postinstall.js
57+
run: |
58+
echo "// empty in published package" > postinstall.js
59+
5660
- name: Create Archive
5761
run: |
5862
zip -r dist dist

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@
88

99
- *...Add new stuff here...*
1010

11-
## 2.1.4
11+
## 2.1.5-pre.1
12+
13+
### 🐞 Bug fixes
1214

15+
- Publish empty `postinstall.js` file. Follow-up on (#990), (#991), (#992).
16+
17+
## 2.1.4
1318

1419
### 🐞 Bug fixes
1520

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "maplibre-gl",
33
"description": "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library",
4-
"version": "2.1.4",
4+
"version": "2.1.5-pre.1",
55
"main": "dist/maplibre-gl.js",
66
"style": "dist/maplibre-gl.css",
77
"license": "BSD-3-Clause",

postinstall.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
import {execSync} from 'child_process';
22

3-
if (process.env.NODE_ENV !== 'production') {
4-
execSync('npm run codegen && npm run generate-query-test-fixtures && husky install');
5-
}
3+
execSync('npm run codegen && npm run generate-query-test-fixtures && husky install');

0 commit comments

Comments
 (0)