@commercetools-frontend/application-cli 3.1.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.
@@ -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-e69e5c69.cjs.dev.js');
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: "3.1.0",
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",
@@ -1291,10 +1291,10 @@ var pkgJson = {
1291
1291
  "@babel/core": "^7.22.11",
1292
1292
  "@babel/runtime": "^7.21.0",
1293
1293
  "@babel/runtime-corejs3": "^7.21.0",
1294
- "@commercetools-frontend/application-config": "22.30.3",
1295
- "@commercetools-frontend/constants": "22.30.3",
1296
- "@commercetools-frontend/l10n": "22.30.3",
1297
- "@manypkg/find-root": "2.2.2",
1294
+ "@commercetools-frontend/application-config": "22.33.0",
1295
+ "@commercetools-frontend/constants": "22.33.0",
1296
+ "@commercetools-frontend/l10n": "22.33.0",
1297
+ "@manypkg/find-root": "2.2.3",
1298
1298
  cac: "^6.7.14",
1299
1299
  cosmiconfig: "9.0.0",
1300
1300
  dotenv: "16.4.5",
@@ -1302,7 +1302,7 @@ var pkgJson = {
1302
1302
  jsonschema: "^1.4.1",
1303
1303
  listr2: "8.2.4",
1304
1304
  lodash: "4.17.21",
1305
- micromatch: "4.0.7",
1305
+ micromatch: "4.0.8",
1306
1306
  "node-fetch": "2.7.0",
1307
1307
  "ts-deepmerge": "7.0.1"
1308
1308
  },
@@ -1310,7 +1310,7 @@ var pkgJson = {
1310
1310
  "@tsconfig/node20": "20.1.4",
1311
1311
  "@types/lodash": "^4.14.198",
1312
1312
  "@types/micromatch": "4.0.9",
1313
- "@types/node": "20.14.15",
1313
+ "@types/node": "20.16.10",
1314
1314
  typescript: "5.2.2"
1315
1315
  },
1316
1316
  engines: {
@@ -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-a24cb35d.cjs.prod.js');
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: "3.1.0",
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",
@@ -1291,10 +1291,10 @@ var pkgJson = {
1291
1291
  "@babel/core": "^7.22.11",
1292
1292
  "@babel/runtime": "^7.21.0",
1293
1293
  "@babel/runtime-corejs3": "^7.21.0",
1294
- "@commercetools-frontend/application-config": "22.30.3",
1295
- "@commercetools-frontend/constants": "22.30.3",
1296
- "@commercetools-frontend/l10n": "22.30.3",
1297
- "@manypkg/find-root": "2.2.2",
1294
+ "@commercetools-frontend/application-config": "22.33.0",
1295
+ "@commercetools-frontend/constants": "22.33.0",
1296
+ "@commercetools-frontend/l10n": "22.33.0",
1297
+ "@manypkg/find-root": "2.2.3",
1298
1298
  cac: "^6.7.14",
1299
1299
  cosmiconfig: "9.0.0",
1300
1300
  dotenv: "16.4.5",
@@ -1302,7 +1302,7 @@ var pkgJson = {
1302
1302
  jsonschema: "^1.4.1",
1303
1303
  listr2: "8.2.4",
1304
1304
  lodash: "4.17.21",
1305
- micromatch: "4.0.7",
1305
+ micromatch: "4.0.8",
1306
1306
  "node-fetch": "2.7.0",
1307
1307
  "ts-deepmerge": "7.0.1"
1308
1308
  },
@@ -1310,7 +1310,7 @@ var pkgJson = {
1310
1310
  "@tsconfig/node20": "20.1.4",
1311
1311
  "@types/lodash": "^4.14.198",
1312
1312
  "@types/micromatch": "4.0.9",
1313
- "@types/node": "20.14.15",
1313
+ "@types/node": "20.16.10",
1314
1314
  typescript: "5.2.2"
1315
1315
  },
1316
1316
  engines: {
@@ -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-f59a9bbc.esm.js';
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: "3.1.0",
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",
@@ -1255,10 +1255,10 @@ var pkgJson = {
1255
1255
  "@babel/core": "^7.22.11",
1256
1256
  "@babel/runtime": "^7.21.0",
1257
1257
  "@babel/runtime-corejs3": "^7.21.0",
1258
- "@commercetools-frontend/application-config": "22.30.3",
1259
- "@commercetools-frontend/constants": "22.30.3",
1260
- "@commercetools-frontend/l10n": "22.30.3",
1261
- "@manypkg/find-root": "2.2.2",
1258
+ "@commercetools-frontend/application-config": "22.33.0",
1259
+ "@commercetools-frontend/constants": "22.33.0",
1260
+ "@commercetools-frontend/l10n": "22.33.0",
1261
+ "@manypkg/find-root": "2.2.3",
1262
1262
  cac: "^6.7.14",
1263
1263
  cosmiconfig: "9.0.0",
1264
1264
  dotenv: "16.4.5",
@@ -1266,7 +1266,7 @@ var pkgJson = {
1266
1266
  jsonschema: "^1.4.1",
1267
1267
  listr2: "8.2.4",
1268
1268
  lodash: "4.17.21",
1269
- micromatch: "4.0.7",
1269
+ micromatch: "4.0.8",
1270
1270
  "node-fetch": "2.7.0",
1271
1271
  "ts-deepmerge": "7.0.1"
1272
1272
  },
@@ -1274,7 +1274,7 @@ var pkgJson = {
1274
1274
  "@tsconfig/node20": "20.1.4",
1275
1275
  "@types/lodash": "^4.14.198",
1276
1276
  "@types/micromatch": "4.0.9",
1277
- "@types/node": "20.14.15",
1277
+ "@types/node": "20.16.10",
1278
1278
  typescript: "5.2.2"
1279
1279
  },
1280
1280
  engines: {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var storageBucketsConfig = require('./storage-buckets-config-e69e5c69.cjs.dev.js');
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-a24cb35d.cjs.prod.js');
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-f59a9bbc.esm.js';
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';
@@ -2,7 +2,6 @@ import type { TStorageProviderTag, TStorageProvider } from "./types.js";
2
2
  export declare const clusterContexts: {
3
3
  readonly 'ctp_staging_gcp_europe-west1_v1': "ctp_staging_gcp_europe-west1_v1";
4
4
  readonly 'vw_staging_aws_eu-central-1_v1': "vw_staging_aws_eu-central-1_v1";
5
- readonly 'ctp_staging_aws_cn-northwest-1_v1': "ctp_staging_aws_cn-northwest-1_v1";
6
5
  readonly 'ctp_testing_performance_gcp_europe-west1_v1': "ctp_testing_performance_gcp_europe-west1_v1";
7
6
  readonly 'ctp_production_aws_eu-central-1_v1': "ctp_production_aws_eu-central-1_v1";
8
7
  readonly 'ctp_production_gcp_europe-west1_v1': "ctp_production_gcp_europe-west1_v1";
@@ -11,33 +10,45 @@ export declare const clusterContexts: {
11
10
  readonly 'ctp_production_aws_us-east-2_v1': "ctp_production_aws_us-east-2_v1";
12
11
  readonly 'ctp_production_gcp_us-central1_v1': "ctp_production_gcp_us-central1_v1";
13
12
  readonly 'ctp_production_gcp_australia-southeast1_v1': "ctp_production_gcp_australia-southeast1_v1";
14
- readonly 'ctp_production_aws_cn-northwest-1_v1': "ctp_production_aws_cn-northwest-1_v1";
15
13
  readonly ctp_staging_azure_northeurope_v1: "ctp_staging_azure_northeurope_v1";
16
14
  readonly ctp_production_azure_eastus_v1: "ctp_production_azure_eastus_v1";
17
15
  readonly ctp_production_azure_germanywestcentral_v1: "ctp_production_azure_germanywestcentral_v1";
18
16
  };
19
17
  export declare const bucketEnvironments: {
20
- readonly 'ctp-gcp-staging': "ctp-gcp-staging";
18
+ readonly 'ctp-gcp-staging-eu': "ctp-gcp-staging-eu";
21
19
  readonly 'ctp-vw-staging-eu': "ctp-vw-staging-eu";
22
- readonly 'ctp-aws-staging-cn': "ctp-aws-staging-cn";
23
20
  readonly 'ctp-gcp-testing-performance-eu': "ctp-gcp-testing-performance-eu";
24
- readonly 'ctp-azure-staging': "ctp-azure-staging";
25
- readonly 'ctp-azure-production-us': "ctp-azure-production-us";
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";
26
24
  readonly 'ctp-azure-production-eu': "ctp-azure-production-eu";
27
- readonly 'ctp-aws-production-fra': "ctp-aws-production-fra";
25
+ readonly 'ctp-azure-production-us': "ctp-azure-production-us";
26
+ readonly 'ctp-gcp-production-au': "ctp-gcp-production-au";
28
27
  readonly 'ctp-gcp-production-eu': "ctp-gcp-production-eu";
28
+ readonly 'ctp-gcp-production-us': "ctp-gcp-production-us";
29
29
  readonly 'ctp-vw-production-eu': "ctp-vw-production-eu";
30
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
+ */
31
46
  readonly 'ctp-aws-production-ohio': "ctp-aws-production-ohio";
32
- readonly 'ctp-gcp-production-us': "ctp-gcp-production-us";
33
- readonly 'ctp-gcp-production-au': "ctp-gcp-production-au";
34
- readonly 'ctp-aws-production-cn': "ctp-aws-production-cn";
35
47
  };
36
48
  export declare const bucketRegions: {
37
49
  readonly previews: "merchant-center-previews";
38
50
  readonly europe: "merchant-center-europe";
39
51
  readonly northAmerica: "merchant-center-north-america";
40
52
  readonly asia: "merchant-center-asia";
41
- readonly china: "merchant-center-china";
42
53
  };
43
54
  export declare const storageProviders: Record<TStorageProviderTag, TStorageProvider>;
@@ -15,7 +15,6 @@ var lodash__default = /*#__PURE__*/_interopDefault(lodash);
15
15
  const clusterContexts = {
16
16
  'ctp_staging_gcp_europe-west1_v1': 'ctp_staging_gcp_europe-west1_v1',
17
17
  'vw_staging_aws_eu-central-1_v1': 'vw_staging_aws_eu-central-1_v1',
18
- 'ctp_staging_aws_cn-northwest-1_v1': 'ctp_staging_aws_cn-northwest-1_v1',
19
18
  'ctp_testing_performance_gcp_europe-west1_v1': 'ctp_testing_performance_gcp_europe-west1_v1',
20
19
  'ctp_production_aws_eu-central-1_v1': 'ctp_production_aws_eu-central-1_v1',
21
20
  'ctp_production_gcp_europe-west1_v1': 'ctp_production_gcp_europe-west1_v1',
@@ -24,34 +23,46 @@ const clusterContexts = {
24
23
  'ctp_production_aws_us-east-2_v1': 'ctp_production_aws_us-east-2_v1',
25
24
  'ctp_production_gcp_us-central1_v1': 'ctp_production_gcp_us-central1_v1',
26
25
  'ctp_production_gcp_australia-southeast1_v1': 'ctp_production_gcp_australia-southeast1_v1',
27
- 'ctp_production_aws_cn-northwest-1_v1': 'ctp_production_aws_cn-northwest-1_v1',
28
26
  ctp_staging_azure_northeurope_v1: 'ctp_staging_azure_northeurope_v1',
29
27
  ctp_production_azure_eastus_v1: 'ctp_production_azure_eastus_v1',
30
28
  ctp_production_azure_germanywestcentral_v1: 'ctp_production_azure_germanywestcentral_v1'
31
29
  };
32
30
  const bucketEnvironments = {
33
- 'ctp-gcp-staging': 'ctp-gcp-staging',
31
+ 'ctp-gcp-staging-eu': 'ctp-gcp-staging-eu',
34
32
  'ctp-vw-staging-eu': 'ctp-vw-staging-eu',
35
- 'ctp-aws-staging-cn': 'ctp-aws-staging-cn',
36
33
  'ctp-gcp-testing-performance-eu': 'ctp-gcp-testing-performance-eu',
37
- 'ctp-azure-staging': 'ctp-azure-staging',
38
- 'ctp-azure-production-us': 'ctp-azure-production-us',
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',
39
37
  'ctp-azure-production-eu': 'ctp-azure-production-eu',
40
- 'ctp-aws-production-fra': 'ctp-aws-production-fra',
38
+ 'ctp-azure-production-us': 'ctp-azure-production-us',
39
+ 'ctp-gcp-production-au': 'ctp-gcp-production-au',
41
40
  'ctp-gcp-production-eu': 'ctp-gcp-production-eu',
41
+ 'ctp-gcp-production-us': 'ctp-gcp-production-us',
42
42
  'ctp-vw-production-eu': 'ctp-vw-production-eu',
43
43
  'ctp-att-production-va': 'ctp-att-production-va',
44
- 'ctp-aws-production-ohio': 'ctp-aws-production-ohio',
45
- 'ctp-gcp-production-us': 'ctp-gcp-production-us',
46
- 'ctp-gcp-production-au': 'ctp-gcp-production-au',
47
- 'ctp-aws-production-cn': 'ctp-aws-production-cn'
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'
48
60
  };
49
61
  const bucketRegions = {
50
62
  previews: 'merchant-center-previews',
51
63
  europe: 'merchant-center-europe',
52
64
  northAmerica: 'merchant-center-north-america',
53
- asia: 'merchant-center-asia',
54
- china: 'merchant-center-china'
65
+ asia: 'merchant-center-asia'
55
66
  };
56
67
  const storageProviders = {
57
68
  gs: {
@@ -67,15 +78,12 @@ const storageProviders = {
67
78
  urls: {
68
79
  public: {
69
80
  default: null,
70
- 'ctp-aws-staging-cn': 'https://mc-storage.cn-northwest-1.aws.commercetools.cn',
71
- 'ctp-aws-production-cn': 'https://mc-storage.cn-northwest-1.aws.commercetools.cn',
72
- 'ctp-aws-production-ohio': 'https://mc-storage.us-east-2.aws.commercetools.com',
73
- 'ctp-aws-production-fra': 'https://mc-storage.eu-central-1.aws.commercetools.com'
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'
74
83
  },
75
84
  bucket: {
76
- 'merchant-center-china': 'commercetools-mc-storage-aws-cn-prod-merchant-center',
77
- 'merchant-center-europe': 'commercetools-mc-storage-aws-eu-prod-merchant-center',
78
- 'merchant-center-north-america': 'commercetools-mc-storage-aws-us-prod-merchant-center'
85
+ [bucketRegions.europe]: 'commercetools-mc-storage-aws-eu-prod-merchant-center',
86
+ [bucketRegions.northAmerica]: 'commercetools-mc-storage-aws-us-prod-merchant-center'
79
87
  }
80
88
  }
81
89
  }
@@ -84,23 +92,20 @@ const storageProviders = {
84
92
  const defaultConfig = {
85
93
  [bucketRegions.previews]: [{
86
94
  cloudEnvironment: clusterContexts['ctp_staging_gcp_europe-west1_v1'],
87
- bucketEnvironment: bucketEnvironments['ctp-gcp-staging']
95
+ bucketEnvironment: bucketEnvironments['ctp-gcp-staging-eu']
88
96
  }, {
89
97
  cloudEnvironment: clusterContexts['vw_staging_aws_eu-central-1_v1'],
90
98
  bucketEnvironment: bucketEnvironments['ctp-vw-staging-eu']
91
- }, {
92
- cloudEnvironment: clusterContexts['ctp_staging_aws_cn-northwest-1_v1'],
93
- bucketEnvironment: bucketEnvironments['ctp-aws-staging-cn']
94
99
  }, {
95
100
  cloudEnvironment: clusterContexts['ctp_testing_performance_gcp_europe-west1_v1'],
96
101
  bucketEnvironment: bucketEnvironments['ctp-gcp-testing-performance-eu']
97
102
  }, {
98
103
  cloudEnvironment: clusterContexts['ctp_staging_azure_northeurope_v1'],
99
- bucketEnvironment: bucketEnvironments['ctp-azure-staging']
104
+ bucketEnvironment: bucketEnvironments['ctp-azure-staging-eu']
100
105
  }],
101
106
  [bucketRegions.europe]: [{
102
107
  cloudEnvironment: clusterContexts['ctp_production_aws_eu-central-1_v1'],
103
- bucketEnvironment: bucketEnvironments['ctp-aws-production-fra'],
108
+ bucketEnvironment: bucketEnvironments['ctp-aws-production-eu'],
104
109
  storageProviders: ['gs', 's3']
105
110
  }, {
106
111
  cloudEnvironment: clusterContexts['ctp_production_gcp_europe-west1_v1'],
@@ -117,7 +122,7 @@ const defaultConfig = {
117
122
  bucketEnvironment: bucketEnvironments['ctp-att-production-va']
118
123
  }, {
119
124
  cloudEnvironment: clusterContexts['ctp_production_aws_us-east-2_v1'],
120
- bucketEnvironment: bucketEnvironments['ctp-aws-production-ohio'],
125
+ bucketEnvironment: bucketEnvironments['ctp-aws-production-us'],
121
126
  storageProviders: ['gs', 's3']
122
127
  }, {
123
128
  cloudEnvironment: clusterContexts['ctp_production_gcp_us-central1_v1'],
@@ -129,18 +134,6 @@ const defaultConfig = {
129
134
  [bucketRegions.asia]: [{
130
135
  cloudEnvironment: clusterContexts['ctp_production_gcp_australia-southeast1_v1'],
131
136
  bucketEnvironment: bucketEnvironments['ctp-gcp-production-au']
132
- }, {
133
- cloudEnvironment: clusterContexts['ctp_production_aws_cn-northwest-1_v1'],
134
- bucketEnvironment: bucketEnvironments['ctp-aws-production-cn']
135
- }],
136
- [bucketRegions.china]: [{
137
- cloudEnvironment: clusterContexts['ctp_staging_aws_cn-northwest-1_v1'],
138
- bucketEnvironment: bucketEnvironments['ctp-aws-staging-cn'],
139
- storageProviders: ['s3']
140
- }, {
141
- cloudEnvironment: clusterContexts['ctp_production_aws_cn-northwest-1_v1'],
142
- bucketEnvironment: bucketEnvironments['ctp-aws-production-cn'],
143
- storageProviders: ['s3']
144
137
  }]
145
138
  };
146
139
  function defineStorageBucketsConfig() {
@@ -15,7 +15,6 @@ var lodash__default = /*#__PURE__*/_interopDefault(lodash);
15
15
  const clusterContexts = {
16
16
  'ctp_staging_gcp_europe-west1_v1': 'ctp_staging_gcp_europe-west1_v1',
17
17
  'vw_staging_aws_eu-central-1_v1': 'vw_staging_aws_eu-central-1_v1',
18
- 'ctp_staging_aws_cn-northwest-1_v1': 'ctp_staging_aws_cn-northwest-1_v1',
19
18
  'ctp_testing_performance_gcp_europe-west1_v1': 'ctp_testing_performance_gcp_europe-west1_v1',
20
19
  'ctp_production_aws_eu-central-1_v1': 'ctp_production_aws_eu-central-1_v1',
21
20
  'ctp_production_gcp_europe-west1_v1': 'ctp_production_gcp_europe-west1_v1',
@@ -24,34 +23,46 @@ const clusterContexts = {
24
23
  'ctp_production_aws_us-east-2_v1': 'ctp_production_aws_us-east-2_v1',
25
24
  'ctp_production_gcp_us-central1_v1': 'ctp_production_gcp_us-central1_v1',
26
25
  'ctp_production_gcp_australia-southeast1_v1': 'ctp_production_gcp_australia-southeast1_v1',
27
- 'ctp_production_aws_cn-northwest-1_v1': 'ctp_production_aws_cn-northwest-1_v1',
28
26
  ctp_staging_azure_northeurope_v1: 'ctp_staging_azure_northeurope_v1',
29
27
  ctp_production_azure_eastus_v1: 'ctp_production_azure_eastus_v1',
30
28
  ctp_production_azure_germanywestcentral_v1: 'ctp_production_azure_germanywestcentral_v1'
31
29
  };
32
30
  const bucketEnvironments = {
33
- 'ctp-gcp-staging': 'ctp-gcp-staging',
31
+ 'ctp-gcp-staging-eu': 'ctp-gcp-staging-eu',
34
32
  'ctp-vw-staging-eu': 'ctp-vw-staging-eu',
35
- 'ctp-aws-staging-cn': 'ctp-aws-staging-cn',
36
33
  'ctp-gcp-testing-performance-eu': 'ctp-gcp-testing-performance-eu',
37
- 'ctp-azure-staging': 'ctp-azure-staging',
38
- 'ctp-azure-production-us': 'ctp-azure-production-us',
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',
39
37
  'ctp-azure-production-eu': 'ctp-azure-production-eu',
40
- 'ctp-aws-production-fra': 'ctp-aws-production-fra',
38
+ 'ctp-azure-production-us': 'ctp-azure-production-us',
39
+ 'ctp-gcp-production-au': 'ctp-gcp-production-au',
41
40
  'ctp-gcp-production-eu': 'ctp-gcp-production-eu',
41
+ 'ctp-gcp-production-us': 'ctp-gcp-production-us',
42
42
  'ctp-vw-production-eu': 'ctp-vw-production-eu',
43
43
  'ctp-att-production-va': 'ctp-att-production-va',
44
- 'ctp-aws-production-ohio': 'ctp-aws-production-ohio',
45
- 'ctp-gcp-production-us': 'ctp-gcp-production-us',
46
- 'ctp-gcp-production-au': 'ctp-gcp-production-au',
47
- 'ctp-aws-production-cn': 'ctp-aws-production-cn'
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'
48
60
  };
49
61
  const bucketRegions = {
50
62
  previews: 'merchant-center-previews',
51
63
  europe: 'merchant-center-europe',
52
64
  northAmerica: 'merchant-center-north-america',
53
- asia: 'merchant-center-asia',
54
- china: 'merchant-center-china'
65
+ asia: 'merchant-center-asia'
55
66
  };
56
67
  const storageProviders = {
57
68
  gs: {
@@ -67,15 +78,12 @@ const storageProviders = {
67
78
  urls: {
68
79
  public: {
69
80
  default: null,
70
- 'ctp-aws-staging-cn': 'https://mc-storage.cn-northwest-1.aws.commercetools.cn',
71
- 'ctp-aws-production-cn': 'https://mc-storage.cn-northwest-1.aws.commercetools.cn',
72
- 'ctp-aws-production-ohio': 'https://mc-storage.us-east-2.aws.commercetools.com',
73
- 'ctp-aws-production-fra': 'https://mc-storage.eu-central-1.aws.commercetools.com'
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'
74
83
  },
75
84
  bucket: {
76
- 'merchant-center-china': 'commercetools-mc-storage-aws-cn-prod-merchant-center',
77
- 'merchant-center-europe': 'commercetools-mc-storage-aws-eu-prod-merchant-center',
78
- 'merchant-center-north-america': 'commercetools-mc-storage-aws-us-prod-merchant-center'
85
+ [bucketRegions.europe]: 'commercetools-mc-storage-aws-eu-prod-merchant-center',
86
+ [bucketRegions.northAmerica]: 'commercetools-mc-storage-aws-us-prod-merchant-center'
79
87
  }
80
88
  }
81
89
  }
@@ -84,23 +92,20 @@ const storageProviders = {
84
92
  const defaultConfig = {
85
93
  [bucketRegions.previews]: [{
86
94
  cloudEnvironment: clusterContexts['ctp_staging_gcp_europe-west1_v1'],
87
- bucketEnvironment: bucketEnvironments['ctp-gcp-staging']
95
+ bucketEnvironment: bucketEnvironments['ctp-gcp-staging-eu']
88
96
  }, {
89
97
  cloudEnvironment: clusterContexts['vw_staging_aws_eu-central-1_v1'],
90
98
  bucketEnvironment: bucketEnvironments['ctp-vw-staging-eu']
91
- }, {
92
- cloudEnvironment: clusterContexts['ctp_staging_aws_cn-northwest-1_v1'],
93
- bucketEnvironment: bucketEnvironments['ctp-aws-staging-cn']
94
99
  }, {
95
100
  cloudEnvironment: clusterContexts['ctp_testing_performance_gcp_europe-west1_v1'],
96
101
  bucketEnvironment: bucketEnvironments['ctp-gcp-testing-performance-eu']
97
102
  }, {
98
103
  cloudEnvironment: clusterContexts['ctp_staging_azure_northeurope_v1'],
99
- bucketEnvironment: bucketEnvironments['ctp-azure-staging']
104
+ bucketEnvironment: bucketEnvironments['ctp-azure-staging-eu']
100
105
  }],
101
106
  [bucketRegions.europe]: [{
102
107
  cloudEnvironment: clusterContexts['ctp_production_aws_eu-central-1_v1'],
103
- bucketEnvironment: bucketEnvironments['ctp-aws-production-fra'],
108
+ bucketEnvironment: bucketEnvironments['ctp-aws-production-eu'],
104
109
  storageProviders: ['gs', 's3']
105
110
  }, {
106
111
  cloudEnvironment: clusterContexts['ctp_production_gcp_europe-west1_v1'],
@@ -117,7 +122,7 @@ const defaultConfig = {
117
122
  bucketEnvironment: bucketEnvironments['ctp-att-production-va']
118
123
  }, {
119
124
  cloudEnvironment: clusterContexts['ctp_production_aws_us-east-2_v1'],
120
- bucketEnvironment: bucketEnvironments['ctp-aws-production-ohio'],
125
+ bucketEnvironment: bucketEnvironments['ctp-aws-production-us'],
121
126
  storageProviders: ['gs', 's3']
122
127
  }, {
123
128
  cloudEnvironment: clusterContexts['ctp_production_gcp_us-central1_v1'],
@@ -129,18 +134,6 @@ const defaultConfig = {
129
134
  [bucketRegions.asia]: [{
130
135
  cloudEnvironment: clusterContexts['ctp_production_gcp_australia-southeast1_v1'],
131
136
  bucketEnvironment: bucketEnvironments['ctp-gcp-production-au']
132
- }, {
133
- cloudEnvironment: clusterContexts['ctp_production_aws_cn-northwest-1_v1'],
134
- bucketEnvironment: bucketEnvironments['ctp-aws-production-cn']
135
- }],
136
- [bucketRegions.china]: [{
137
- cloudEnvironment: clusterContexts['ctp_staging_aws_cn-northwest-1_v1'],
138
- bucketEnvironment: bucketEnvironments['ctp-aws-staging-cn'],
139
- storageProviders: ['s3']
140
- }, {
141
- cloudEnvironment: clusterContexts['ctp_production_aws_cn-northwest-1_v1'],
142
- bucketEnvironment: bucketEnvironments['ctp-aws-production-cn'],
143
- storageProviders: ['s3']
144
137
  }]
145
138
  };
146
139
  function defineStorageBucketsConfig() {
@@ -7,7 +7,6 @@ import lodash from 'lodash';
7
7
  const clusterContexts = {
8
8
  'ctp_staging_gcp_europe-west1_v1': 'ctp_staging_gcp_europe-west1_v1',
9
9
  'vw_staging_aws_eu-central-1_v1': 'vw_staging_aws_eu-central-1_v1',
10
- 'ctp_staging_aws_cn-northwest-1_v1': 'ctp_staging_aws_cn-northwest-1_v1',
11
10
  'ctp_testing_performance_gcp_europe-west1_v1': 'ctp_testing_performance_gcp_europe-west1_v1',
12
11
  'ctp_production_aws_eu-central-1_v1': 'ctp_production_aws_eu-central-1_v1',
13
12
  'ctp_production_gcp_europe-west1_v1': 'ctp_production_gcp_europe-west1_v1',
@@ -16,34 +15,46 @@ const clusterContexts = {
16
15
  'ctp_production_aws_us-east-2_v1': 'ctp_production_aws_us-east-2_v1',
17
16
  'ctp_production_gcp_us-central1_v1': 'ctp_production_gcp_us-central1_v1',
18
17
  'ctp_production_gcp_australia-southeast1_v1': 'ctp_production_gcp_australia-southeast1_v1',
19
- 'ctp_production_aws_cn-northwest-1_v1': 'ctp_production_aws_cn-northwest-1_v1',
20
18
  ctp_staging_azure_northeurope_v1: 'ctp_staging_azure_northeurope_v1',
21
19
  ctp_production_azure_eastus_v1: 'ctp_production_azure_eastus_v1',
22
20
  ctp_production_azure_germanywestcentral_v1: 'ctp_production_azure_germanywestcentral_v1'
23
21
  };
24
22
  const bucketEnvironments = {
25
- 'ctp-gcp-staging': 'ctp-gcp-staging',
23
+ 'ctp-gcp-staging-eu': 'ctp-gcp-staging-eu',
26
24
  'ctp-vw-staging-eu': 'ctp-vw-staging-eu',
27
- 'ctp-aws-staging-cn': 'ctp-aws-staging-cn',
28
25
  'ctp-gcp-testing-performance-eu': 'ctp-gcp-testing-performance-eu',
29
- 'ctp-azure-staging': 'ctp-azure-staging',
30
- 'ctp-azure-production-us': 'ctp-azure-production-us',
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',
31
29
  'ctp-azure-production-eu': 'ctp-azure-production-eu',
32
- 'ctp-aws-production-fra': 'ctp-aws-production-fra',
30
+ 'ctp-azure-production-us': 'ctp-azure-production-us',
31
+ 'ctp-gcp-production-au': 'ctp-gcp-production-au',
33
32
  'ctp-gcp-production-eu': 'ctp-gcp-production-eu',
33
+ 'ctp-gcp-production-us': 'ctp-gcp-production-us',
34
34
  'ctp-vw-production-eu': 'ctp-vw-production-eu',
35
35
  'ctp-att-production-va': 'ctp-att-production-va',
36
- 'ctp-aws-production-ohio': 'ctp-aws-production-ohio',
37
- 'ctp-gcp-production-us': 'ctp-gcp-production-us',
38
- 'ctp-gcp-production-au': 'ctp-gcp-production-au',
39
- 'ctp-aws-production-cn': 'ctp-aws-production-cn'
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'
40
52
  };
41
53
  const bucketRegions = {
42
54
  previews: 'merchant-center-previews',
43
55
  europe: 'merchant-center-europe',
44
56
  northAmerica: 'merchant-center-north-america',
45
- asia: 'merchant-center-asia',
46
- china: 'merchant-center-china'
57
+ asia: 'merchant-center-asia'
47
58
  };
48
59
  const storageProviders = {
49
60
  gs: {
@@ -59,15 +70,12 @@ const storageProviders = {
59
70
  urls: {
60
71
  public: {
61
72
  default: null,
62
- 'ctp-aws-staging-cn': 'https://mc-storage.cn-northwest-1.aws.commercetools.cn',
63
- 'ctp-aws-production-cn': 'https://mc-storage.cn-northwest-1.aws.commercetools.cn',
64
- 'ctp-aws-production-ohio': 'https://mc-storage.us-east-2.aws.commercetools.com',
65
- 'ctp-aws-production-fra': 'https://mc-storage.eu-central-1.aws.commercetools.com'
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'
66
75
  },
67
76
  bucket: {
68
- 'merchant-center-china': 'commercetools-mc-storage-aws-cn-prod-merchant-center',
69
- 'merchant-center-europe': 'commercetools-mc-storage-aws-eu-prod-merchant-center',
70
- 'merchant-center-north-america': 'commercetools-mc-storage-aws-us-prod-merchant-center'
77
+ [bucketRegions.europe]: 'commercetools-mc-storage-aws-eu-prod-merchant-center',
78
+ [bucketRegions.northAmerica]: 'commercetools-mc-storage-aws-us-prod-merchant-center'
71
79
  }
72
80
  }
73
81
  }
@@ -76,23 +84,20 @@ const storageProviders = {
76
84
  const defaultConfig = {
77
85
  [bucketRegions.previews]: [{
78
86
  cloudEnvironment: clusterContexts['ctp_staging_gcp_europe-west1_v1'],
79
- bucketEnvironment: bucketEnvironments['ctp-gcp-staging']
87
+ bucketEnvironment: bucketEnvironments['ctp-gcp-staging-eu']
80
88
  }, {
81
89
  cloudEnvironment: clusterContexts['vw_staging_aws_eu-central-1_v1'],
82
90
  bucketEnvironment: bucketEnvironments['ctp-vw-staging-eu']
83
- }, {
84
- cloudEnvironment: clusterContexts['ctp_staging_aws_cn-northwest-1_v1'],
85
- bucketEnvironment: bucketEnvironments['ctp-aws-staging-cn']
86
91
  }, {
87
92
  cloudEnvironment: clusterContexts['ctp_testing_performance_gcp_europe-west1_v1'],
88
93
  bucketEnvironment: bucketEnvironments['ctp-gcp-testing-performance-eu']
89
94
  }, {
90
95
  cloudEnvironment: clusterContexts['ctp_staging_azure_northeurope_v1'],
91
- bucketEnvironment: bucketEnvironments['ctp-azure-staging']
96
+ bucketEnvironment: bucketEnvironments['ctp-azure-staging-eu']
92
97
  }],
93
98
  [bucketRegions.europe]: [{
94
99
  cloudEnvironment: clusterContexts['ctp_production_aws_eu-central-1_v1'],
95
- bucketEnvironment: bucketEnvironments['ctp-aws-production-fra'],
100
+ bucketEnvironment: bucketEnvironments['ctp-aws-production-eu'],
96
101
  storageProviders: ['gs', 's3']
97
102
  }, {
98
103
  cloudEnvironment: clusterContexts['ctp_production_gcp_europe-west1_v1'],
@@ -109,7 +114,7 @@ const defaultConfig = {
109
114
  bucketEnvironment: bucketEnvironments['ctp-att-production-va']
110
115
  }, {
111
116
  cloudEnvironment: clusterContexts['ctp_production_aws_us-east-2_v1'],
112
- bucketEnvironment: bucketEnvironments['ctp-aws-production-ohio'],
117
+ bucketEnvironment: bucketEnvironments['ctp-aws-production-us'],
113
118
  storageProviders: ['gs', 's3']
114
119
  }, {
115
120
  cloudEnvironment: clusterContexts['ctp_production_gcp_us-central1_v1'],
@@ -121,18 +126,6 @@ const defaultConfig = {
121
126
  [bucketRegions.asia]: [{
122
127
  cloudEnvironment: clusterContexts['ctp_production_gcp_australia-southeast1_v1'],
123
128
  bucketEnvironment: bucketEnvironments['ctp-gcp-production-au']
124
- }, {
125
- cloudEnvironment: clusterContexts['ctp_production_aws_cn-northwest-1_v1'],
126
- bucketEnvironment: bucketEnvironments['ctp-aws-production-cn']
127
- }],
128
- [bucketRegions.china]: [{
129
- cloudEnvironment: clusterContexts['ctp_staging_aws_cn-northwest-1_v1'],
130
- bucketEnvironment: bucketEnvironments['ctp-aws-staging-cn'],
131
- storageProviders: ['s3']
132
- }, {
133
- cloudEnvironment: clusterContexts['ctp_production_aws_cn-northwest-1_v1'],
134
- bucketEnvironment: bucketEnvironments['ctp-aws-production-cn'],
135
- storageProviders: ['s3']
136
129
  }]
137
130
  };
138
131
  function defineStorageBucketsConfig() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/application-cli",
3
- "version": "3.1.0",
3
+ "version": "5.0.0",
4
4
  "description": "Internal CLI to manage Merchant Center application deployments across various environments.",
5
5
  "keywords": [
6
6
  "commercetools",
@@ -23,10 +23,10 @@
23
23
  "@babel/core": "^7.22.11",
24
24
  "@babel/runtime": "^7.21.0",
25
25
  "@babel/runtime-corejs3": "^7.21.0",
26
- "@commercetools-frontend/application-config": "22.30.3",
27
- "@commercetools-frontend/constants": "22.30.3",
28
- "@commercetools-frontend/l10n": "22.30.3",
29
- "@manypkg/find-root": "2.2.2",
26
+ "@commercetools-frontend/application-config": "22.33.0",
27
+ "@commercetools-frontend/constants": "22.33.0",
28
+ "@commercetools-frontend/l10n": "22.33.0",
29
+ "@manypkg/find-root": "2.2.3",
30
30
  "cac": "^6.7.14",
31
31
  "cosmiconfig": "9.0.0",
32
32
  "dotenv": "16.4.5",
@@ -34,7 +34,7 @@
34
34
  "jsonschema": "^1.4.1",
35
35
  "listr2": "8.2.4",
36
36
  "lodash": "4.17.21",
37
- "micromatch": "4.0.7",
37
+ "micromatch": "4.0.8",
38
38
  "node-fetch": "2.7.0",
39
39
  "ts-deepmerge": "7.0.1"
40
40
  },
@@ -42,7 +42,7 @@
42
42
  "@tsconfig/node20": "20.1.4",
43
43
  "@types/lodash": "^4.14.198",
44
44
  "@types/micromatch": "4.0.9",
45
- "@types/node": "20.14.15",
45
+ "@types/node": "20.16.10",
46
46
  "typescript": "5.2.2"
47
47
  },
48
48
  "engines": {