@commercetools-frontend/application-cli 3.0.3 → 4.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 +8 -8
- package/cli/dist/commercetools-frontend-application-cli-cli.cjs.prod.js +8 -8
- package/cli/dist/commercetools-frontend-application-cli-cli.esm.js +8 -8
- 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 +2 -5
- package/dist/{storage-buckets-config-73009f39.cjs.prod.js → storage-buckets-config-4efd594f.cjs.dev.js} +8 -26
- package/dist/{storage-buckets-config-2e7dcecf.esm.js → storage-buckets-config-5db36778.esm.js} +8 -26
- package/dist/{storage-buckets-config-ab143609.cjs.dev.js → storage-buckets-config-9cb03521.cjs.prod.js} +8 -26
- package/package.json +7 -7
|
@@ -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-4efd594f.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: "4.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.
|
|
1295
|
-
"@commercetools-frontend/constants": "22.
|
|
1296
|
-
"@commercetools-frontend/l10n": "22.
|
|
1297
|
-
"@manypkg/find-root": "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.
|
|
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.
|
|
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-
|
|
20
|
+
var storageBucketsConfig = require('../../dist/storage-buckets-config-9cb03521.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: "4.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.
|
|
1295
|
-
"@commercetools-frontend/constants": "22.
|
|
1296
|
-
"@commercetools-frontend/l10n": "22.
|
|
1297
|
-
"@manypkg/find-root": "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.
|
|
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.
|
|
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-
|
|
16
|
+
import { s as storageProviders, l as loadStorageBucketsConfig, c as clusterContexts, a as loadConfig } from '../../dist/storage-buckets-config-5db36778.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: "4.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.
|
|
1259
|
-
"@commercetools-frontend/constants": "22.
|
|
1260
|
-
"@commercetools-frontend/l10n": "22.
|
|
1261
|
-
"@manypkg/find-root": "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.
|
|
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.
|
|
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-
|
|
5
|
+
var storageBucketsConfig = require('./storage-buckets-config-4efd594f.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-9cb03521.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-5db36778.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,17 +10,17 @@ 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";
|
|
15
|
+
readonly ctp_production_azure_germanywestcentral_v1: "ctp_production_azure_germanywestcentral_v1";
|
|
17
16
|
};
|
|
18
17
|
export declare const bucketEnvironments: {
|
|
19
18
|
readonly 'ctp-gcp-staging': "ctp-gcp-staging";
|
|
20
19
|
readonly 'ctp-vw-staging-eu': "ctp-vw-staging-eu";
|
|
21
|
-
readonly 'ctp-aws-staging-cn': "ctp-aws-staging-cn";
|
|
22
20
|
readonly 'ctp-gcp-testing-performance-eu': "ctp-gcp-testing-performance-eu";
|
|
23
21
|
readonly 'ctp-azure-staging': "ctp-azure-staging";
|
|
24
22
|
readonly 'ctp-azure-production-us': "ctp-azure-production-us";
|
|
23
|
+
readonly 'ctp-azure-production-eu': "ctp-azure-production-eu";
|
|
25
24
|
readonly 'ctp-aws-production-fra': "ctp-aws-production-fra";
|
|
26
25
|
readonly 'ctp-gcp-production-eu': "ctp-gcp-production-eu";
|
|
27
26
|
readonly 'ctp-vw-production-eu': "ctp-vw-production-eu";
|
|
@@ -29,13 +28,11 @@ export declare const bucketEnvironments: {
|
|
|
29
28
|
readonly 'ctp-aws-production-ohio': "ctp-aws-production-ohio";
|
|
30
29
|
readonly 'ctp-gcp-production-us': "ctp-gcp-production-us";
|
|
31
30
|
readonly 'ctp-gcp-production-au': "ctp-gcp-production-au";
|
|
32
|
-
readonly 'ctp-aws-production-cn': "ctp-aws-production-cn";
|
|
33
31
|
};
|
|
34
32
|
export declare const bucketRegions: {
|
|
35
33
|
readonly previews: "merchant-center-previews";
|
|
36
34
|
readonly europe: "merchant-center-europe";
|
|
37
35
|
readonly northAmerica: "merchant-center-north-america";
|
|
38
36
|
readonly asia: "merchant-center-asia";
|
|
39
|
-
readonly china: "merchant-center-china";
|
|
40
37
|
};
|
|
41
38
|
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,32 +23,30 @@ 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
|
-
ctp_production_azure_eastus_v1: 'ctp_production_azure_eastus_v1'
|
|
27
|
+
ctp_production_azure_eastus_v1: 'ctp_production_azure_eastus_v1',
|
|
28
|
+
ctp_production_azure_germanywestcentral_v1: 'ctp_production_azure_germanywestcentral_v1'
|
|
30
29
|
};
|
|
31
30
|
const bucketEnvironments = {
|
|
32
31
|
'ctp-gcp-staging': 'ctp-gcp-staging',
|
|
33
32
|
'ctp-vw-staging-eu': 'ctp-vw-staging-eu',
|
|
34
|
-
'ctp-aws-staging-cn': 'ctp-aws-staging-cn',
|
|
35
33
|
'ctp-gcp-testing-performance-eu': 'ctp-gcp-testing-performance-eu',
|
|
36
34
|
'ctp-azure-staging': 'ctp-azure-staging',
|
|
37
35
|
'ctp-azure-production-us': 'ctp-azure-production-us',
|
|
36
|
+
'ctp-azure-production-eu': 'ctp-azure-production-eu',
|
|
38
37
|
'ctp-aws-production-fra': 'ctp-aws-production-fra',
|
|
39
38
|
'ctp-gcp-production-eu': 'ctp-gcp-production-eu',
|
|
40
39
|
'ctp-vw-production-eu': 'ctp-vw-production-eu',
|
|
41
40
|
'ctp-att-production-va': 'ctp-att-production-va',
|
|
42
41
|
'ctp-aws-production-ohio': 'ctp-aws-production-ohio',
|
|
43
42
|
'ctp-gcp-production-us': 'ctp-gcp-production-us',
|
|
44
|
-
'ctp-gcp-production-au': 'ctp-gcp-production-au'
|
|
45
|
-
'ctp-aws-production-cn': 'ctp-aws-production-cn'
|
|
43
|
+
'ctp-gcp-production-au': 'ctp-gcp-production-au'
|
|
46
44
|
};
|
|
47
45
|
const bucketRegions = {
|
|
48
46
|
previews: 'merchant-center-previews',
|
|
49
47
|
europe: 'merchant-center-europe',
|
|
50
48
|
northAmerica: 'merchant-center-north-america',
|
|
51
|
-
asia: 'merchant-center-asia'
|
|
52
|
-
china: 'merchant-center-china'
|
|
49
|
+
asia: 'merchant-center-asia'
|
|
53
50
|
};
|
|
54
51
|
const storageProviders = {
|
|
55
52
|
gs: {
|
|
@@ -65,13 +62,10 @@ const storageProviders = {
|
|
|
65
62
|
urls: {
|
|
66
63
|
public: {
|
|
67
64
|
default: null,
|
|
68
|
-
'ctp-aws-staging-cn': 'https://mc-storage.cn-northwest-1.aws.commercetools.cn',
|
|
69
|
-
'ctp-aws-production-cn': 'https://mc-storage.cn-northwest-1.aws.commercetools.cn',
|
|
70
65
|
'ctp-aws-production-ohio': 'https://mc-storage.us-east-2.aws.commercetools.com',
|
|
71
66
|
'ctp-aws-production-fra': 'https://mc-storage.eu-central-1.aws.commercetools.com'
|
|
72
67
|
},
|
|
73
68
|
bucket: {
|
|
74
|
-
'merchant-center-china': 'commercetools-mc-storage-aws-cn-prod-merchant-center',
|
|
75
69
|
'merchant-center-europe': 'commercetools-mc-storage-aws-eu-prod-merchant-center',
|
|
76
70
|
'merchant-center-north-america': 'commercetools-mc-storage-aws-us-prod-merchant-center'
|
|
77
71
|
}
|
|
@@ -86,9 +80,6 @@ const defaultConfig = {
|
|
|
86
80
|
}, {
|
|
87
81
|
cloudEnvironment: clusterContexts['vw_staging_aws_eu-central-1_v1'],
|
|
88
82
|
bucketEnvironment: bucketEnvironments['ctp-vw-staging-eu']
|
|
89
|
-
}, {
|
|
90
|
-
cloudEnvironment: clusterContexts['ctp_staging_aws_cn-northwest-1_v1'],
|
|
91
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-staging-cn']
|
|
92
83
|
}, {
|
|
93
84
|
cloudEnvironment: clusterContexts['ctp_testing_performance_gcp_europe-west1_v1'],
|
|
94
85
|
bucketEnvironment: bucketEnvironments['ctp-gcp-testing-performance-eu']
|
|
@@ -106,6 +97,9 @@ const defaultConfig = {
|
|
|
106
97
|
}, {
|
|
107
98
|
cloudEnvironment: clusterContexts['vw_production_aws_eu-central-1_v1'],
|
|
108
99
|
bucketEnvironment: bucketEnvironments['ctp-vw-production-eu']
|
|
100
|
+
}, {
|
|
101
|
+
cloudEnvironment: clusterContexts['ctp_production_azure_germanywestcentral_v1'],
|
|
102
|
+
bucketEnvironment: bucketEnvironments['ctp-azure-production-eu']
|
|
109
103
|
}],
|
|
110
104
|
[bucketRegions.northAmerica]: [{
|
|
111
105
|
cloudEnvironment: clusterContexts['att_production_aws_us-east-1_v1'],
|
|
@@ -124,18 +118,6 @@ const defaultConfig = {
|
|
|
124
118
|
[bucketRegions.asia]: [{
|
|
125
119
|
cloudEnvironment: clusterContexts['ctp_production_gcp_australia-southeast1_v1'],
|
|
126
120
|
bucketEnvironment: bucketEnvironments['ctp-gcp-production-au']
|
|
127
|
-
}, {
|
|
128
|
-
cloudEnvironment: clusterContexts['ctp_production_aws_cn-northwest-1_v1'],
|
|
129
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-production-cn']
|
|
130
|
-
}],
|
|
131
|
-
[bucketRegions.china]: [{
|
|
132
|
-
cloudEnvironment: clusterContexts['ctp_staging_aws_cn-northwest-1_v1'],
|
|
133
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-staging-cn'],
|
|
134
|
-
storageProviders: ['s3']
|
|
135
|
-
}, {
|
|
136
|
-
cloudEnvironment: clusterContexts['ctp_production_aws_cn-northwest-1_v1'],
|
|
137
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-production-cn'],
|
|
138
|
-
storageProviders: ['s3']
|
|
139
121
|
}]
|
|
140
122
|
};
|
|
141
123
|
function defineStorageBucketsConfig() {
|
package/dist/{storage-buckets-config-2e7dcecf.esm.js → storage-buckets-config-5db36778.esm.js}
RENAMED
|
@@ -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,32 +15,30 @@ 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
|
-
ctp_production_azure_eastus_v1: 'ctp_production_azure_eastus_v1'
|
|
19
|
+
ctp_production_azure_eastus_v1: 'ctp_production_azure_eastus_v1',
|
|
20
|
+
ctp_production_azure_germanywestcentral_v1: 'ctp_production_azure_germanywestcentral_v1'
|
|
22
21
|
};
|
|
23
22
|
const bucketEnvironments = {
|
|
24
23
|
'ctp-gcp-staging': 'ctp-gcp-staging',
|
|
25
24
|
'ctp-vw-staging-eu': 'ctp-vw-staging-eu',
|
|
26
|
-
'ctp-aws-staging-cn': 'ctp-aws-staging-cn',
|
|
27
25
|
'ctp-gcp-testing-performance-eu': 'ctp-gcp-testing-performance-eu',
|
|
28
26
|
'ctp-azure-staging': 'ctp-azure-staging',
|
|
29
27
|
'ctp-azure-production-us': 'ctp-azure-production-us',
|
|
28
|
+
'ctp-azure-production-eu': 'ctp-azure-production-eu',
|
|
30
29
|
'ctp-aws-production-fra': 'ctp-aws-production-fra',
|
|
31
30
|
'ctp-gcp-production-eu': 'ctp-gcp-production-eu',
|
|
32
31
|
'ctp-vw-production-eu': 'ctp-vw-production-eu',
|
|
33
32
|
'ctp-att-production-va': 'ctp-att-production-va',
|
|
34
33
|
'ctp-aws-production-ohio': 'ctp-aws-production-ohio',
|
|
35
34
|
'ctp-gcp-production-us': 'ctp-gcp-production-us',
|
|
36
|
-
'ctp-gcp-production-au': 'ctp-gcp-production-au'
|
|
37
|
-
'ctp-aws-production-cn': 'ctp-aws-production-cn'
|
|
35
|
+
'ctp-gcp-production-au': 'ctp-gcp-production-au'
|
|
38
36
|
};
|
|
39
37
|
const bucketRegions = {
|
|
40
38
|
previews: 'merchant-center-previews',
|
|
41
39
|
europe: 'merchant-center-europe',
|
|
42
40
|
northAmerica: 'merchant-center-north-america',
|
|
43
|
-
asia: 'merchant-center-asia'
|
|
44
|
-
china: 'merchant-center-china'
|
|
41
|
+
asia: 'merchant-center-asia'
|
|
45
42
|
};
|
|
46
43
|
const storageProviders = {
|
|
47
44
|
gs: {
|
|
@@ -57,13 +54,10 @@ const storageProviders = {
|
|
|
57
54
|
urls: {
|
|
58
55
|
public: {
|
|
59
56
|
default: null,
|
|
60
|
-
'ctp-aws-staging-cn': 'https://mc-storage.cn-northwest-1.aws.commercetools.cn',
|
|
61
|
-
'ctp-aws-production-cn': 'https://mc-storage.cn-northwest-1.aws.commercetools.cn',
|
|
62
57
|
'ctp-aws-production-ohio': 'https://mc-storage.us-east-2.aws.commercetools.com',
|
|
63
58
|
'ctp-aws-production-fra': 'https://mc-storage.eu-central-1.aws.commercetools.com'
|
|
64
59
|
},
|
|
65
60
|
bucket: {
|
|
66
|
-
'merchant-center-china': 'commercetools-mc-storage-aws-cn-prod-merchant-center',
|
|
67
61
|
'merchant-center-europe': 'commercetools-mc-storage-aws-eu-prod-merchant-center',
|
|
68
62
|
'merchant-center-north-america': 'commercetools-mc-storage-aws-us-prod-merchant-center'
|
|
69
63
|
}
|
|
@@ -78,9 +72,6 @@ const defaultConfig = {
|
|
|
78
72
|
}, {
|
|
79
73
|
cloudEnvironment: clusterContexts['vw_staging_aws_eu-central-1_v1'],
|
|
80
74
|
bucketEnvironment: bucketEnvironments['ctp-vw-staging-eu']
|
|
81
|
-
}, {
|
|
82
|
-
cloudEnvironment: clusterContexts['ctp_staging_aws_cn-northwest-1_v1'],
|
|
83
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-staging-cn']
|
|
84
75
|
}, {
|
|
85
76
|
cloudEnvironment: clusterContexts['ctp_testing_performance_gcp_europe-west1_v1'],
|
|
86
77
|
bucketEnvironment: bucketEnvironments['ctp-gcp-testing-performance-eu']
|
|
@@ -98,6 +89,9 @@ const defaultConfig = {
|
|
|
98
89
|
}, {
|
|
99
90
|
cloudEnvironment: clusterContexts['vw_production_aws_eu-central-1_v1'],
|
|
100
91
|
bucketEnvironment: bucketEnvironments['ctp-vw-production-eu']
|
|
92
|
+
}, {
|
|
93
|
+
cloudEnvironment: clusterContexts['ctp_production_azure_germanywestcentral_v1'],
|
|
94
|
+
bucketEnvironment: bucketEnvironments['ctp-azure-production-eu']
|
|
101
95
|
}],
|
|
102
96
|
[bucketRegions.northAmerica]: [{
|
|
103
97
|
cloudEnvironment: clusterContexts['att_production_aws_us-east-1_v1'],
|
|
@@ -116,18 +110,6 @@ const defaultConfig = {
|
|
|
116
110
|
[bucketRegions.asia]: [{
|
|
117
111
|
cloudEnvironment: clusterContexts['ctp_production_gcp_australia-southeast1_v1'],
|
|
118
112
|
bucketEnvironment: bucketEnvironments['ctp-gcp-production-au']
|
|
119
|
-
}, {
|
|
120
|
-
cloudEnvironment: clusterContexts['ctp_production_aws_cn-northwest-1_v1'],
|
|
121
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-production-cn']
|
|
122
|
-
}],
|
|
123
|
-
[bucketRegions.china]: [{
|
|
124
|
-
cloudEnvironment: clusterContexts['ctp_staging_aws_cn-northwest-1_v1'],
|
|
125
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-staging-cn'],
|
|
126
|
-
storageProviders: ['s3']
|
|
127
|
-
}, {
|
|
128
|
-
cloudEnvironment: clusterContexts['ctp_production_aws_cn-northwest-1_v1'],
|
|
129
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-production-cn'],
|
|
130
|
-
storageProviders: ['s3']
|
|
131
113
|
}]
|
|
132
114
|
};
|
|
133
115
|
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,32 +23,30 @@ 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
|
-
ctp_production_azure_eastus_v1: 'ctp_production_azure_eastus_v1'
|
|
27
|
+
ctp_production_azure_eastus_v1: 'ctp_production_azure_eastus_v1',
|
|
28
|
+
ctp_production_azure_germanywestcentral_v1: 'ctp_production_azure_germanywestcentral_v1'
|
|
30
29
|
};
|
|
31
30
|
const bucketEnvironments = {
|
|
32
31
|
'ctp-gcp-staging': 'ctp-gcp-staging',
|
|
33
32
|
'ctp-vw-staging-eu': 'ctp-vw-staging-eu',
|
|
34
|
-
'ctp-aws-staging-cn': 'ctp-aws-staging-cn',
|
|
35
33
|
'ctp-gcp-testing-performance-eu': 'ctp-gcp-testing-performance-eu',
|
|
36
34
|
'ctp-azure-staging': 'ctp-azure-staging',
|
|
37
35
|
'ctp-azure-production-us': 'ctp-azure-production-us',
|
|
36
|
+
'ctp-azure-production-eu': 'ctp-azure-production-eu',
|
|
38
37
|
'ctp-aws-production-fra': 'ctp-aws-production-fra',
|
|
39
38
|
'ctp-gcp-production-eu': 'ctp-gcp-production-eu',
|
|
40
39
|
'ctp-vw-production-eu': 'ctp-vw-production-eu',
|
|
41
40
|
'ctp-att-production-va': 'ctp-att-production-va',
|
|
42
41
|
'ctp-aws-production-ohio': 'ctp-aws-production-ohio',
|
|
43
42
|
'ctp-gcp-production-us': 'ctp-gcp-production-us',
|
|
44
|
-
'ctp-gcp-production-au': 'ctp-gcp-production-au'
|
|
45
|
-
'ctp-aws-production-cn': 'ctp-aws-production-cn'
|
|
43
|
+
'ctp-gcp-production-au': 'ctp-gcp-production-au'
|
|
46
44
|
};
|
|
47
45
|
const bucketRegions = {
|
|
48
46
|
previews: 'merchant-center-previews',
|
|
49
47
|
europe: 'merchant-center-europe',
|
|
50
48
|
northAmerica: 'merchant-center-north-america',
|
|
51
|
-
asia: 'merchant-center-asia'
|
|
52
|
-
china: 'merchant-center-china'
|
|
49
|
+
asia: 'merchant-center-asia'
|
|
53
50
|
};
|
|
54
51
|
const storageProviders = {
|
|
55
52
|
gs: {
|
|
@@ -65,13 +62,10 @@ const storageProviders = {
|
|
|
65
62
|
urls: {
|
|
66
63
|
public: {
|
|
67
64
|
default: null,
|
|
68
|
-
'ctp-aws-staging-cn': 'https://mc-storage.cn-northwest-1.aws.commercetools.cn',
|
|
69
|
-
'ctp-aws-production-cn': 'https://mc-storage.cn-northwest-1.aws.commercetools.cn',
|
|
70
65
|
'ctp-aws-production-ohio': 'https://mc-storage.us-east-2.aws.commercetools.com',
|
|
71
66
|
'ctp-aws-production-fra': 'https://mc-storage.eu-central-1.aws.commercetools.com'
|
|
72
67
|
},
|
|
73
68
|
bucket: {
|
|
74
|
-
'merchant-center-china': 'commercetools-mc-storage-aws-cn-prod-merchant-center',
|
|
75
69
|
'merchant-center-europe': 'commercetools-mc-storage-aws-eu-prod-merchant-center',
|
|
76
70
|
'merchant-center-north-america': 'commercetools-mc-storage-aws-us-prod-merchant-center'
|
|
77
71
|
}
|
|
@@ -86,9 +80,6 @@ const defaultConfig = {
|
|
|
86
80
|
}, {
|
|
87
81
|
cloudEnvironment: clusterContexts['vw_staging_aws_eu-central-1_v1'],
|
|
88
82
|
bucketEnvironment: bucketEnvironments['ctp-vw-staging-eu']
|
|
89
|
-
}, {
|
|
90
|
-
cloudEnvironment: clusterContexts['ctp_staging_aws_cn-northwest-1_v1'],
|
|
91
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-staging-cn']
|
|
92
83
|
}, {
|
|
93
84
|
cloudEnvironment: clusterContexts['ctp_testing_performance_gcp_europe-west1_v1'],
|
|
94
85
|
bucketEnvironment: bucketEnvironments['ctp-gcp-testing-performance-eu']
|
|
@@ -106,6 +97,9 @@ const defaultConfig = {
|
|
|
106
97
|
}, {
|
|
107
98
|
cloudEnvironment: clusterContexts['vw_production_aws_eu-central-1_v1'],
|
|
108
99
|
bucketEnvironment: bucketEnvironments['ctp-vw-production-eu']
|
|
100
|
+
}, {
|
|
101
|
+
cloudEnvironment: clusterContexts['ctp_production_azure_germanywestcentral_v1'],
|
|
102
|
+
bucketEnvironment: bucketEnvironments['ctp-azure-production-eu']
|
|
109
103
|
}],
|
|
110
104
|
[bucketRegions.northAmerica]: [{
|
|
111
105
|
cloudEnvironment: clusterContexts['att_production_aws_us-east-1_v1'],
|
|
@@ -124,18 +118,6 @@ const defaultConfig = {
|
|
|
124
118
|
[bucketRegions.asia]: [{
|
|
125
119
|
cloudEnvironment: clusterContexts['ctp_production_gcp_australia-southeast1_v1'],
|
|
126
120
|
bucketEnvironment: bucketEnvironments['ctp-gcp-production-au']
|
|
127
|
-
}, {
|
|
128
|
-
cloudEnvironment: clusterContexts['ctp_production_aws_cn-northwest-1_v1'],
|
|
129
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-production-cn']
|
|
130
|
-
}],
|
|
131
|
-
[bucketRegions.china]: [{
|
|
132
|
-
cloudEnvironment: clusterContexts['ctp_staging_aws_cn-northwest-1_v1'],
|
|
133
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-staging-cn'],
|
|
134
|
-
storageProviders: ['s3']
|
|
135
|
-
}, {
|
|
136
|
-
cloudEnvironment: clusterContexts['ctp_production_aws_cn-northwest-1_v1'],
|
|
137
|
-
bucketEnvironment: bucketEnvironments['ctp-aws-production-cn'],
|
|
138
|
-
storageProviders: ['s3']
|
|
139
121
|
}]
|
|
140
122
|
};
|
|
141
123
|
function defineStorageBucketsConfig() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.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.
|
|
27
|
-
"@commercetools-frontend/constants": "22.
|
|
28
|
-
"@commercetools-frontend/l10n": "22.
|
|
29
|
-
"@manypkg/find-root": "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.
|
|
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.
|
|
45
|
+
"@types/node": "20.16.10",
|
|
46
46
|
"typescript": "5.2.2"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|