@commercetools-frontend/application-cli 4.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/dist/commercetools-frontend-application-cli-cli.cjs.dev.js +2 -2
- package/cli/dist/commercetools-frontend-application-cli-cli.cjs.prod.js +2 -2
- package/cli/dist/commercetools-frontend-application-cli-cli.esm.js +2 -2
- package/dist/commercetools-frontend-application-cli.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-application-cli.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-application-cli.esm.js +1 -1
- package/dist/declarations/src/constants.d.ts +22 -6
- package/dist/{storage-buckets-config-4efd594f.cjs.dev.js → storage-buckets-config-2cde4ee9.cjs.prod.js} +31 -15
- package/dist/{storage-buckets-config-9cb03521.cjs.prod.js → storage-buckets-config-b89e3489.cjs.dev.js} +31 -15
- package/dist/{storage-buckets-config-5db36778.esm.js → storage-buckets-config-f0287ffd.esm.js} +31 -15
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instan
|
|
|
17
17
|
var _Object$entries = require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
18
18
|
var _Set = require('@babel/runtime-corejs3/core-js-stable/set');
|
|
19
19
|
var _flatMapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/flat-map');
|
|
20
|
-
var storageBucketsConfig = require('../../dist/storage-buckets-config-
|
|
20
|
+
var storageBucketsConfig = require('../../dist/storage-buckets-config-b89e3489.cjs.dev.js');
|
|
21
21
|
var fs = require('node:fs');
|
|
22
22
|
var path$1 = require('node:path');
|
|
23
23
|
var listr2 = require('listr2');
|
|
@@ -1265,7 +1265,7 @@ async function command(cliFlags) {
|
|
|
1265
1265
|
|
|
1266
1266
|
var pkgJson = {
|
|
1267
1267
|
name: "@commercetools-frontend/application-cli",
|
|
1268
|
-
version: "
|
|
1268
|
+
version: "5.0.0",
|
|
1269
1269
|
description: "Internal CLI to manage Merchant Center application deployments across various environments.",
|
|
1270
1270
|
keywords: [
|
|
1271
1271
|
"commercetools",
|
|
@@ -17,7 +17,7 @@ var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instan
|
|
|
17
17
|
var _Object$entries = require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
18
18
|
var _Set = require('@babel/runtime-corejs3/core-js-stable/set');
|
|
19
19
|
var _flatMapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/flat-map');
|
|
20
|
-
var storageBucketsConfig = require('../../dist/storage-buckets-config-
|
|
20
|
+
var storageBucketsConfig = require('../../dist/storage-buckets-config-2cde4ee9.cjs.prod.js');
|
|
21
21
|
var fs = require('node:fs');
|
|
22
22
|
var path$1 = require('node:path');
|
|
23
23
|
var listr2 = require('listr2');
|
|
@@ -1265,7 +1265,7 @@ async function command(cliFlags) {
|
|
|
1265
1265
|
|
|
1266
1266
|
var pkgJson = {
|
|
1267
1267
|
name: "@commercetools-frontend/application-cli",
|
|
1268
|
-
version: "
|
|
1268
|
+
version: "5.0.0",
|
|
1269
1269
|
description: "Internal CLI to manage Merchant Center application deployments across various environments.",
|
|
1270
1270
|
keywords: [
|
|
1271
1271
|
"commercetools",
|
|
@@ -13,7 +13,7 @@ import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance
|
|
|
13
13
|
import _Object$entries from '@babel/runtime-corejs3/core-js-stable/object/entries';
|
|
14
14
|
import _Set from '@babel/runtime-corejs3/core-js-stable/set';
|
|
15
15
|
import _flatMapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/flat-map';
|
|
16
|
-
import { s as storageProviders, l as loadStorageBucketsConfig, c as clusterContexts, a as loadConfig } from '../../dist/storage-buckets-config-
|
|
16
|
+
import { s as storageProviders, l as loadStorageBucketsConfig, c as clusterContexts, a as loadConfig } from '../../dist/storage-buckets-config-f0287ffd.esm.js';
|
|
17
17
|
import fs from 'node:fs';
|
|
18
18
|
import path$1 from 'node:path';
|
|
19
19
|
import { Listr } from 'listr2';
|
|
@@ -1229,7 +1229,7 @@ async function command(cliFlags) {
|
|
|
1229
1229
|
|
|
1230
1230
|
var pkgJson = {
|
|
1231
1231
|
name: "@commercetools-frontend/application-cli",
|
|
1232
|
-
version: "
|
|
1232
|
+
version: "5.0.0",
|
|
1233
1233
|
description: "Internal CLI to manage Merchant Center application deployments across various environments.",
|
|
1234
1234
|
keywords: [
|
|
1235
1235
|
"commercetools",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var storageBucketsConfig = require('./storage-buckets-config-
|
|
5
|
+
var storageBucketsConfig = require('./storage-buckets-config-b89e3489.cjs.dev.js');
|
|
6
6
|
require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
8
8
|
require('cosmiconfig');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var storageBucketsConfig = require('./storage-buckets-config-
|
|
5
|
+
var storageBucketsConfig = require('./storage-buckets-config-2cde4ee9.cjs.prod.js');
|
|
6
6
|
require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
8
8
|
require('cosmiconfig');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as bucketEnvironments, e as bucketRegions, c as clusterContexts, d as defineStorageBucketsConfig, s as storageProviders } from './storage-buckets-config-
|
|
1
|
+
export { b as bucketEnvironments, e as bucketRegions, c as clusterContexts, d as defineStorageBucketsConfig, s as storageProviders } from './storage-buckets-config-f0287ffd.esm.js';
|
|
2
2
|
import '@babel/runtime-corejs3/core-js-stable/instance/for-each';
|
|
3
3
|
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
4
4
|
import 'cosmiconfig';
|
|
@@ -15,19 +15,35 @@ export declare const clusterContexts: {
|
|
|
15
15
|
readonly ctp_production_azure_germanywestcentral_v1: "ctp_production_azure_germanywestcentral_v1";
|
|
16
16
|
};
|
|
17
17
|
export declare const bucketEnvironments: {
|
|
18
|
-
readonly 'ctp-gcp-staging': "ctp-gcp-staging";
|
|
18
|
+
readonly 'ctp-gcp-staging-eu': "ctp-gcp-staging-eu";
|
|
19
19
|
readonly 'ctp-vw-staging-eu': "ctp-vw-staging-eu";
|
|
20
20
|
readonly 'ctp-gcp-testing-performance-eu': "ctp-gcp-testing-performance-eu";
|
|
21
|
-
readonly 'ctp-azure-staging': "ctp-azure-staging";
|
|
22
|
-
readonly 'ctp-
|
|
21
|
+
readonly 'ctp-azure-staging-eu': "ctp-azure-staging-eu";
|
|
22
|
+
readonly 'ctp-aws-production-eu': "ctp-aws-production-eu";
|
|
23
|
+
readonly 'ctp-aws-production-us': "ctp-aws-production-us";
|
|
23
24
|
readonly 'ctp-azure-production-eu': "ctp-azure-production-eu";
|
|
24
|
-
readonly 'ctp-
|
|
25
|
+
readonly 'ctp-azure-production-us': "ctp-azure-production-us";
|
|
26
|
+
readonly 'ctp-gcp-production-au': "ctp-gcp-production-au";
|
|
25
27
|
readonly 'ctp-gcp-production-eu': "ctp-gcp-production-eu";
|
|
28
|
+
readonly 'ctp-gcp-production-us': "ctp-gcp-production-us";
|
|
26
29
|
readonly 'ctp-vw-production-eu': "ctp-vw-production-eu";
|
|
27
30
|
readonly 'ctp-att-production-va': "ctp-att-production-va";
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated: use `ctp-gcp-staging-eu` instead
|
|
33
|
+
*/
|
|
34
|
+
readonly 'ctp-gcp-staging': "ctp-gcp-staging";
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated: use `ctp-azure-staging-eu` instead
|
|
37
|
+
*/
|
|
38
|
+
readonly 'ctp-azure-staging': "ctp-azure-staging";
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated: use `ctp-aws-production-eu` instead
|
|
41
|
+
*/
|
|
42
|
+
readonly 'ctp-aws-production-fra': "ctp-aws-production-fra";
|
|
43
|
+
/**
|
|
44
|
+
* @deprecated: use `ctp-aws-production-us` instead
|
|
45
|
+
*/
|
|
28
46
|
readonly 'ctp-aws-production-ohio': "ctp-aws-production-ohio";
|
|
29
|
-
readonly 'ctp-gcp-production-us': "ctp-gcp-production-us";
|
|
30
|
-
readonly 'ctp-gcp-production-au': "ctp-gcp-production-au";
|
|
31
47
|
};
|
|
32
48
|
export declare const bucketRegions: {
|
|
33
49
|
readonly previews: "merchant-center-previews";
|
|
@@ -28,19 +28,35 @@ const clusterContexts = {
|
|
|
28
28
|
ctp_production_azure_germanywestcentral_v1: 'ctp_production_azure_germanywestcentral_v1'
|
|
29
29
|
};
|
|
30
30
|
const bucketEnvironments = {
|
|
31
|
-
'ctp-gcp-staging': 'ctp-gcp-staging',
|
|
31
|
+
'ctp-gcp-staging-eu': 'ctp-gcp-staging-eu',
|
|
32
32
|
'ctp-vw-staging-eu': 'ctp-vw-staging-eu',
|
|
33
33
|
'ctp-gcp-testing-performance-eu': 'ctp-gcp-testing-performance-eu',
|
|
34
|
-
'ctp-azure-staging': 'ctp-azure-staging',
|
|
35
|
-
'ctp-
|
|
34
|
+
'ctp-azure-staging-eu': 'ctp-azure-staging-eu',
|
|
35
|
+
'ctp-aws-production-eu': 'ctp-aws-production-eu',
|
|
36
|
+
'ctp-aws-production-us': 'ctp-aws-production-us',
|
|
36
37
|
'ctp-azure-production-eu': 'ctp-azure-production-eu',
|
|
37
|
-
'ctp-
|
|
38
|
+
'ctp-azure-production-us': 'ctp-azure-production-us',
|
|
39
|
+
'ctp-gcp-production-au': 'ctp-gcp-production-au',
|
|
38
40
|
'ctp-gcp-production-eu': 'ctp-gcp-production-eu',
|
|
41
|
+
'ctp-gcp-production-us': 'ctp-gcp-production-us',
|
|
39
42
|
'ctp-vw-production-eu': 'ctp-vw-production-eu',
|
|
40
43
|
'ctp-att-production-va': 'ctp-att-production-va',
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated: use `ctp-gcp-staging-eu` instead
|
|
46
|
+
*/
|
|
47
|
+
'ctp-gcp-staging': 'ctp-gcp-staging',
|
|
48
|
+
/**
|
|
49
|
+
* @deprecated: use `ctp-azure-staging-eu` instead
|
|
50
|
+
*/
|
|
51
|
+
'ctp-azure-staging': 'ctp-azure-staging',
|
|
52
|
+
/**
|
|
53
|
+
* @deprecated: use `ctp-aws-production-eu` instead
|
|
54
|
+
*/
|
|
55
|
+
'ctp-aws-production-fra': 'ctp-aws-production-fra',
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated: use `ctp-aws-production-us` instead
|
|
58
|
+
*/
|
|
59
|
+
'ctp-aws-production-ohio': 'ctp-aws-production-ohio'
|
|
44
60
|
};
|
|
45
61
|
const bucketRegions = {
|
|
46
62
|
previews: 'merchant-center-previews',
|
|
@@ -62,12 +78,12 @@ const storageProviders = {
|
|
|
62
78
|
urls: {
|
|
63
79
|
public: {
|
|
64
80
|
default: null,
|
|
65
|
-
'ctp-aws-production-
|
|
66
|
-
'ctp-aws-production-
|
|
81
|
+
[bucketEnvironments['ctp-aws-production-eu']]: 'https://mc-storage.eu-central-1.aws.commercetools.com',
|
|
82
|
+
[bucketEnvironments['ctp-aws-production-us']]: 'https://mc-storage.us-east-2.aws.commercetools.com'
|
|
67
83
|
},
|
|
68
84
|
bucket: {
|
|
69
|
-
|
|
70
|
-
|
|
85
|
+
[bucketRegions.europe]: 'commercetools-mc-storage-aws-eu-prod-merchant-center',
|
|
86
|
+
[bucketRegions.northAmerica]: 'commercetools-mc-storage-aws-us-prod-merchant-center'
|
|
71
87
|
}
|
|
72
88
|
}
|
|
73
89
|
}
|
|
@@ -76,7 +92,7 @@ const storageProviders = {
|
|
|
76
92
|
const defaultConfig = {
|
|
77
93
|
[bucketRegions.previews]: [{
|
|
78
94
|
cloudEnvironment: clusterContexts['ctp_staging_gcp_europe-west1_v1'],
|
|
79
|
-
bucketEnvironment: bucketEnvironments['ctp-gcp-staging']
|
|
95
|
+
bucketEnvironment: bucketEnvironments['ctp-gcp-staging-eu']
|
|
80
96
|
}, {
|
|
81
97
|
cloudEnvironment: clusterContexts['vw_staging_aws_eu-central-1_v1'],
|
|
82
98
|
bucketEnvironment: bucketEnvironments['ctp-vw-staging-eu']
|
|
@@ -85,11 +101,11 @@ const defaultConfig = {
|
|
|
85
101
|
bucketEnvironment: bucketEnvironments['ctp-gcp-testing-performance-eu']
|
|
86
102
|
}, {
|
|
87
103
|
cloudEnvironment: clusterContexts['ctp_staging_azure_northeurope_v1'],
|
|
88
|
-
bucketEnvironment: bucketEnvironments['ctp-azure-staging']
|
|
104
|
+
bucketEnvironment: bucketEnvironments['ctp-azure-staging-eu']
|
|
89
105
|
}],
|
|
90
106
|
[bucketRegions.europe]: [{
|
|
91
107
|
cloudEnvironment: clusterContexts['ctp_production_aws_eu-central-1_v1'],
|
|
92
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-production-
|
|
108
|
+
bucketEnvironment: bucketEnvironments['ctp-aws-production-eu'],
|
|
93
109
|
storageProviders: ['gs', 's3']
|
|
94
110
|
}, {
|
|
95
111
|
cloudEnvironment: clusterContexts['ctp_production_gcp_europe-west1_v1'],
|
|
@@ -106,7 +122,7 @@ const defaultConfig = {
|
|
|
106
122
|
bucketEnvironment: bucketEnvironments['ctp-att-production-va']
|
|
107
123
|
}, {
|
|
108
124
|
cloudEnvironment: clusterContexts['ctp_production_aws_us-east-2_v1'],
|
|
109
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-production-
|
|
125
|
+
bucketEnvironment: bucketEnvironments['ctp-aws-production-us'],
|
|
110
126
|
storageProviders: ['gs', 's3']
|
|
111
127
|
}, {
|
|
112
128
|
cloudEnvironment: clusterContexts['ctp_production_gcp_us-central1_v1'],
|
|
@@ -28,19 +28,35 @@ const clusterContexts = {
|
|
|
28
28
|
ctp_production_azure_germanywestcentral_v1: 'ctp_production_azure_germanywestcentral_v1'
|
|
29
29
|
};
|
|
30
30
|
const bucketEnvironments = {
|
|
31
|
-
'ctp-gcp-staging': 'ctp-gcp-staging',
|
|
31
|
+
'ctp-gcp-staging-eu': 'ctp-gcp-staging-eu',
|
|
32
32
|
'ctp-vw-staging-eu': 'ctp-vw-staging-eu',
|
|
33
33
|
'ctp-gcp-testing-performance-eu': 'ctp-gcp-testing-performance-eu',
|
|
34
|
-
'ctp-azure-staging': 'ctp-azure-staging',
|
|
35
|
-
'ctp-
|
|
34
|
+
'ctp-azure-staging-eu': 'ctp-azure-staging-eu',
|
|
35
|
+
'ctp-aws-production-eu': 'ctp-aws-production-eu',
|
|
36
|
+
'ctp-aws-production-us': 'ctp-aws-production-us',
|
|
36
37
|
'ctp-azure-production-eu': 'ctp-azure-production-eu',
|
|
37
|
-
'ctp-
|
|
38
|
+
'ctp-azure-production-us': 'ctp-azure-production-us',
|
|
39
|
+
'ctp-gcp-production-au': 'ctp-gcp-production-au',
|
|
38
40
|
'ctp-gcp-production-eu': 'ctp-gcp-production-eu',
|
|
41
|
+
'ctp-gcp-production-us': 'ctp-gcp-production-us',
|
|
39
42
|
'ctp-vw-production-eu': 'ctp-vw-production-eu',
|
|
40
43
|
'ctp-att-production-va': 'ctp-att-production-va',
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated: use `ctp-gcp-staging-eu` instead
|
|
46
|
+
*/
|
|
47
|
+
'ctp-gcp-staging': 'ctp-gcp-staging',
|
|
48
|
+
/**
|
|
49
|
+
* @deprecated: use `ctp-azure-staging-eu` instead
|
|
50
|
+
*/
|
|
51
|
+
'ctp-azure-staging': 'ctp-azure-staging',
|
|
52
|
+
/**
|
|
53
|
+
* @deprecated: use `ctp-aws-production-eu` instead
|
|
54
|
+
*/
|
|
55
|
+
'ctp-aws-production-fra': 'ctp-aws-production-fra',
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated: use `ctp-aws-production-us` instead
|
|
58
|
+
*/
|
|
59
|
+
'ctp-aws-production-ohio': 'ctp-aws-production-ohio'
|
|
44
60
|
};
|
|
45
61
|
const bucketRegions = {
|
|
46
62
|
previews: 'merchant-center-previews',
|
|
@@ -62,12 +78,12 @@ const storageProviders = {
|
|
|
62
78
|
urls: {
|
|
63
79
|
public: {
|
|
64
80
|
default: null,
|
|
65
|
-
'ctp-aws-production-
|
|
66
|
-
'ctp-aws-production-
|
|
81
|
+
[bucketEnvironments['ctp-aws-production-eu']]: 'https://mc-storage.eu-central-1.aws.commercetools.com',
|
|
82
|
+
[bucketEnvironments['ctp-aws-production-us']]: 'https://mc-storage.us-east-2.aws.commercetools.com'
|
|
67
83
|
},
|
|
68
84
|
bucket: {
|
|
69
|
-
|
|
70
|
-
|
|
85
|
+
[bucketRegions.europe]: 'commercetools-mc-storage-aws-eu-prod-merchant-center',
|
|
86
|
+
[bucketRegions.northAmerica]: 'commercetools-mc-storage-aws-us-prod-merchant-center'
|
|
71
87
|
}
|
|
72
88
|
}
|
|
73
89
|
}
|
|
@@ -76,7 +92,7 @@ const storageProviders = {
|
|
|
76
92
|
const defaultConfig = {
|
|
77
93
|
[bucketRegions.previews]: [{
|
|
78
94
|
cloudEnvironment: clusterContexts['ctp_staging_gcp_europe-west1_v1'],
|
|
79
|
-
bucketEnvironment: bucketEnvironments['ctp-gcp-staging']
|
|
95
|
+
bucketEnvironment: bucketEnvironments['ctp-gcp-staging-eu']
|
|
80
96
|
}, {
|
|
81
97
|
cloudEnvironment: clusterContexts['vw_staging_aws_eu-central-1_v1'],
|
|
82
98
|
bucketEnvironment: bucketEnvironments['ctp-vw-staging-eu']
|
|
@@ -85,11 +101,11 @@ const defaultConfig = {
|
|
|
85
101
|
bucketEnvironment: bucketEnvironments['ctp-gcp-testing-performance-eu']
|
|
86
102
|
}, {
|
|
87
103
|
cloudEnvironment: clusterContexts['ctp_staging_azure_northeurope_v1'],
|
|
88
|
-
bucketEnvironment: bucketEnvironments['ctp-azure-staging']
|
|
104
|
+
bucketEnvironment: bucketEnvironments['ctp-azure-staging-eu']
|
|
89
105
|
}],
|
|
90
106
|
[bucketRegions.europe]: [{
|
|
91
107
|
cloudEnvironment: clusterContexts['ctp_production_aws_eu-central-1_v1'],
|
|
92
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-production-
|
|
108
|
+
bucketEnvironment: bucketEnvironments['ctp-aws-production-eu'],
|
|
93
109
|
storageProviders: ['gs', 's3']
|
|
94
110
|
}, {
|
|
95
111
|
cloudEnvironment: clusterContexts['ctp_production_gcp_europe-west1_v1'],
|
|
@@ -106,7 +122,7 @@ const defaultConfig = {
|
|
|
106
122
|
bucketEnvironment: bucketEnvironments['ctp-att-production-va']
|
|
107
123
|
}, {
|
|
108
124
|
cloudEnvironment: clusterContexts['ctp_production_aws_us-east-2_v1'],
|
|
109
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-production-
|
|
125
|
+
bucketEnvironment: bucketEnvironments['ctp-aws-production-us'],
|
|
110
126
|
storageProviders: ['gs', 's3']
|
|
111
127
|
}, {
|
|
112
128
|
cloudEnvironment: clusterContexts['ctp_production_gcp_us-central1_v1'],
|
package/dist/{storage-buckets-config-5db36778.esm.js → storage-buckets-config-f0287ffd.esm.js}
RENAMED
|
@@ -20,19 +20,35 @@ const clusterContexts = {
|
|
|
20
20
|
ctp_production_azure_germanywestcentral_v1: 'ctp_production_azure_germanywestcentral_v1'
|
|
21
21
|
};
|
|
22
22
|
const bucketEnvironments = {
|
|
23
|
-
'ctp-gcp-staging': 'ctp-gcp-staging',
|
|
23
|
+
'ctp-gcp-staging-eu': 'ctp-gcp-staging-eu',
|
|
24
24
|
'ctp-vw-staging-eu': 'ctp-vw-staging-eu',
|
|
25
25
|
'ctp-gcp-testing-performance-eu': 'ctp-gcp-testing-performance-eu',
|
|
26
|
-
'ctp-azure-staging': 'ctp-azure-staging',
|
|
27
|
-
'ctp-
|
|
26
|
+
'ctp-azure-staging-eu': 'ctp-azure-staging-eu',
|
|
27
|
+
'ctp-aws-production-eu': 'ctp-aws-production-eu',
|
|
28
|
+
'ctp-aws-production-us': 'ctp-aws-production-us',
|
|
28
29
|
'ctp-azure-production-eu': 'ctp-azure-production-eu',
|
|
29
|
-
'ctp-
|
|
30
|
+
'ctp-azure-production-us': 'ctp-azure-production-us',
|
|
31
|
+
'ctp-gcp-production-au': 'ctp-gcp-production-au',
|
|
30
32
|
'ctp-gcp-production-eu': 'ctp-gcp-production-eu',
|
|
33
|
+
'ctp-gcp-production-us': 'ctp-gcp-production-us',
|
|
31
34
|
'ctp-vw-production-eu': 'ctp-vw-production-eu',
|
|
32
35
|
'ctp-att-production-va': 'ctp-att-production-va',
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated: use `ctp-gcp-staging-eu` instead
|
|
38
|
+
*/
|
|
39
|
+
'ctp-gcp-staging': 'ctp-gcp-staging',
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated: use `ctp-azure-staging-eu` instead
|
|
42
|
+
*/
|
|
43
|
+
'ctp-azure-staging': 'ctp-azure-staging',
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated: use `ctp-aws-production-eu` instead
|
|
46
|
+
*/
|
|
47
|
+
'ctp-aws-production-fra': 'ctp-aws-production-fra',
|
|
48
|
+
/**
|
|
49
|
+
* @deprecated: use `ctp-aws-production-us` instead
|
|
50
|
+
*/
|
|
51
|
+
'ctp-aws-production-ohio': 'ctp-aws-production-ohio'
|
|
36
52
|
};
|
|
37
53
|
const bucketRegions = {
|
|
38
54
|
previews: 'merchant-center-previews',
|
|
@@ -54,12 +70,12 @@ const storageProviders = {
|
|
|
54
70
|
urls: {
|
|
55
71
|
public: {
|
|
56
72
|
default: null,
|
|
57
|
-
'ctp-aws-production-
|
|
58
|
-
'ctp-aws-production-
|
|
73
|
+
[bucketEnvironments['ctp-aws-production-eu']]: 'https://mc-storage.eu-central-1.aws.commercetools.com',
|
|
74
|
+
[bucketEnvironments['ctp-aws-production-us']]: 'https://mc-storage.us-east-2.aws.commercetools.com'
|
|
59
75
|
},
|
|
60
76
|
bucket: {
|
|
61
|
-
|
|
62
|
-
|
|
77
|
+
[bucketRegions.europe]: 'commercetools-mc-storage-aws-eu-prod-merchant-center',
|
|
78
|
+
[bucketRegions.northAmerica]: 'commercetools-mc-storage-aws-us-prod-merchant-center'
|
|
63
79
|
}
|
|
64
80
|
}
|
|
65
81
|
}
|
|
@@ -68,7 +84,7 @@ const storageProviders = {
|
|
|
68
84
|
const defaultConfig = {
|
|
69
85
|
[bucketRegions.previews]: [{
|
|
70
86
|
cloudEnvironment: clusterContexts['ctp_staging_gcp_europe-west1_v1'],
|
|
71
|
-
bucketEnvironment: bucketEnvironments['ctp-gcp-staging']
|
|
87
|
+
bucketEnvironment: bucketEnvironments['ctp-gcp-staging-eu']
|
|
72
88
|
}, {
|
|
73
89
|
cloudEnvironment: clusterContexts['vw_staging_aws_eu-central-1_v1'],
|
|
74
90
|
bucketEnvironment: bucketEnvironments['ctp-vw-staging-eu']
|
|
@@ -77,11 +93,11 @@ const defaultConfig = {
|
|
|
77
93
|
bucketEnvironment: bucketEnvironments['ctp-gcp-testing-performance-eu']
|
|
78
94
|
}, {
|
|
79
95
|
cloudEnvironment: clusterContexts['ctp_staging_azure_northeurope_v1'],
|
|
80
|
-
bucketEnvironment: bucketEnvironments['ctp-azure-staging']
|
|
96
|
+
bucketEnvironment: bucketEnvironments['ctp-azure-staging-eu']
|
|
81
97
|
}],
|
|
82
98
|
[bucketRegions.europe]: [{
|
|
83
99
|
cloudEnvironment: clusterContexts['ctp_production_aws_eu-central-1_v1'],
|
|
84
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-production-
|
|
100
|
+
bucketEnvironment: bucketEnvironments['ctp-aws-production-eu'],
|
|
85
101
|
storageProviders: ['gs', 's3']
|
|
86
102
|
}, {
|
|
87
103
|
cloudEnvironment: clusterContexts['ctp_production_gcp_europe-west1_v1'],
|
|
@@ -98,7 +114,7 @@ const defaultConfig = {
|
|
|
98
114
|
bucketEnvironment: bucketEnvironments['ctp-att-production-va']
|
|
99
115
|
}, {
|
|
100
116
|
cloudEnvironment: clusterContexts['ctp_production_aws_us-east-2_v1'],
|
|
101
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-production-
|
|
117
|
+
bucketEnvironment: bucketEnvironments['ctp-aws-production-us'],
|
|
102
118
|
storageProviders: ['gs', 's3']
|
|
103
119
|
}, {
|
|
104
120
|
cloudEnvironment: clusterContexts['ctp_production_gcp_us-central1_v1'],
|
package/package.json
CHANGED