Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
095b3d7
feat: add helper functions for endpoints
nadeem-cs Aug 19, 2025
2dd82f2
refactor: simplify endpoint fetching logic and improve error handling
nadeem-cs Sep 2, 2025
892855c
fix: remove unused export of region from endpoints
nadeem-cs Sep 2, 2025
a7a8caa
refactor: update getContentstackEndpoint function to improve region n…
nadeem-cs Sep 6, 2025
24244a9
fix: add Region property conditionally to endpoint object in getConte…
nadeem-cs Sep 22, 2025
2cfbc99
test: add tests for html escaping in jsontohtml function
nadeem-cs Oct 27, 2025
815b3a1
Merge pull request #200 from contentstack/test/tags-as-text-in-jrte
nadeem-cs Oct 27, 2025
459c168
chore: update package version and types path; refactor endpoint fetch…
nadeem-cs Oct 28, 2025
bea5b6d
Merge branch 'development' into feat/DX-3423-endpoints-helper-functions
nadeem-cs Oct 28, 2025
f702271
chore: update package-lock
nadeem-cs Oct 28, 2025
d3e99d2
chore: add postinstall and postupdate scripts to handle regions.json …
nadeem-cs Oct 28, 2025
c9aef37
Merge pull request #171 from contentstack/feat/DX-3423-endpoints-help…
harshithad0703 Oct 29, 2025
6a8734b
Merge pull request #202 from contentstack/development
harshithad0703 Oct 29, 2025
9725c8a
Merge pull request #204 from contentstack/master
harshithad0703 Oct 29, 2025
cf56696
feat: enhance region loading and update configurations
nadeem-cs Oct 31, 2025
a439de5
feat: improve error handling for regions.json loading and update test…
nadeem-cs Oct 31, 2025
4f540c0
Merge pull request #205 from contentstack/feat/DX-3423-endpoints-help…
nadeem-cs Oct 31, 2025
ac7e13b
Merge pull request #206 from contentstack/development
nadeem-cs Oct 31, 2025
6d8ad12
feat: update CI workflow to include node setup and npm install steps
nadeem-cs Nov 3, 2025
f48d206
Merge pull request #207 from contentstack/feat/DX-3423-endpoints-help…
nadeem-cs Nov 3, 2025
8cacebc
Merge pull request #208 from contentstack/development
nadeem-cs Nov 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"subject-case": [
2,
"always",
["sentence-case", "start-case", "pascal-case", "upper-case", "lower-case"]
],
"subject-case": [0],
"subject-empty": [2, "never"],
"subject-full-stop": [2, "never", "."],
"type-enum": [
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,15 @@ on:
jobs:
build-test:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '22.x'
- run: npm ci
- uses: ArtiomTr/jest-coverage-report-action@v2
id: coverage-utils-js
with:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ dist/
coverage/
.dccache
snyk_output.log
talisman_output.log
talisman_output.log
regions.json
4 changes: 3 additions & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ fileignoreconfig:
ignore_detectors:
- filecontent
- filename: package-lock.json
checksum: fb18e620409c9476503edb301ef7b1360681e7d03d8c9b93c2e7a6453c744631
checksum: d55fde89f42bf080e243915bc5c3fd1d0302e1d11c0b14deb62fef3574c5ba56
- filename: src/entry-editable.ts
checksum: 3ba7af9ed1c1adef2e2bd5610099716562bebb8ba750d4b41ddda99fc9eaf115
- filename: .husky/pre-commit
checksum: 5baabd7d2c391648163f9371f0e5e9484f8fb90fa2284cfc378732ec3192c193
- filename: src/endpoints.ts
checksum: 721a1df93b02d04c1c19a76c171fe2748e4abb1fc3e43452e76fecfd8f384751
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [1.6.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.6.0)
- Feat: Adds Helper functions for Contentstack Endpoints

## [1.5.0](https://github.com/contentstack/contentstack-utils-javascript/tree/v1.4.5) (2025-10-27)
- fix: handle null and undefined values in getTag function
- fix: refernce variant cslp generation fix
Expand Down
Loading
Loading