Skip to content

Commit

Permalink
Merge pull request #1233 from contentstack/feat/CS-43270
Browse files Browse the repository at this point in the history
CS-43270-Changes required for GCP support in export plugin
  • Loading branch information
cs-raj authored Jan 10, 2024
2 parents cce1687 + 1c45225 commit 4238d6e
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 8 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/contentstack-clone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Contentstack",
"bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues",
"dependencies": {
"@contentstack/cli-cm-export": "~1.10.2",
"@contentstack/cli-cm-export": "~1.10.4",
"@contentstack/cli-cm-import": "~1.13.1",
"@contentstack/cli-command": "~1.2.16",
"@contentstack/cli-utilities": "~1.5.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-export/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-cm-export",
"description": "Contentstack CLI plugin to export content from stack",
"version": "1.10.3",
"version": "1.10.4",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/contentstack-export/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ const config: DefaultConfig = {
'https://eu-api.contentstack.com': 'https://eu-developerhub-api.contentstack.com',
'https://azure-na-api.contentstack.com': 'https://azure-na-developerhub-api.contentstack.com',
'https://azure-eu-api.contentstack.com': 'https://azure-eu-developerhub-api.contentstack.com',
'https://gcp-na-api.contentstack.com': 'https://gcp-na-developerhub-api.contentstack.com',
},
// use below hosts for eu region
// host:'https://eu-api.contentstack.com/v3',
// use below hosts for azure-na region
// host:'https://azure-na-api.contentstack.com/v3',
// use below hosts for azure-eu region
// host:'https://azure-eu-api.contentstack.com/v3',
// use below hosts for gcp-na region
// host: 'https://gcp-na-api.contentstack.com'
modules: {
types: [
'stack',
Expand Down
2 changes: 2 additions & 0 deletions packages/contentstack-export/src/types/default-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export default interface DefaultConfig {
// host:'https://eu-api.contentstack.com/v3',
// use below hosts for azure-na region
// host:'https://azure-na-api.contentstack.com/v3',
// use below hosts for gcp-na region
// host: 'https://gcp-na-api.contentstack.com'
modules: {
types: Modules[];
locales: {
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@contentstack/cli-cm-branches": "~1.0.20",
"@contentstack/cli-cm-bulk-publish": "~1.4.0",
"@contentstack/cli-cm-clone": "~1.9.0",
"@contentstack/cli-cm-export": "~1.10.2",
"@contentstack/cli-cm-export": "~1.10.4",
"@contentstack/cli-cm-export-to-csv": "~1.6.2",
"@contentstack/cli-cm-import": "~1.13.1",
"@contentstack/cli-cm-migrate-rte": "~1.4.15",
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4238d6e

Please sign in to comment.