@commercetools-frontend/mc-scripts 22.36.0-preview.0 → 22.37.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.
Files changed (50) hide show
  1. package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +6 -6
  2. package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +6 -6
  3. package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +6 -6
  4. package/dist/{build-f56ce7ec.cjs.dev.js → build-40b27f2f.cjs.dev.js} +3 -3
  5. package/dist/{build-a93715aa.esm.js → build-81bc99d0.esm.js} +3 -3
  6. package/dist/{build-99744dae.cjs.prod.js → build-c0030a16.cjs.prod.js} +3 -3
  7. package/dist/commercetools-frontend-mc-scripts.cjs.dev.js +1 -1
  8. package/dist/commercetools-frontend-mc-scripts.cjs.prod.js +1 -1
  9. package/dist/commercetools-frontend-mc-scripts.esm.js +1 -1
  10. package/dist/{config-sync-b57f79e2.cjs.prod.js → config-sync-38dcf7b7.cjs.prod.js} +4 -4
  11. package/dist/{config-sync-2ff62f08.cjs.dev.js → config-sync-38e60919.cjs.dev.js} +4 -4
  12. package/dist/{config-sync-cda7662e.esm.js → config-sync-3a376399.esm.js} +4 -4
  13. package/dist/{create-postcss-config-5962fa01.cjs.dev.js → create-postcss-config-0a4754fd.cjs.dev.js} +1 -1
  14. package/dist/{create-postcss-config-3b540c7c.cjs.prod.js → create-postcss-config-51d373d2.cjs.prod.js} +1 -1
  15. package/dist/{create-postcss-config-2f709335.esm.js → create-postcss-config-a9d3c401.esm.js} +1 -1
  16. package/dist/{create-webpack-config-for-development-b379913b.cjs.dev.js → create-webpack-config-for-development-b4ec6190.cjs.dev.js} +21 -17
  17. package/dist/{create-webpack-config-for-development-86baace3.esm.js → create-webpack-config-for-development-bed346d5.esm.js} +21 -17
  18. package/dist/{create-webpack-config-for-development-7d9e4dc4.cjs.prod.js → create-webpack-config-for-development-f50fea0e.cjs.prod.js} +21 -17
  19. package/dist/{create-webpack-config-for-production-3a40f56b.cjs.dev.js → create-webpack-config-for-production-61c68a25.cjs.dev.js} +1 -1
  20. package/dist/{create-webpack-config-for-production-5ec9d0e2.cjs.prod.js → create-webpack-config-for-production-d1cebd63.cjs.prod.js} +1 -1
  21. package/dist/{create-webpack-config-for-production-b6ee3116.esm.js → create-webpack-config-for-production-d45fee58.esm.js} +1 -1
  22. package/dist/{credentials-storage-3cea94ea.cjs.dev.js → credentials-storage-79751613.cjs.dev.js} +1 -1
  23. package/dist/{credentials-storage-dc849808.cjs.prod.js → credentials-storage-7ab89745.cjs.prod.js} +1 -1
  24. package/dist/{credentials-storage-b13e1406.esm.js → credentials-storage-dea3fb46.esm.js} +1 -1
  25. package/dist/declarations/src/config/webpack-dev-server.config.d.ts +1 -1
  26. package/dist/{deployment-previews-set-923f79de.esm.js → deployment-previews-set-0fc074f0.esm.js} +4 -4
  27. package/dist/{deployment-previews-set-173d8491.cjs.dev.js → deployment-previews-set-7ceaf1ba.cjs.dev.js} +4 -4
  28. package/dist/{deployment-previews-set-f451242a.cjs.prod.js → deployment-previews-set-84a30cac.cjs.prod.js} +4 -4
  29. package/dist/{graphql-requests-db54706e.cjs.prod.js → graphql-requests-1f4934c2.cjs.prod.js} +1 -1
  30. package/dist/{graphql-requests-0e427050.esm.js → graphql-requests-8f60bbd5.esm.js} +1 -1
  31. package/dist/{graphql-requests-733aac06.cjs.dev.js → graphql-requests-a7b7a0e3.cjs.dev.js} +1 -1
  32. package/dist/{login-c616d769.cjs.prod.js → login-0bd5c26a.cjs.prod.js} +3 -3
  33. package/dist/{login-65c78b83.cjs.dev.js → login-95844954.cjs.dev.js} +3 -3
  34. package/dist/{login-35f578e3.esm.js → login-e11e9f77.esm.js} +3 -3
  35. package/dist/{package-b2f2b4e5.esm.js → package-4a90ef30.esm.js} +8 -8
  36. package/dist/{package-436331e6.cjs.dev.js → package-b64c9e83.cjs.prod.js} +8 -8
  37. package/dist/{package-a7096308.cjs.prod.js → package-edc5a34f.cjs.dev.js} +8 -8
  38. package/dist/{start-4e79e08f.esm.js → start-18b24c44.esm.js} +6 -6
  39. package/dist/{start-569eb0f9.cjs.dev.js → start-1f13aee4.cjs.dev.js} +6 -6
  40. package/dist/{start-b0765c9a.cjs.prod.js → start-6f6d4869.cjs.prod.js} +6 -6
  41. package/dist/{start-vite-a787f80d.cjs.dev.js → start-vite-891db7d7.cjs.dev.js} +1 -1
  42. package/dist/{start-vite-a68e1b9f.cjs.prod.js → start-vite-d45aaa6a.cjs.prod.js} +1 -1
  43. package/dist/{start-vite-45bfc42f.esm.js → start-vite-dd4506fa.esm.js} +1 -1
  44. package/package.json +8 -8
  45. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.dev.js +2 -2
  46. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.prod.js +2 -2
  47. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.esm.js +2 -2
  48. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.dev.js +4 -4
  49. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +4 -4
  50. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +4 -4
