From de2cd1d60d527ac243da1f0ccb502afe192771c0 Mon Sep 17 00:00:00 2001 From: raj pandey Date: Tue, 9 Jan 2024 14:26:29 +0530 Subject: [PATCH 1/2] gcp for export --- package-lock.json | 6 +++--- packages/contentstack-clone/package.json | 4 ++-- packages/contentstack-export-to-csv/package.json | 2 +- packages/contentstack-export/package.json | 4 ++-- packages/contentstack-export/src/config/index.ts | 3 +++ packages/contentstack-export/src/types/default-config.ts | 2 ++ packages/contentstack/package.json | 4 ++-- pnpm-lock.yaml | 4 ++-- 8 files changed, 17 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index e7cf5847c3..2d7ca5db07 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23499,7 +23499,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.11.0", "@contentstack/cli-cm-export-to-csv": "~1.6.2", "@contentstack/cli-cm-import": "~1.13.0", "@contentstack/cli-cm-migrate-rte": "~1.4.15", @@ -24053,7 +24053,7 @@ "license": "MIT", "dependencies": { "@colors/colors": "^1.5.0", - "@contentstack/cli-cm-export": "~1.10.2", + "@contentstack/cli-cm-export": "~1.11.0", "@contentstack/cli-cm-import": "~1.13.0", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.5.10", @@ -24459,7 +24459,7 @@ }, "packages/contentstack-export": { "name": "@contentstack/cli-cm-export", - "version": "1.10.3", + "version": "1.11.0", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.16", diff --git a/packages/contentstack-clone/package.json b/packages/contentstack-clone/package.json index 46e1791133..0ef230a432 100644 --- a/packages/contentstack-clone/package.json +++ b/packages/contentstack-clone/package.json @@ -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.11.0", "@contentstack/cli-cm-import": "~1.13.0", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.5.10", @@ -70,4 +70,4 @@ "cm:stack-clone": "O-CLN" } } -} \ No newline at end of file +} diff --git a/packages/contentstack-export-to-csv/package.json b/packages/contentstack-export-to-csv/package.json index 1fae8312a8..e0184b309e 100644 --- a/packages/contentstack-export-to-csv/package.json +++ b/packages/contentstack-export-to-csv/package.json @@ -65,4 +65,4 @@ } }, "repository": "https://github.com/contentstack/cli" -} \ No newline at end of file +} diff --git a/packages/contentstack-export/package.json b/packages/contentstack-export/package.json index 5c2874f7be..3243734db5 100644 --- a/packages/contentstack-export/package.json +++ b/packages/contentstack-export/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-cm-export", "description": "Contentstack CLI plugin to export content from stack", - "version": "1.10.3", + "version": "1.11.0", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { @@ -98,4 +98,4 @@ } }, "repository": "https://github.com/contentstack/cli" -} \ No newline at end of file +} diff --git a/packages/contentstack-export/src/config/index.ts b/packages/contentstack-export/src/config/index.ts index 3f166a79d7..ec027efe10 100644 --- a/packages/contentstack-export/src/config/index.ts +++ b/packages/contentstack-export/src/config/index.ts @@ -10,6 +10,7 @@ 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', @@ -17,6 +18,8 @@ const config: DefaultConfig = { // 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', diff --git a/packages/contentstack-export/src/types/default-config.ts b/packages/contentstack-export/src/types/default-config.ts index b63bba06c1..ca2d5ef886 100644 --- a/packages/contentstack-export/src/types/default-config.ts +++ b/packages/contentstack-export/src/types/default-config.ts @@ -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: { diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index 9e4921c8d7..94f7bd073b 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -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.11.0", "@contentstack/cli-cm-export-to-csv": "~1.6.2", "@contentstack/cli-cm-import": "~1.13.0", "@contentstack/cli-cm-migrate-rte": "~1.4.15", @@ -160,4 +160,4 @@ } }, "repository": "https://github.com/contentstack/cli" -} \ No newline at end of file +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9cfe8e1a66..05d6c7ccb7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,7 +16,7 @@ importers: '@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.11.0 '@contentstack/cli-cm-export-to-csv': ~1.6.2 '@contentstack/cli-cm-import': ~1.13.0 '@contentstack/cli-cm-migrate-rte': ~1.4.15 @@ -421,7 +421,7 @@ importers: packages/contentstack-clone: specifiers: '@colors/colors': ^1.5.0 - '@contentstack/cli-cm-export': ~1.10.2 + '@contentstack/cli-cm-export': ~1.11.0 '@contentstack/cli-cm-import': ~1.13.0 '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.5.10 From 73af90be0f812fe49302633213ccc1d90dda68a9 Mon Sep 17 00:00:00 2001 From: raj pandey Date: Wed, 10 Jan 2024 11:49:44 +0530 Subject: [PATCH 2/2] changed version bump to patch --- package-lock.json | 6 +++--- packages/contentstack-clone/package.json | 2 +- packages/contentstack-export/package.json | 2 +- packages/contentstack/package.json | 2 +- pnpm-lock.yaml | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2d7ca5db07..b73ac78bbc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23499,7 +23499,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.11.0", + "@contentstack/cli-cm-export": "~1.10.4", "@contentstack/cli-cm-export-to-csv": "~1.6.2", "@contentstack/cli-cm-import": "~1.13.0", "@contentstack/cli-cm-migrate-rte": "~1.4.15", @@ -24053,7 +24053,7 @@ "license": "MIT", "dependencies": { "@colors/colors": "^1.5.0", - "@contentstack/cli-cm-export": "~1.11.0", + "@contentstack/cli-cm-export": "~1.10.4", "@contentstack/cli-cm-import": "~1.13.0", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.5.10", @@ -24459,7 +24459,7 @@ }, "packages/contentstack-export": { "name": "@contentstack/cli-cm-export", - "version": "1.11.0", + "version": "1.10.4", "license": "MIT", "dependencies": { "@contentstack/cli-command": "~1.2.16", diff --git a/packages/contentstack-clone/package.json b/packages/contentstack-clone/package.json index 0ef230a432..42706d1acb 100644 --- a/packages/contentstack-clone/package.json +++ b/packages/contentstack-clone/package.json @@ -5,7 +5,7 @@ "author": "Contentstack", "bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues", "dependencies": { - "@contentstack/cli-cm-export": "~1.11.0", + "@contentstack/cli-cm-export": "~1.10.4", "@contentstack/cli-cm-import": "~1.13.0", "@contentstack/cli-command": "~1.2.16", "@contentstack/cli-utilities": "~1.5.10", diff --git a/packages/contentstack-export/package.json b/packages/contentstack-export/package.json index 3243734db5..9561483721 100644 --- a/packages/contentstack-export/package.json +++ b/packages/contentstack-export/package.json @@ -1,7 +1,7 @@ { "name": "@contentstack/cli-cm-export", "description": "Contentstack CLI plugin to export content from stack", - "version": "1.11.0", + "version": "1.10.4", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "dependencies": { diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index 94f7bd073b..8635290453 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -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.11.0", + "@contentstack/cli-cm-export": "~1.10.4", "@contentstack/cli-cm-export-to-csv": "~1.6.2", "@contentstack/cli-cm-import": "~1.13.0", "@contentstack/cli-cm-migrate-rte": "~1.4.15", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 05d6c7ccb7..5b0cf08db8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,7 +16,7 @@ importers: '@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.11.0 + '@contentstack/cli-cm-export': ~1.10.4 '@contentstack/cli-cm-export-to-csv': ~1.6.2 '@contentstack/cli-cm-import': ~1.13.0 '@contentstack/cli-cm-migrate-rte': ~1.4.15 @@ -421,7 +421,7 @@ importers: packages/contentstack-clone: specifiers: '@colors/colors': ^1.5.0 - '@contentstack/cli-cm-export': ~1.11.0 + '@contentstack/cli-cm-export': ~1.10.4 '@contentstack/cli-cm-import': ~1.13.0 '@contentstack/cli-command': ~1.2.16 '@contentstack/cli-utilities': ~1.5.10