Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
f99faa6
Bump version to 0.0.5 in package.json
harshithad0703 Oct 27, 2025
704abbf
Merge pull request #20 from contentstack/chore/adapter-fix
harshithad0703 Oct 27, 2025
6385725
fix snyk issues
harshithad0703 Jan 5, 2026
a7b1490
Merge pull request #24 from contentstack/fix/snyk
harshithad0703 Jan 5, 2026
fad3bc8
Lock file update
cs-raj Jan 9, 2026
c2a78da
Merge pull request #26 from contentstack/fix/DX-3875
cs-raj Jan 9, 2026
a310114
chore: update dependencies and version in package.json and package-lo…
timbenniks Jan 13, 2026
3913b82
Merge pull request #27 from contentstack/chore/deps-update-2026-01-13
harshithad0703 Jan 13, 2026
0c02a99
snyk fixes
harshithad0703 Feb 6, 2026
0f36a6c
Merge pull request #34 from contentstack/chore/security-fixes
cs-raj Feb 9, 2026
4445cb1
Update sca-scan.yml
dhavaljain999 Mar 3, 2026
28420c5
Bump delivery-sdk to ^5.1.2; lockfile updated
sunil-lakshman Mar 20, 2026
51bf2b5
Merge pull request #36 from contentstack/chore/upgrade-contentstack-c…
sunil-lakshman Mar 20, 2026
5d88c2e
chore: update production dependencies
timbenniks Mar 23, 2026
170291e
version bump
harshithad0703 Mar 23, 2026
54f65bd
Merge pull request #37 from contentstack/chore/deps-update-2026-03-23
harshithad0703 Mar 26, 2026
e321cf0
fix: snyk issues
abhishek-ezhava-cstk Apr 22, 2026
fd135c3
version update
abhishek-ezhava-cstk Apr 22, 2026
b65af6f
Merge pull request #38 from contentstack/fix/snyk-issues
harshithad0703 Apr 22, 2026
7220652
fix: medium severity issue
abhishek-ezhava-cstk Apr 22, 2026
9a3c5ea
Merge pull request #39 from contentstack/fix/snyk
cs-raj Apr 22, 2026
aded391
fixed snyk issue
sunil-lakshman May 6, 2026
2603ab2
Merge pull request #40 from contentstack/fix-snyk-fix
aniket-shikhare-cstk May 6, 2026
f327088
snyk fix: bump version to 0.0.12 and update @contentstack/delivery-sd…
reeshika-h Jun 3, 2026
e4764c1
Merge pull request #41 from contentstack/fix-snyk
harshithad0703 Jun 3, 2026
077902a
chore: dependency updated
cs-raj Jun 17, 2026
47eba7b
Merge pull request #42 from contentstack/fix/dependency
cs-raj Jun 17, 2026
beb34f9
replace @timbenniks/contentstack-endpoints with @contentstack/utils
cs-raj Jun 18, 2026
1ee0876
chore: lockfile update
cs-raj Jun 18, 2026
46a9f7d
chore: changed region from us to NA
cs-raj Jun 19, 2026
c528b6d
issues-jira.yml
Aravind-Kumar-cstk Jun 19, 2026
fe2af0e
Merge branch 'main' into enhc/DX-8593
cs-raj Jun 19, 2026
2f4a823
Merge pull request #43 from contentstack/enhc/DX-8593
cs-raj Jun 19, 2026
ebf8813
added optional dependency
cs-raj Jun 19, 2026
463fdf4
Merge branch 'main' into enhc/DX-8593
cs-raj Jun 19, 2026
b90bb45
lock file update
cs-raj Jun 19, 2026
2df6c16
updated npmrc
cs-raj Jun 19, 2026
d5dadec
lock file update
cs-raj Jun 19, 2026
0329dea
dependency added
cs-raj Jun 19, 2026
30caf66
revert npmrc changes
cs-raj Jun 19, 2026
6e1e9f6
reverted npmrc changes
cs-raj Jun 19, 2026
c773475
lock file update
cs-raj Jun 19, 2026
ac72fcf
Merge pull request #44 from contentstack/enhc/DX-8593
cs-raj Jun 19, 2026
4940832
Delete issues-jira.yml
Aravind-Kumar-cstk Jun 30, 2026
85bcffb
fix snyk issues
harshithad0703 Jul 29, 2026
8cfc813
Merge pull request #53 from contentstack/fix/snyk-issues
harshithad0703 Jul 30, 2026
0a09701
sca-scan.yml
Aravind-Kumar-cstk Aug 2, 2026
589db4b
fix snyk issues
harshithad0703 Aug 10, 2026
63c99c1
Merge pull request #57 from contentstack/fix/snyk-issue
harshithad0703 Aug 10, 2026
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
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ VITE_CONTENTSTACK_API_KEY=your_api_key_here
VITE_CONTENTSTACK_DELIVERY_TOKEN=your_delivery_token_here
VITE_CONTENTSTACK_PREVIEW_TOKEN=your_preview_token_here
VITE_CONTENTSTACK_ENVIRONMENT=preview
VITE_CONTENTSTACK_REGION=EU # Options: EU or NA
VITE_CONTENTSTACK_REGION=EU # Options: NA, EU, AU, AZURE-NA, AZURE-EU, GCP-NA, GCP-EU
VITE_CONTENTSTACK_PREVIEW=true # Set to true to enable preview
31 changes: 0 additions & 31 deletions .github/workflows/issues-jira.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .github/workflows/sca-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
jobs:
security-sca:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
Expand All @@ -13,3 +16,6 @@ jobs:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --all-projects --fail-on=all
json: true
continue-on-error: true
- uses: contentstack/sca-policy@main
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
engine-strict=true
engine-strict=false
optional=true
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2025 Contentstack
Copyright (c) 2026 Contentstack

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
42 changes: 41 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,44 @@ Go to `http://localhost:5173`.

Go to Entries and select the only entry in the list.
In the sidebar, click on the live preview icon.
Or, see your entry in the visual builder
Or, see your entry in the visual builder

## Regions and endpoint configuration

Set `VITE_CONTENTSTACK_REGION` to the value matching your Contentstack account region:

| Region | Value |
|---|---|
| North America (default) | `NA` or `US` |
| Europe | `EU` |
| Australia | `AU` |
| Azure North America | `AZURE-NA` |
| Azure Europe | `AZURE-EU` |
| GCP North America | `GCP-NA` |
| GCP Europe | `GCP-EU` |

The app uses `getContentstackEndpoint` from `@contentstack/utils` to resolve the correct API hostnames for your region automatically. The following endpoint keys are resolved:

| Key | NA value |
|---|---|
| `contentDelivery` | `cdn.contentstack.io` |
| `preview` | `rest-preview.contentstack.com` |
| `application` | `app.contentstack.com` |
| `graphqlDelivery` | `graphql.contentstack.com` |
| `graphqlPreview` | `graphql-preview.contentstack.com` |
| `images` | `images.contentstack.io` |
| `assets` | `assets.contentstack.io` |
| `contentManagement` | `api.contentstack.io` |
| `auth` | `auth.contentstack.io` |

### Custom or dedicated environments

If you are on a dedicated or private cloud Contentstack instance, you can override the resolved endpoints via environment variables:

```
VITE_CONTENTSTACK_CONTENT_DELIVERY=your-custom-cdn.example.com
VITE_CONTENTSTACK_PREVIEW_HOST=your-custom-preview.example.com
VITE_CONTENTSTACK_CONTENT_APPLICATION=your-custom-app.example.com
```

These override values take precedence over the region-resolved endpoints.
Loading
Loading