@@ -10,7 +10,7 @@ var path = require('path');
10
10
  var cac = require('cac');
11
11
  var dotenv = require('dotenv');
12
12
  var dotenvExpand = require('dotenv-expand');
13
- var _package = require('../../dist/package-436331e6.cjs.dev.js');
13
+ var _package = require('../../dist/package-edc5a34f.cjs.dev.js');
14
14
  var doesFileExist = require('../../dist/does-file-exist-eb86baca.cjs.dev.js');
15
15
  require('node:fs');
16
16
 
@@ -58,7 +58,7 @@ async function run() {
58
58
  console.log('Experimental Vite bundler enabled! 🚀');
59
59
  console.log('');
60
60
  }
61
- const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-a787f80d.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-569eb0f9.cjs.dev.js'); });
61
+ const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-891db7d7.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-1f13aee4.cjs.dev.js'); });
62
62
  await startCommand.default();
63
63
  });
64
64
 
@@ -79,7 +79,7 @@ async function run() {
79
79
  console.log('Experimental Vite bundler enabled! 🚀');
80
80
  console.log('');
81
81
  }
82
- const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-838c8e01.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-f56ce7ec.cjs.dev.js'); });
82
+ const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-838c8e01.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-40b27f2f.cjs.dev.js'); });
83
83
  await buildCommand.default();
84
84
  const shouldAlsoCompile = !options.buildOnly;
85
85
  if (shouldAlsoCompile) {
@@ -128,7 +128,7 @@ async function run() {
128
128
 
129
129
  // Do this as the first thing so that any code reading it knows the right env.
130
130
  process.env.NODE_ENV = 'production';
131
- const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-65c78b83.cjs.dev.js'); });
131
+ const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-95844954.cjs.dev.js'); });
132
132
  await loginCommand.default();
133
133
  });
134
134
 
@@ -143,7 +143,7 @@ async function run() {
143
143
 
144
144
  // Do this as the first thing so that any code reading it knows the right env.
145
145
  process.env.NODE_ENV = 'production';
146
- const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-2ff62f08.cjs.dev.js'); });
146
+ const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-38e60919.cjs.dev.js'); });
147
147
  await configSyncCommand.default(options);
148
148
  });
149
149
 
@@ -158,7 +158,7 @@ async function run() {
158
158
 
159
159
  // Do this as the first thing so that any code reading it knows the right env.
160
160
  process.env.NODE_ENV = 'production';
161
- const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-173d8491.cjs.dev.js'); });
161
+ const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-7ceaf1ba.cjs.dev.js'); });
162
162
  await deploymentsSetCommand.default(options);
163
163
  });
164
164
  cli.help();
@@ -10,7 +10,7 @@ var path = require('path');
10
10
  var cac = require('cac');
11
11
  var dotenv = require('dotenv');
12
12
  var dotenvExpand = require('dotenv-expand');
13
- var _package = require('../../dist/package-a7096308.cjs.prod.js');
13
+ var _package = require('../../dist/package-b64c9e83.cjs.prod.js');
14
14
  var doesFileExist = require('../../dist/does-file-exist-be53305d.cjs.prod.js');
15
15
  require('node:fs');
16
16
 
@@ -58,7 +58,7 @@ async function run() {
58
58
  console.log('Experimental Vite bundler enabled! 🚀');
59
59
  console.log('');
60
60
  }
61
- const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-a68e1b9f.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-b0765c9a.cjs.prod.js'); });
61
+ const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-d45aaa6a.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-6f6d4869.cjs.prod.js'); });
62
62
  await startCommand.default();
63
63
  });
64
64
 
@@ -79,7 +79,7 @@ async function run() {
79
79
  console.log('Experimental Vite bundler enabled! 🚀');
80
80
  console.log('');
81
81
  }
82
- const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-000f0a2d.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-99744dae.cjs.prod.js'); });
82
+ const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-000f0a2d.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-c0030a16.cjs.prod.js'); });
83
83
  await buildCommand.default();
