diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e318652dc2..3b3d5604eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,6 +57,10 @@ jobs: run: | echo "// empty in published package" > postinstall.js + - name: Write dist/package.json + run: | + echo "{ \"type\": \"commonjs\" }" > dist/package.json + - name: Create Archive run: | zip -r dist dist diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bfab63403..c25e516601 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ - *...Add new stuff here...* +## 2.1.6-pre.1 + +### 🐞 Bug fixes + +- Publish `dist/package.json` (#998). + ## 2.1.5 ### 🐞 Bug fixes diff --git a/package-lock.json b/package-lock.json index 4ba4af67c1..2721fca585 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "maplibre-gl", - "version": "2.1.5", + "version": "2.1.6-pre.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "maplibre-gl", - "version": "2.1.5", + "version": "2.1.6-pre.1", "hasInstallScript": true, "license": "BSD-3-Clause", "dependencies": { diff --git a/package.json b/package.json index 8fef7f134b..d6c8a97e3f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "maplibre-gl", "description": "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library", - "version": "2.1.5", + "version": "2.1.6-pre.1", "main": "dist/maplibre-gl.js", "style": "dist/maplibre-gl.css", "license": "BSD-3-Clause",