Skip to content

Commit e7edf8a

Browse files
lesbaaLes Moffat
and
Les Moffat
authored
Rd 902/remove eslint mjs from tsconfig (#191)
* RD-902 Remove eslint from tsconfig * RD-902 Add github action to prevent build being publish when it fails * RD-902 update changelog * 3.2.2 --------- Co-authored-by: Les Moffat <les.moffat@maptiler.com>
1 parent 71e351e commit e7edf8a

File tree

5 files changed

+25
-6
lines changed

5 files changed

+25
-6
lines changed

.github/workflows/npm-publish.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,24 @@ jobs:
2121
node-version: 18
2222
registry-url: https://registry.npmjs.org/
2323
- run: npm ci
24+
2425
- run: npm run make
25-
26+
27+
- name: Clear NPM cache
28+
run: npm cache clean --force
29+
30+
- name: Install dependencies and build
31+
run: npm ci
32+
33+
- name: Make release
34+
run: npm run make
35+
id: makeRelease
36+
37+
- name: Fail job if makeRelease failed
38+
if: steps.makeRelease.outcome == 'failure'
39+
run: exit 1
40+
41+
id: check-build-status
2642
- name: Publish NPM package (regular)
2743
if: "!github.event.release.prerelease"
2844
run: |

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MapTiler SDK Changelog
22

3-
## 3.2.1
3+
## 3.2.2
44
## ✨ Features and improvements
55
None
66

@@ -10,6 +10,10 @@ None
1010
## 🔧 Others
1111
- Adds linting config to check for non default maplibre defaults. Named imports from CJS modules fail on some build pipelines.
1212

13+
## 3.2.1
14+
### ⚠️ Warning
15+
- This version was published in error. Please use `3.2.2` instead.
16+
1317
## 3.2.0
1418
## ✨ Features and improvements
1519
- Updates Maplibre-gl to 5.3.1

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@maptiler/sdk",
3-
"version": "3.2.1",
3+
"version": "3.2.2",
44
"description": "The Javascript & TypeScript map SDK tailored for MapTiler Cloud",
55
"author": "MapTiler",
66
"module": "dist/maptiler-sdk.mjs",

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
},
2727
"include": [
2828
"src",
29-
"./eslint.config.mjs",
3029
"test",
3130
"./vite.config-test.ts",
3231
"./vitest-setup-tests.ts"

0 commit comments

Comments
 (0)