84
84
  const shouldAlsoCompile = !options.buildOnly;
85
85
  if (shouldAlsoCompile) {
@@ -128,7 +128,7 @@ async function run() {
128
128
 
129
129
  // Do this as the first thing so that any code reading it knows the right env.
130
130
  process.env.NODE_ENV = 'production';
131
- const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-c616d769.cjs.prod.js'); });
131
+ const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-0bd5c26a.cjs.prod.js'); });
132
132
  await loginCommand.default();
133
133
  });
134
134
 
@@ -143,7 +143,7 @@ async function run() {
143
143
 
144
144
  // Do this as the first thing so that any code reading it knows the right env.
145
145
  process.env.NODE_ENV = 'production';
146
- const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-b57f79e2.cjs.prod.js'); });
146
+ const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-38dcf7b7.cjs.prod.js'); });
147
147
  await configSyncCommand.default(options);
148
148
  });
149
149
 
@@ -158,7 +158,7 @@ async function run() {
158
158
 
159
159
  // Do this as the first thing so that any code reading it knows the right env.
160
160
  process.env.NODE_ENV = 'production';
161
- const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-f451242a.cjs.prod.js'); });
161
+ const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-84a30cac.cjs.prod.js'); });
162
162
  await deploymentsSetCommand.default(options);
163
163
  });
164
164
  cli.help();
@@ -6,7 +6,7 @@ import path from 'path';
6
6
  import { cac } from 'cac';
7
7
  import dotenv from 'dotenv';
8
8
  import dotenvExpand from 'dotenv-expand';
9
- import { p as pkgJson } from '../../dist/package-b2f2b4e5.esm.js';
9
+ import { p as pkgJson } from '../../dist/package-4a90ef30.esm.js';
10
10
  import { d as doesFileExist } from '../../dist/does-file-exist-32618334.esm.js';
11
11
  import 'node:fs';
12
12
 
@@ -44,7 +44,7 @@ async function run() {
44
44
  console.log('Experimental Vite bundler enabled! 🚀');
45
45
  console.log('');
46
46
  }
47
- const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-45bfc42f.esm.js') : await import('../../dist/start-4e79e08f.esm.js');
47
+ const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-dd4506fa.esm.js') : await import('../../dist/start-18b24c44.esm.js');
48
48
  await startCommand.default();
49
49
  });
50
50
 
@@ -65,7 +65,7 @@ async function run() {
65
65
  console.log('Experimental Vite bundler enabled! 🚀');
66
66
  console.log('');
67
67
  }
68
- const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-722f0dcf.esm.js') : await import('../../dist/build-a93715aa.esm.js');
68
+ const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-722f0dcf.esm.js') : await import('../../dist/build-81bc99d0.esm.js');
69
69
  await buildCommand.default();
70
70
  const shouldAlsoCompile = !options.buildOnly;
71
71
  if (shouldAlsoCompile) {
@@ -114,7 +114,7 @@ async function run() {
114
114
 
115
115
  // Do this as the first thing so that any code reading it knows the right env.
116
116
  process.env.NODE_ENV = 'production';
117
- const loginCommand = await import('../../dist/login-35f578e3.esm.js');
117
+ const loginCommand = await import('../../dist/login-e11e9f77.esm.js');
118
118
  await loginCommand.default();
119
119
  });
120
120
 
@@ -129,7 +129,7 @@ async function run() {
129
129
 
130
130
  // Do this as the first thing so that any code reading it knows the right env.
131
131
  process.env.NODE_ENV = 'production';
132
- const configSyncCommand = await import('../../dist/config-sync-cda7662e.esm.js');
132
+ const configSyncCommand = await import('../../dist/config-sync-3a376399.esm.js');
133
133
  await configSyncCommand.default(options);
134
134
  });
135
135
 
@@ -144,7 +144,7 @@ async function run() {
144
144
 
145
145
  // Do this as the first thing so that any code reading it knows the right env.
146
146
  process.env.NODE_ENV = 'production';
147
- const deploymentsSetCommand = await import('../../dist/deployment-previews-set-923f79de.esm.js');
147
+ const deploymentsSetCommand = await import('../../dist/deployment-previews-set-0fc074f0.esm.js');
148
148
  await deploymentsSetCommand.default(options);
149
149
  });
150
150
  cli.help();
@@ -10,7 +10,7 @@ var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
10
10
  var printBuildError = require('react-dev-utils/printBuildError');
11
11
  var webpack = require('webpack');
12
12
  var assets = require('@commercetools-frontend/assets');
13
- var createWebpackConfigForProduction = require('./create-webpack-config-for-production-3a40f56b.cjs.dev.js');
13
+ var createWebpackConfigForProduction = require('./create-webpack-config-for-production-61c68a25.cjs.dev.js');
14
14
  var paths = require('./paths-b76fc753.cjs.dev.js');
