Skip to content

Commit da13ea9

Browse files
Merge pull request #263 from contentstack/development
Development
2 parents 071b808 + 7d8dce1 commit da13ea9

29 files changed

+2290
-574
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 'TS SDK - Unit Testing'
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- development
7+
- staging
8+
- main
9+
10+
jobs:
11+
coverage:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
pull-requests: write
16+
checks: write
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Run unit tests with coverage
22+
uses: ArtiomTr/jest-coverage-report-action@v2
23+
id: coverage
24+
with:
25+
test-script: npm run test:unit
26+
threshold: 95

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ coverage
1414
.dccache
1515
dist/*
1616
*.log
17-
.nx/
18-
regions.json
17+
.nx/

.npmignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ src
1919
*.tgz
2020
.talismanrc
2121
tap-html.html
22-
.github
23-
regions.json
22+
.github

.talismanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
fileignoreconfig:
22
- filename: package-lock.json
3-
checksum: 275bc45fd72f2a19f8634536e1e0ea3d6516ea554178d172f9e64d01521b06f7
3+
checksum: 46c0d87a82455d4b2bae3347f7361dda71d2b979426b1c95ef707a9166c17778
44
- filename: test/unit/contentstack.spec.ts
55
checksum: d5b99c01459ab8bc597baaa9e6cc4aa91ac6d9bf78af08e1d0220d0c5db3d0b3
66
- filename: test/unit/utils.spec.ts

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
### Version: 4.10.2
2-
#### Date: Oct-29-2025
2+
#### Date: Nov-12-2025
33
Enhancement: Added logHandler interceptors for request and response logging
4+
Enhancement: Upgraded @contentstack/utils dependency to version 1.6.2
5+
Refactor: Replaced region handling logic to use getContentstackEndpoint from @contentstack/utils
46

57
### Version: 4.10.1
68
#### Date: Oct-27-2025

0 commit comments

Comments
 (0)