From ff4f8d2598dfd69b2fc12cf007702c3efd7a0cca Mon Sep 17 00:00:00 2001 From: Amitkanswal Date: Mon, 22 Jan 2024 14:51:36 +0530 Subject: [PATCH 1/2] fix:update env sample Signed-off-by: Amitkanswal --- .env.example | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.example b/.env.example index 3a3b49c..92dc51b 100644 --- a/.env.example +++ b/.env.example @@ -4,18 +4,18 @@ REACT_APP_CONTENTSTACK_API_KEY=your_stack_api_key REACT_APP_CONTENTSTACK_DELIVERY_TOKEN=your_delivery_token -REACT_APP_CONTENTSTACK_ENVIRONMENT=your_environment_token +REACT_APP_CONTENTSTACK_ENVIRONMENT=your_environment_name # Below config options are for enabling live preview/live edit tags for the starter app -REACT_APP_CONTENTSTACK_PREVIEW_HOST= rest-preview.contentstack.com -REACT_APP_CONTENTSTACK_PREVIEW_TOKEN= your_live_preview_token +REACT_APP_CONTENTSTACK_PREVIEW_HOST=rest-preview.contentstack.com +REACT_APP_CONTENTSTACK_PREVIEW_TOKEN=your_live_preview_token REACT_APP_CONTENTSTACK_APP_HOST=app.contentstack.com -REACT_APP_CONTENTSTACK_LIVE_PREVIEW= true -REACT_APP_CONTENTSTACK_LIVE_EDIT_TAGS= false +REACT_APP_CONTENTSTACK_LIVE_PREVIEW=true +REACT_APP_CONTENTSTACK_LIVE_EDIT_TAGS=false -# REACT_APP_CONTENTSTACK_API_HOST=api.contentstack.com +# REACT_APP_CONTENTSTACK_API_HOST= api.contentstack.io # REACT_APP_CONTENTSTACK_REGION=eu # REACT_APP_CONTENTSTACK_BRANCH=main From f9ae0c859dbb82a64cdc6080e2156f42a9a6ff4a Mon Sep 17 00:00:00 2001 From: Amitkanswal Date: Mon, 22 Jan 2024 16:54:25 +0530 Subject: [PATCH 2/2] fix:update contentstack branch Signed-off-by: Amitkanswal --- package-lock.json | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8560c95..31ecda0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@contentstack/utils": "^1.3.1", "@textea/json-viewer": "^3.3.0", "@types/react": "^18.2.48", - "contentstack": "github:Deepak-Kharah/contentstack-javascript#VC-311-changes-for-rest-preview-service", + "contentstack": "github:contentstack/contentstack-javascript#fix/CS-43301-merge-live-preview", "html-react-parser": "^3.0.16", "moment": "^2.30.1", "nth-check": "^2.1.1", @@ -6196,8 +6196,8 @@ } }, "node_modules/contentstack": { - "version": "3.17.2", - "resolved": "git+ssh://git@github.com/Deepak-Kharah/contentstack-javascript.git#d0d2bbd3a330d8a15f851e42692aef44cb760de4", + "version": "3.18.0", + "resolved": "git+ssh://git@github.com/contentstack/contentstack-javascript.git#06ce95a28cf6fcc92a044b6b5dd5115b67d35843", "license": "MIT", "dependencies": { "@contentstack/utils": "^1.2.0", @@ -22028,8 +22028,8 @@ "dev": true }, "contentstack": { - "version": "git+ssh://git@github.com/Deepak-Kharah/contentstack-javascript.git#d0d2bbd3a330d8a15f851e42692aef44cb760de4", - "from": "contentstack@github:Deepak-Kharah/contentstack-javascript#VC-311-changes-for-rest-preview-service", + "version": "git+ssh://git@github.com/contentstack/contentstack-javascript.git#06ce95a28cf6fcc92a044b6b5dd5115b67d35843", + "from": "contentstack@github:contentstack/contentstack-javascript#fix/CS-43301-merge-live-preview", "requires": { "@contentstack/utils": "^1.2.0", "es6-promise": "^4.1.1", diff --git a/package.json b/package.json index 9aa8b82..9dd17c7 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "@contentstack/utils": "^1.3.1", "@textea/json-viewer": "^3.3.0", "@types/react": "^18.2.48", - "contentstack": "github:Deepak-Kharah/contentstack-javascript#VC-311-changes-for-rest-preview-service", + "contentstack": "github:contentstack/contentstack-javascript#fix/CS-43301-merge-live-preview", "html-react-parser": "^3.0.16", "moment": "^2.30.1", "nth-check": "^2.1.1",