15
15
  var doesFileExist = require('./does-file-exist-eb86baca.cjs.dev.js');
16
16
  require('@babel/runtime-corejs3/core-js-stable/object/keys');
@@ -40,9 +40,9 @@ require('@babel/runtime-corejs3/core-js-stable/instance/bind');
40
40
  require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
41
41
  require('@babel/runtime-corejs3/core-js-stable/object/assign');
42
42
  require('fs');
43
- require('./create-postcss-config-5962fa01.cjs.dev.js');
43
+ require('./create-postcss-config-0a4754fd.cjs.dev.js');
44
44
  require('@babel/runtime-corejs3/helpers/slicedToArray');
45
- require('./package-436331e6.cjs.dev.js');
45
+ require('./package-edc5a34f.cjs.dev.js');
46
46
  require('./has-jsx-runtime-aa5d21ee.cjs.dev.js');
47
47
  require('./optimizations-7789145e.cjs.dev.js');
48
48
  require('@babel/runtime-corejs3/core-js-stable/object/entries');
@@ -8,7 +8,7 @@ import formatWebpackMessages from 'react-dev-utils/formatWebpackMessages';
8
8
  import printBuildError from 'react-dev-utils/printBuildError';
9
9
  import webpack from 'webpack';
10
10
  import { packageLocation } from '@commercetools-frontend/assets';
11
- import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-b6ee3116.esm.js';
11
+ import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-d45fee58.esm.js';
12
12
  import { p as paths } from './paths-39f22b8b.esm.js';
13
13
  import { d as doesFileExist } from './does-file-exist-32618334.esm.js';
14
14
  import '@babel/runtime-corejs3/core-js-stable/object/keys';
@@ -38,9 +38,9 @@ import '@babel/runtime-corejs3/core-js-stable/instance/bind';
38
38
  import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
39
39
  import '@babel/runtime-corejs3/core-js-stable/object/assign';
40
40
  import 'fs';
41
- import './create-postcss-config-2f709335.esm.js';
41
+ import './create-postcss-config-a9d3c401.esm.js';
42
42
  import '@babel/runtime-corejs3/helpers/slicedToArray';
43
- import './package-b2f2b4e5.esm.js';
43
+ import './package-4a90ef30.esm.js';
44
44
  import './has-jsx-runtime-e3ecb09b.esm.js';
45
45
  import './optimizations-bf991634.esm.js';
46
46
  import '@babel/runtime-corejs3/core-js-stable/object/entries';
@@ -10,7 +10,7 @@ var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
10
10
  var printBuildError = require('react-dev-utils/printBuildError');
11
11
  var webpack = require('webpack');
12
12
  var assets = require('@commercetools-frontend/assets');
13
- var createWebpackConfigForProduction = require('./create-webpack-config-for-production-5ec9d0e2.cjs.prod.js');
13
+ var createWebpackConfigForProduction = require('./create-webpack-config-for-production-d1cebd63.cjs.prod.js');
14
14
  var paths = require('./paths-7768b440.cjs.prod.js');
15
15
  var doesFileExist = require('./does-file-exist-be53305d.cjs.prod.js');
16
16
  require('@babel/runtime-corejs3/core-js-stable/object/keys');
@@ -40,9 +40,9 @@ require('@babel/runtime-corejs3/core-js-stable/instance/bind');
40
40
  require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
41
41
  require('@babel/runtime-corejs3/core-js-stable/object/assign');
42
42
  require('fs');
43
- require('./create-postcss-config-3b540c7c.cjs.prod.js');
43
+ require('./create-postcss-config-51d373d2.cjs.prod.js');
44
44
  require('@babel/runtime-corejs3/helpers/slicedToArray');
45
- require('./package-a7096308.cjs.prod.js');
45
+ require('./package-b64c9e83.cjs.prod.js');
46
46
  require('./has-jsx-runtime-c3202df5.cjs.prod.js');
47
47
  require('./optimizations-fb93514f.cjs.prod.js');
48
48
  require('@babel/runtime-corejs3/core-js-stable/object/entries');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
6
6
 
7
7
  // NOTE: This string will be replaced on build time with the package version.
8
- var version = "22.35.1";
8
+ var version = "22.37.0";
9
9
 
10
10
  // These exports are deprecated.
11
11
 
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.cjs.prod.js');
6
6
 
7
7
  // NOTE: This string will be replaced on build time with the package version.
8
- var version = "22.35.1";
8
+ var version = "22.37.0";
9
9
 
10
10
  // These exports are deprecated.
11
11
 
@@ -1,7 +1,7 @@
1
1
  export { v as vendorsToTranspile } from './vendors-to-transpile-7dc84a72.esm.js';
2
2
 
3
3
  // NOTE: This string will be replaced on build time with the package version.
4
- var version = "22.35.1";
4
+ var version = "22.37.0";
5
5
 
6
6
  // These exports are deprecated.
7
7
 
@@ -9,7 +9,7 @@ var chalk = require('chalk');
9
9
  var omit = require('lodash/omit');
10
10
  var prompts = require('prompts');
11
11
  var applicationConfig = require('@commercetools-frontend/application-config');
12
- var credentialsStorage$1 = require('./credentials-storage-dc849808.cjs.prod.js');
12
+ var credentialsStorage$1 = require('./credentials-storage-7ab89745.cjs.prod.js');
13
13
  var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
14
14
  var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
15
15
  var _Object$getOwnPropertyDescriptors = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors');
@@ -21,9 +21,9 @@ var _Set = require('@babel/runtime-corejs3/core-js-stable/set');
21
21
  var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
22
22
  var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
23
23
  var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
24
- var graphqlRequests = require('./graphql-requests-db54706e.cjs.prod.js');
24
+ var graphqlRequests = require('./graphql-requests-1f4934c2.cjs.prod.js');
25
25
  require('@commercetools/http-user-agent');
26
- require('./package-a7096308.cjs.prod.js');
26
+ require('./package-b64c9e83.cjs.prod.js');
27
27
  require('@babel/runtime-corejs3/helpers/classCallCheck');
28
28
  require('@babel/runtime-corejs3/helpers/createClass');
29
29
  require('@babel/runtime-corejs3/core-js-stable/date/now');
@@ -806,7 +806,7 @@ async function createOrUpdateCustomView(_ref4) {
806
806
  console.log(`You can inspect the Custom View data in the Merchant Center at "${chalk__default["default"].gray(customViewLink)}".`);
807
807
  }
808
808
  async function run(options) {
809
- const applicationConfig$1 = applicationConfig.processConfig();
809
+ const applicationConfig$1 = await applicationConfig.processConfig();
810
810
  const localCustomEntityData = applicationConfig$1.data;
811
811
  const _applicationConfig$en = applicationConfig$1.env,
812
812
  mcApiUrl = _applicationConfig$en.mcApiUrl,
@@ -9,7 +9,7 @@ var chalk = require('chalk');
9
9
  var omit = require('lodash/omit');
10
10
  var prompts = require('prompts');
11
11
  var applicationConfig = require('@commercetools-frontend/application-config');
12
- var credentialsStorage$1 = require('./credentials-storage-3cea94ea.cjs.dev.js');
12
+ var credentialsStorage$1 = require('./credentials-storage-79751613.cjs.dev.js');
13
13
  var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
14
14
  var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
15
15
  var _Object$getOwnPropertyDescriptors = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors');
@@ -21,9 +21,9 @@ var _Set = require('@babel/runtime-corejs3/core-js-stable/set');
21
21
  var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
22
22
  var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
23
23
  var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
24
- var graphqlRequests = require('./graphql-requests-733aac06.cjs.dev.js');
24
+ var graphqlRequests = require('./graphql-requests-a7b7a0e3.cjs.dev.js');
25
25
  require('@commercetools/http-user-agent');
26
- require('./package-436331e6.cjs.dev.js');
26
+ require('./package-edc5a34f.cjs.dev.js');
27
27
  require('@babel/runtime-corejs3/helpers/classCallCheck');
28
28
  require('@babel/runtime-corejs3/helpers/createClass');
29
29
  require('@babel/runtime-corejs3/core-js-stable/date/now');
@@ -812,7 +812,7 @@ async function createOrUpdateCustomView(_ref4) {
812
812
  console.log(`You can inspect the Custom View data in the Merchant Center at "${chalk__default["default"].gray(customViewLink)}".`);
813
813
  }
814
814
  async function run(options) {
815
- const applicationConfig$1 = applicationConfig.processConfig();
815
+ const applicationConfig$1 = await applicationConfig.processConfig();
816
816
  const localCustomEntityData = applicationConfig$1.data;
817
817
  const _applicationConfig$en = applicationConfig$1.env,
818
818
  mcApiUrl = _applicationConfig$en.mcApiUrl,
@@ -7,7 +7,7 @@ import chalk from 'chalk';
7
7
  import omit from 'lodash/omit';
8
8
  import prompts from 'prompts';
9
9
  import { sanitizeSvg, processConfig } from '@commercetools-frontend/application-config';
10
- import { C as CredentialsStorage } from './credentials-storage-b13e1406.esm.js';
10
+ import { C as CredentialsStorage } from './credentials-storage-dea3fb46.esm.js';
11
11
  import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
12
12
  import _Object$getOwnPropertyDescriptor from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor';
13
13
  import _Object$getOwnPropertyDescriptors from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors';
@@ -19,9 +19,9 @@ import _Set from '@babel/runtime-corejs3/core-js-stable/set';
19
19
  import _forEachInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/for-each';
20
20
  import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/reduce';
21
21
  import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
22
- import { f as fetchCustomApplication, a as fetchUserOrganizations, c as createCustomApplication, u as updateCustomApplication, b as fetchCustomView, d as createCustomView, e as updateCustomView } from './graphql-requests-0e427050.esm.js';
22
+ import { f as fetchCustomApplication, a as fetchUserOrganizations, c as createCustomApplication, u as updateCustomApplication, b as fetchCustomView, d as createCustomView, e as updateCustomView } from './graphql-requests-8f60bbd5.esm.js';
23
23
  import '@commercetools/http-user-agent';
24
- import './package-b2f2b4e5.esm.js';
24
+ import './package-4a90ef30.esm.js';
25
25
  import '@babel/runtime-corejs3/helpers/classCallCheck';
26
26
  import '@babel/runtime-corejs3/helpers/createClass';
27
27
  import '@babel/runtime-corejs3/core-js-stable/date/now';
@@ -790,7 +790,7 @@ async function createOrUpdateCustomView(_ref4) {
790
790
  console.log(`You can inspect the Custom View data in the Merchant Center at "${chalk.gray(customViewLink)}".`);
791
791
  }
792
792
  async function run(options) {
793
- const applicationConfig = processConfig();
793
+ const applicationConfig = await processConfig();
794
794
  const localCustomEntityData = applicationConfig.data;
795
795
  const _applicationConfig$en = applicationConfig.env,
796
796
  mcApiUrl = _applicationConfig$en.mcApiUrl,
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
4
4
  var path = require('path');
5
- var _package = require('./package-436331e6.cjs.dev.js');
5
+ var _package = require('./package-edc5a34f.cjs.dev.js');
6
6
 
7
7
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
4
4
  var path = require('path');
5
- var _package = require('./package-a7096308.cjs.prod.js');
5
+ var _package = require('./package-b64c9e83.cjs.prod.js');
6
6
 
7
7
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
8
8
 
@@ -1,6 +1,6 @@
1
1
  import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
2
2
  import path from 'path';
3
- import { p as pkgJson } from './package-b2f2b4e5.esm.js';
3
+ import { p as pkgJson } from './package-4a90ef30.esm.js';
4
4
 
5
5
  // This function aims to return the same result as `require.resolve`.
6
6
  // However, resolving a path to a `.css` file does not return the real
@@ -25,7 +25,7 @@ var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
25
25
  var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
26
26
  var applicationConfig = require('@commercetools-frontend/application-config');
27
27
  var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
28
- var createPostcssConfig = require('./create-postcss-config-5962fa01.cjs.dev.js');
28
+ var createPostcssConfig = require('./create-postcss-config-0a4754fd.cjs.dev.js');
29
29
  var hasJsxRuntime = require('./has-jsx-runtime-aa5d21ee.cjs.dev.js');
30
30
  var optimizations = require('./optimizations-7789145e.cjs.dev.js');
31
31
  var paths = require('./paths-b76fc753.cjs.dev.js');
@@ -62,22 +62,26 @@ let LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
62
62
  key: "apply",
63
63
  value: function apply(compiler) {
64
64
  compiler.hooks.compilation.tap('LocalHtmlWebpackPlugin', compilation => {
65
- HtmlWebpackPlugin__default["default"].getHooks(compilation).beforeEmit.tapAsync('LocalHtmlWebpackPlugin', (data, cb) => {
66
- const applicationConfig$1 = applicationConfig.processConfig();
67
- const enhancedLocalEnv = _Object$assign__default["default"]({}, applicationConfig$1.env,
68
- // Now that the app config is defined as a `env.json`, when we start the FE app
69
- // to point to the local backend API by passing the `MC_API_URL` env does not
70
- // work anymore). To make it work again, we can override the `env.json` config
71
- // with the env variable before injecting the values into the index.html.
72
- // NOTE: this is only necessary for development.
73
- process.env.MC_API_URL ? {
74
- mcApiUrl: process.env.MC_API_URL
75
- } : {});
76
- data.html = mcHtmlTemplate.replaceHtmlPlaceholders(data.html, {
77
- env: enhancedLocalEnv,
78
- headers: {}
79
- });
80
- cb(null, data);
65
+ HtmlWebpackPlugin__default["default"].getHooks(compilation).beforeEmit.tapAsync('LocalHtmlWebpackPlugin', async (data, cb) => {
66
+ try {
67
+ const applicationConfig$1 = await applicationConfig.processConfig();
68
+ const enhancedLocalEnv = _Object$assign__default["default"]({}, applicationConfig$1.env,
69
+ // Now that the app config is defined as a `env.json`, when we start the FE app
70
+ // to point to the local backend API by passing the `MC_API_URL` env does not
71
+ // work anymore). To make it work again, we can override the `env.json` config
72
+ // with the env variable before injecting the values into the index.html.
73
+ // NOTE: this is only necessary for development.
74
+ process.env.MC_API_URL ? {
75
+ mcApiUrl: process.env.MC_API_URL
76
+ } : {});
77
+ data.html = mcHtmlTemplate.replaceHtmlPlaceholders(data.html, {
78
+ env: enhancedLocalEnv,
79
+ headers: {}
80
+ });
81
+ cb(null, data);
82
+ } catch (error) {
83
+ cb(error);
84
+ }
81
85
  });
82
86
  });
83
87
  }
@@ -23,7 +23,7 @@ import _createClass from '@babel/runtime-corejs3/helpers/esm/createClass';
23
23
  import _Object$assign from '@babel/runtime-corejs3/core-js-stable/object/assign';
24
24
  import { processConfig } from '@commercetools-frontend/application-config';
25
25
  import { replaceHtmlPlaceholders } from '@commercetools-frontend/mc-html-template';
26
- import { c as createPostcssConfig } from './create-postcss-config-2f709335.esm.js';
26
+ import { c as createPostcssConfig } from './create-postcss-config-a9d3c401.esm.js';
27
27
  import { h as hasJsxRuntime } from './has-jsx-runtime-e3ecb09b.esm.js';
28
28
  import { g as getWepbackCacheGroups } from './optimizations-bf991634.esm.js';
29
29
  import { p as paths } from './paths-39f22b8b.esm.js';
@@ -37,22 +37,26 @@ let LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
37
37
  key: "apply",
38
38
  value: function apply(compiler) {
39
39
  compiler.hooks.compilation.tap('LocalHtmlWebpackPlugin', compilation => {
40
- HtmlWebpackPlugin.getHooks(compilation).beforeEmit.tapAsync('LocalHtmlWebpackPlugin', (data, cb) => {
41
- const applicationConfig = processConfig();
42
- const enhancedLocalEnv = _Object$assign({}, applicationConfig.env,
43
- // Now that the app config is defined as a `env.json`, when we start the FE app
44
- // to point to the local backend API by passing the `MC_API_URL` env does not
45
- // work anymore). To make it work again, we can override the `env.json` config
46
- // with the env variable before injecting the values into the index.html.
47
- // NOTE: this is only necessary for development.
48
- process.env.MC_API_URL ? {
49
- mcApiUrl: process.env.MC_API_URL
50
- } : {});
51
- data.html = replaceHtmlPlaceholders(data.html, {
52
- env: enhancedLocalEnv,
53
- headers: {}
54
- });
55
- cb(null, data);
40
+ HtmlWebpackPlugin.getHooks(compilation).beforeEmit.tapAsync('LocalHtmlWebpackPlugin', async (data, cb) => {
41
+ try {
42
+ const applicationConfig = await processConfig();
43
+ const enhancedLocalEnv = _Object$assign({}, applicationConfig.env,
44
+ // Now that the app config is defined as a `env.json`, when we start the FE app
45
+ // to point to the local backend API by passing the `MC_API_URL` env does not
46
+ // work anymore). To make it work again, we can override the `env.json` config
47
+ // with the env variable before injecting the values into the index.html.
48
+ // NOTE: this is only necessary for development.
49
+ process.env.MC_API_URL ? {
50
+ mcApiUrl: process.env.MC_API_URL
51
+ } : {});
52
+ data.html = replaceHtmlPlaceholders(data.html, {
53
+ env: enhancedLocalEnv,
54
+ headers: {}
55
+ });
56
+ cb(null, data);
57
+ } catch (error) {
58
+ cb(error);
59
+ }
56
60
  });
57
61
  });
58
62
  }
@@ -25,7 +25,7 @@ var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
25
25
  var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
26
26
  var applicationConfig = require('@commercetools-frontend/application-config');
27
27
  var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
28
- var createPostcssConfig = require('./create-postcss-config-3b540c7c.cjs.prod.js');
28
+ var createPostcssConfig = require('./create-postcss-config-51d373d2.cjs.prod.js');
29
29
  var hasJsxRuntime = require('./has-jsx-runtime-c3202df5.cjs.prod.js');
30
30
  var optimizations = require('./optimizations-fb93514f.cjs.prod.js');
31
31
  var paths = require('./paths-7768b440.cjs.prod.js');
@@ -62,22 +62,26 @@ let LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
62
62
  key: "apply",
63
63
  value: function apply(compiler) {
64
64
  compiler.hooks.compilation.tap('LocalHtmlWebpackPlugin', compilation => {
65
- HtmlWebpackPlugin__default["default"].getHooks(compilation).beforeEmit.tapAsync('LocalHtmlWebpackPlugin', (data, cb) => {
66
- const applicationConfig$1 = applicationConfig.processConfig();
67
- const enhancedLocalEnv = _Object$assign__default["default"]({}, applicationConfig$1.env,
68
- // Now that the app config is defined as a `env.json`, when we start the FE app
69
- // to point to the local backend API by passing the `MC_API_URL` env does not
70
- // work anymore). To make it work again, we can override the `env.json` config
71
- // with the env variable before injecting the values into the index.html.
72
- // NOTE: this is only necessary for development.
73
- process.env.MC_API_URL ? {
74
- mcApiUrl: process.env.MC_API_URL
75
- } : {});
76
- data.html = mcHtmlTemplate.replaceHtmlPlaceholders(data.html, {
77
- env: enhancedLocalEnv,
78
- headers: {}
79
- });
80
- cb(null, data);
65
+ HtmlWebpackPlugin__default["default"].getHooks(compilation).beforeEmit.tapAsync('LocalHtmlWebpackPlugin', async (data, cb) => {
66
+ try {
67
+ const applicationConfig$1 = await applicationConfig.processConfig();
68
+ const enhancedLocalEnv = _Object$assign__default["default"]({}, applicationConfig$1.env,
69
+ // Now that the app config is defined as a `env.json`, when we start the FE app
70
+ // to point to the local backend API by passing the `MC_API_URL` env does not
71
+ // work anymore). To make it work again, we can override the `env.json` config
72
+ // with the env variable before injecting the values into the index.html.
73
+ // NOTE: this is only necessary for development.
74
+ process.env.MC_API_URL ? {
75
+ mcApiUrl: process.env.MC_API_URL
76
+ } : {});
77
+ data.html = mcHtmlTemplate.replaceHtmlPlaceholders(data.html, {
78
+ env: enhancedLocalEnv,
79
+ headers: {}
80
+ });
81
+ cb(null, data);
82
+ } catch (error) {
83
+ cb(error);
84
+ }
81
85
  });
82
86
  });
83
87
  }
@@ -29,7 +29,7 @@ var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
29
29
  var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
30
30
  var fs = require('fs');
31
31
  var path = require('path');
32
- var createPostcssConfig = require('./create-postcss-config-5962fa01.cjs.dev.js');
32
+ var createPostcssConfig = require('./create-postcss-config-0a4754fd.cjs.dev.js');
33
33
  var hasJsxRuntime = require('./has-jsx-runtime-aa5d21ee.cjs.dev.js');
34
34
  var optimizations = require('./optimizations-7789145e.cjs.dev.js');
35
35
  var paths = require('./paths-b76fc753.cjs.dev.js');
@@ -29,7 +29,7 @@ var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
29
29
  var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
30
30
  var fs = require('fs');
31
31
  var path = require('path');
32
- var createPostcssConfig = require('./create-postcss-config-3b540c7c.cjs.prod.js');
32
+ var createPostcssConfig = require('./create-postcss-config-51d373d2.cjs.prod.js');
33
33
  var hasJsxRuntime = require('./has-jsx-runtime-c3202df5.cjs.prod.js');
34
34
  var optimizations = require('./optimizations-fb93514f.cjs.prod.js');
35
35
  var paths = require('./paths-7768b440.cjs.prod.js');
@@ -27,7 +27,7 @@ import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
27
27
  import _Object$assign from '@babel/runtime-corejs3/core-js-stable/object/assign';
28
28
  import fs from 'fs';
29
29
  import path from 'path';
30
- import { c as createPostcssConfig } from './create-postcss-config-2f709335.esm.js';
30
+ import { c as createPostcssConfig } from './create-postcss-config-a9d3c401.esm.js';
31
31
  import { h as hasJsxRuntime } from './has-jsx-runtime-e3ecb09b.esm.js';
32
32
  import { g as getWepbackCacheGroups } from './optimizations-bf991634.esm.js';
33
33
  import { p as paths } from './paths-39f22b8b.esm.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var createHttpUserAgent = require('@commercetools/http-user-agent');
4
- var _package = require('./package-436331e6.cjs.dev.js');
4
+ var _package = require('./package-edc5a34f.cjs.dev.js');
5
5
  var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
6
6
  var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
7
7
  var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var createHttpUserAgent = require('@commercetools/http-user-agent');
4
- var _package = require('./package-a7096308.cjs.prod.js');
4
+ var _package = require('./package-b64c9e83.cjs.prod.js');
5
5
  var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
6
6
  var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
7
7
  var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
@@ -1,5 +1,5 @@
1
1
  import createHttpUserAgent from '@commercetools/http-user-agent';
2
- import { p as pkgJson } from './package-b2f2b4e5.esm.js';
2
+ import { p as pkgJson } from './package-4a90ef30.esm.js';
3
3
  import _classCallCheck from '@babel/runtime-corejs3/helpers/esm/classCallCheck';
4
4
  import _createClass from '@babel/runtime-corejs3/helpers/esm/createClass';
5
5
  import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringify';
@@ -2,5 +2,5 @@ import type { Configuration } from 'webpack-dev-server';
2
2
  declare const createWebpackDevServerConfig: ({ port, publicPath, }: {
3
3
  port: number;
4
4
  publicPath?: string | undefined;
5
- }) => Configuration;
5
+ }) => Promise<Configuration>;
6
6
  export default createWebpackDevServerConfig;