@commercetools-frontend/mc-scripts 27.4.2 → 27.5.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 (53) hide show
  1. package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +12 -10
  2. package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +12 -10
  3. package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +12 -10
  4. package/dist/{build-cebaad1c.cjs.prod.js → build-2dde4016.cjs.prod.js} +3 -3
  5. package/dist/{build-2b934f0c.esm.js → build-51b09598.esm.js} +3 -3
  6. package/dist/{build-b59ae957.cjs.dev.js → build-7a3a4b48.cjs.dev.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-3be9dd65.esm.js → config-sync-38bb2049.esm.js} +3 -3
  11. package/dist/{config-sync-6707192b.cjs.prod.js → config-sync-74ddb92a.cjs.prod.js} +3 -3
  12. package/dist/{config-sync-ci-eaa2c74c.cjs.prod.js → config-sync-ci-0d638a98.cjs.prod.js} +3 -3
  13. package/dist/{config-sync-ci-3fabd319.cjs.dev.js → config-sync-ci-f083fe23.cjs.dev.js} +3 -3
  14. package/dist/{config-sync-ci-ceed6879.esm.js → config-sync-ci-f2adf187.esm.js} +3 -3
  15. package/dist/{config-sync-7bd473d2.cjs.dev.js → config-sync-eac5312f.cjs.dev.js} +3 -3
  16. package/dist/{config-sync-helpers-9e7101ca.cjs.dev.js → config-sync-helpers-165afb6b.cjs.dev.js} +1 -1
  17. package/dist/{config-sync-helpers-2f9ce5e7.cjs.prod.js → config-sync-helpers-1dad1481.cjs.prod.js} +1 -1
  18. package/dist/{config-sync-helpers-4c1e6ef7.esm.js → config-sync-helpers-2bf06642.esm.js} +1 -1
  19. package/dist/{create-postcss-config-7cebb3e2.cjs.dev.js → create-postcss-config-1b021fb2.cjs.dev.js} +1 -1
  20. package/dist/{create-postcss-config-82c6d99e.cjs.prod.js → create-postcss-config-434fe673.cjs.prod.js} +1 -1
  21. package/dist/{create-postcss-config-040fa794.esm.js → create-postcss-config-505c5a4e.esm.js} +1 -1
  22. package/dist/{create-webpack-config-for-development-9d0b5ccd.cjs.prod.js → create-webpack-config-for-development-1db101e2.cjs.prod.js} +1 -1
  23. package/dist/{create-webpack-config-for-development-835be72f.cjs.dev.js → create-webpack-config-for-development-65abeb3f.cjs.dev.js} +1 -1
  24. package/dist/{create-webpack-config-for-development-5fba3c63.esm.js → create-webpack-config-for-development-fd981a20.esm.js} +1 -1
  25. package/dist/{create-webpack-config-for-production-ffeb4a22.cjs.dev.js → create-webpack-config-for-production-010a6fb4.cjs.dev.js} +1 -1
  26. package/dist/{create-webpack-config-for-production-8c3f894b.cjs.prod.js → create-webpack-config-for-production-a239ba22.cjs.prod.js} +1 -1
  27. package/dist/{create-webpack-config-for-production-1c770191.esm.js → create-webpack-config-for-production-bb66207f.esm.js} +1 -1
  28. package/dist/declarations/src/types.d.ts +3 -0
  29. package/dist/{deployment-previews-set-add2d9c6.esm.js → deployment-previews-set-6ceff6a3.esm.js} +2 -2
  30. package/dist/{deployment-previews-set-6dd7e367.cjs.prod.js → deployment-previews-set-beeaeb6d.cjs.prod.js} +2 -2
  31. package/dist/{deployment-previews-set-68c37d9d.cjs.dev.js → deployment-previews-set-c4f8a461.cjs.dev.js} +2 -2
  32. package/dist/{graphql-requests-5e31d639.cjs.prod.js → graphql-requests-4c97fe92.cjs.prod.js} +1 -1
  33. package/dist/{graphql-requests-c07e7b8f.esm.js → graphql-requests-53a1f5dd.esm.js} +1 -1
  34. package/dist/{graphql-requests-24e04c13.cjs.dev.js → graphql-requests-86c87041.cjs.dev.js} +1 -1
  35. package/dist/{login-af2522fd.esm.js → login-1e4ddcda.esm.js} +1 -1
  36. package/dist/{login-a1ad5f07.cjs.dev.js → login-382b51ea.cjs.dev.js} +1 -1
  37. package/dist/{login-c05816f1.cjs.prod.js → login-c151a059.cjs.prod.js} +1 -1
  38. package/dist/{package-14789720.esm.js → package-02f0532d.esm.js} +12 -12
  39. package/dist/{package-d75d6b9f.cjs.prod.js → package-c8f39856.cjs.dev.js} +12 -12
  40. package/dist/{package-6dcc2c4f.cjs.dev.js → package-dfc9c56b.cjs.prod.js} +12 -12
  41. package/dist/{serve-4062385a.esm.js → serve-00294d34.esm.js} +28 -21
  42. package/dist/{serve-b9ac0b0c.cjs.dev.js → serve-81db9f2e.cjs.dev.js} +28 -21
  43. package/dist/{serve-5a455e72.cjs.prod.js → serve-d62433a1.cjs.prod.js} +28 -21
  44. package/dist/{start-f93cb36f.cjs.dev.js → start-32bc9eca.cjs.dev.js} +3 -3
  45. package/dist/{start-f52d8e68.cjs.prod.js → start-5eb60c74.cjs.prod.js} +3 -3
  46. package/dist/{start-c9b32028.esm.js → start-6fc3b235.esm.js} +3 -3
  47. package/package.json +12 -12
  48. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.dev.js +2 -2
  49. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.prod.js +2 -2
  50. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.esm.js +2 -2
  51. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.dev.js +4 -4
  52. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +4 -4
  53. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +4 -4
@@ -10,7 +10,7 @@ var path = require('path');
10
10
  var commander = require('commander');
11
11
  var dotenv = require('dotenv');
12
12
  var dotenvExpand = require('dotenv-expand');
13
- var _package = require('../../dist/package-6dcc2c4f.cjs.dev.js');
13
+ var _package = require('../../dist/package-c8f39856.cjs.dev.js');
14
14
  var doesFileExist = require('../../dist/does-file-exist-eb86baca.cjs.dev.js');
15
15
  require('node:fs');
16
16
 
@@ -54,7 +54,7 @@ async function run() {
54
54
  console.log('Experimental Vite bundler enabled! 🚀');
55
55
  console.log('');
56
56
  }
57
- const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-068e9f73.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-f93cb36f.cjs.dev.js'); });
57
+ const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-068e9f73.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-32bc9eca.cjs.dev.js'); });
58
58
  await startCommand.default();
59
59
  });
60
60
 
@@ -73,7 +73,7 @@ async function run() {
73
73
  console.log('Experimental Vite bundler enabled! 🚀');
74
74
  console.log('');
75
75
  }
76
- const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-2fb9320e.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-b59ae957.cjs.dev.js'); });
76
+ const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-2fb9320e.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-7a3a4b48.cjs.dev.js'); });
77
77
  await buildCommand.default();
78
78
  const shouldAlsoCompile = !options.buildOnly;
79
79
  if (shouldAlsoCompile) {
@@ -100,7 +100,7 @@ async function run() {
100
100
  });
101
101
 
102
102
  // Command: serve
103
- commander.program.command('serve').description('Serves previously built and compiled application from the "public" folder.').action(async () => {
103
+ commander.program.command('serve').description('Serves previously built and compiled application from the "public" folder.').option('--handle-auth-routes <enabled>', '(optional) Whether `/login*` and `/logout*` are intercepted by the built-in login/logout handlers (`true`, the default) or passed through to the SPA fallback (`false`). Set to `false` for applications that own those routes themselves (e.g. `application-authentication`).', 'true').action(async options => {
104
104
  const globalOptions = commander.program.opts();
105
105
 
106
106
  // Load dotenv files into the process environment.
@@ -109,8 +109,10 @@ async function run() {
109
109
 
110
110
  // Do this as the first thing so that any code reading it knows the right env.
111
111
  process.env.NODE_ENV = 'production';
112
- const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-b9ac0b0c.cjs.dev.js'); });
113
- const server = await serveCommand.default();
112
+ const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-81db9f2e.cjs.dev.js'); });
113
+ const server = await serveCommand.default({
114
+ handleAuthRoutes: options.handleAuthRoutes !== 'false'
115
+ });
114
116
  const address = server.address();
115
117
  const boundPort = address && typeof address === 'object' ? address.port : '?';
116
118
  console.log(`Running at http://localhost:${boundPort}`);
@@ -128,7 +130,7 @@ async function run() {
128
130
 
129
131
  // Do this as the first thing so that any code reading it knows the right env.
130
132
  process.env.NODE_ENV = 'production';
131
- const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-a1ad5f07.cjs.dev.js'); });
133
+ const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-382b51ea.cjs.dev.js'); });
132
134
  await loginCommand.default(options);
133
135
  });
134
136
 
@@ -142,7 +144,7 @@ async function run() {
142
144
 
143
145
  // Do this as the first thing so that any code reading it knows the right env.
144
146
  process.env.NODE_ENV = 'production';
145
- const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-7bd473d2.cjs.dev.js'); });
147
+ const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-eac5312f.cjs.dev.js'); });
146
148
  await configSyncCommand.default(options);
147
149
  });
148
150
 
@@ -155,7 +157,7 @@ async function run() {
155
157
 
156
158
  // Do this as the first thing so that any code reading it knows the right env.
157
159
  process.env.NODE_ENV = 'production';
158
- const configSyncCICommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-ci-3fabd319.cjs.dev.js'); });
160
+ const configSyncCICommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-ci-f083fe23.cjs.dev.js'); });
159
161
  await configSyncCICommand.default(options);
160
162
  });
161
163
 
@@ -169,7 +171,7 @@ async function run() {
169
171
 
170
172
  // Do this as the first thing so that any code reading it knows the right env.
171
173
  process.env.NODE_ENV = 'production';
172
- const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-68c37d9d.cjs.dev.js'); });
174
+ const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-c4f8a461.cjs.dev.js'); });
173
175
  await deploymentsSetCommand.default(options);
174
176
  });
175
177
  commander.program.parse();
@@ -10,7 +10,7 @@ var path = require('path');
10
10
  var commander = require('commander');
11
11
  var dotenv = require('dotenv');
12
12
  var dotenvExpand = require('dotenv-expand');
13
- var _package = require('../../dist/package-d75d6b9f.cjs.prod.js');
13
+ var _package = require('../../dist/package-dfc9c56b.cjs.prod.js');
14
14
  var doesFileExist = require('../../dist/does-file-exist-be53305d.cjs.prod.js');
15
15
  require('node:fs');
16
16
 
@@ -54,7 +54,7 @@ async function run() {
54
54
  console.log('Experimental Vite bundler enabled! 🚀');
55
55
  console.log('');
56
56
  }
57
- const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-29078b3a.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-f52d8e68.cjs.prod.js'); });
57
+ const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-29078b3a.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-5eb60c74.cjs.prod.js'); });
58
58
  await startCommand.default();
59
59
  });
60
60
 
@@ -73,7 +73,7 @@ async function run() {
73
73
  console.log('Experimental Vite bundler enabled! 🚀');
74
74
  console.log('');
75
75
  }
76
- const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-71889a4a.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-cebaad1c.cjs.prod.js'); });
76
+ const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-71889a4a.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-2dde4016.cjs.prod.js'); });
77
77
  await buildCommand.default();
78
78
  const shouldAlsoCompile = !options.buildOnly;
79
79
  if (shouldAlsoCompile) {
@@ -100,7 +100,7 @@ async function run() {
100
100
  });
101
101
 
102
102
  // Command: serve
103
- commander.program.command('serve').description('Serves previously built and compiled application from the "public" folder.').action(async () => {
103
+ commander.program.command('serve').description('Serves previously built and compiled application from the "public" folder.').option('--handle-auth-routes <enabled>', '(optional) Whether `/login*` and `/logout*` are intercepted by the built-in login/logout handlers (`true`, the default) or passed through to the SPA fallback (`false`). Set to `false` for applications that own those routes themselves (e.g. `application-authentication`).', 'true').action(async options => {
104
104
  const globalOptions = commander.program.opts();
105
105
 
106
106
  // Load dotenv files into the process environment.
@@ -109,8 +109,10 @@ async function run() {
109
109
 
110
110
  // Do this as the first thing so that any code reading it knows the right env.
111
111
  process.env.NODE_ENV = 'production';
112
- const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-5a455e72.cjs.prod.js'); });
113
- const server = await serveCommand.default();
112
+ const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-d62433a1.cjs.prod.js'); });
113
+ const server = await serveCommand.default({
114
+ handleAuthRoutes: options.handleAuthRoutes !== 'false'
115
+ });
114
116
  const address = server.address();
115
117
  const boundPort = address && typeof address === 'object' ? address.port : '?';
116
118
  console.log(`Running at http://localhost:${boundPort}`);
@@ -128,7 +130,7 @@ async function run() {
128
130
 
129
131
  // Do this as the first thing so that any code reading it knows the right env.
130
132
  process.env.NODE_ENV = 'production';
131
- const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-c05816f1.cjs.prod.js'); });
133
+ const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-c151a059.cjs.prod.js'); });
132
134
  await loginCommand.default(options);
133
135
  });
134
136
 
@@ -142,7 +144,7 @@ async function run() {
142
144
 
143
145
  // Do this as the first thing so that any code reading it knows the right env.
144
146
  process.env.NODE_ENV = 'production';
145
- const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-6707192b.cjs.prod.js'); });
147
+ const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-74ddb92a.cjs.prod.js'); });
146
148
  await configSyncCommand.default(options);
147
149
  });
148
150
 
@@ -155,7 +157,7 @@ async function run() {
155
157
 
156
158
  // Do this as the first thing so that any code reading it knows the right env.
157
159
  process.env.NODE_ENV = 'production';
158
- const configSyncCICommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-ci-eaa2c74c.cjs.prod.js'); });
160
+ const configSyncCICommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-ci-0d638a98.cjs.prod.js'); });
159
161
  await configSyncCICommand.default(options);
160
162
  });
161
163
 
@@ -169,7 +171,7 @@ async function run() {
169
171
 
170
172
  // Do this as the first thing so that any code reading it knows the right env.
171
173
  process.env.NODE_ENV = 'production';
172
- const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-6dd7e367.cjs.prod.js'); });
174
+ const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-beeaeb6d.cjs.prod.js'); });
173
175
  await deploymentsSetCommand.default(options);
174
176
  });
175
177
  commander.program.parse();
@@ -6,7 +6,7 @@ import path from 'path';
6
6
  import { program } from 'commander';
7
7
  import dotenv from 'dotenv';
8
8
  import dotenvExpand from 'dotenv-expand';
9
- import { p as pkgJson } from '../../dist/package-14789720.esm.js';
9
+ import { p as pkgJson } from '../../dist/package-02f0532d.esm.js';
10
10
  import { d as doesFileExist } from '../../dist/does-file-exist-32618334.esm.js';
11
11
  import 'node:fs';
12
12
 
@@ -40,7 +40,7 @@ async function run() {
40
40
  console.log('Experimental Vite bundler enabled! 🚀');
41
41
  console.log('');
42
42
  }
43
- const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-7d1161e8.esm.js') : await import('../../dist/start-c9b32028.esm.js');
43
+ const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-7d1161e8.esm.js') : await import('../../dist/start-6fc3b235.esm.js');
44
44
  await startCommand.default();
45
45
  });
46
46
 
@@ -59,7 +59,7 @@ async function run() {
59
59
  console.log('Experimental Vite bundler enabled! 🚀');
60
60
  console.log('');
61
61
  }
62
- const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-1526e4f8.esm.js') : await import('../../dist/build-2b934f0c.esm.js');
62
+ const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-1526e4f8.esm.js') : await import('../../dist/build-51b09598.esm.js');
63
63
  await buildCommand.default();
64
64
  const shouldAlsoCompile = !options.buildOnly;
65
65
  if (shouldAlsoCompile) {
@@ -86,7 +86,7 @@ async function run() {
86
86
  });
87
87
 
88
88
  // Command: serve
89
- program.command('serve').description('Serves previously built and compiled application from the "public" folder.').action(async () => {
89
+ program.command('serve').description('Serves previously built and compiled application from the "public" folder.').option('--handle-auth-routes <enabled>', '(optional) Whether `/login*` and `/logout*` are intercepted by the built-in login/logout handlers (`true`, the default) or passed through to the SPA fallback (`false`). Set to `false` for applications that own those routes themselves (e.g. `application-authentication`).', 'true').action(async options => {
90
90
  const globalOptions = program.opts();
91
91
 
92
92
  // Load dotenv files into the process environment.
@@ -95,8 +95,10 @@ async function run() {
95
95
 
96
96
  // Do this as the first thing so that any code reading it knows the right env.
97
97
  process.env.NODE_ENV = 'production';
98
- const serveCommand = await import('../../dist/serve-4062385a.esm.js');
99
- const server = await serveCommand.default();
98
+ const serveCommand = await import('../../dist/serve-00294d34.esm.js');
99
+ const server = await serveCommand.default({
100
+ handleAuthRoutes: options.handleAuthRoutes !== 'false'
101
+ });
100
102
  const address = server.address();
101
103
  const boundPort = address && typeof address === 'object' ? address.port : '?';
102
104
  console.log(`Running at http://localhost:${boundPort}`);
@@ -114,7 +116,7 @@ async function run() {
114
116
 
115
117
  // Do this as the first thing so that any code reading it knows the right env.
116
118
  process.env.NODE_ENV = 'production';
117
- const loginCommand = await import('../../dist/login-af2522fd.esm.js');
119
+ const loginCommand = await import('../../dist/login-1e4ddcda.esm.js');
118
120
  await loginCommand.default(options);
119
121
  });
120
122
 
@@ -128,7 +130,7 @@ async function run() {
128
130
 
129
131
  // Do this as the first thing so that any code reading it knows the right env.
130
132
  process.env.NODE_ENV = 'production';
131
- const configSyncCommand = await import('../../dist/config-sync-3be9dd65.esm.js');
133
+ const configSyncCommand = await import('../../dist/config-sync-38bb2049.esm.js');
132
134
  await configSyncCommand.default(options);
133
135
  });
134
136
 
@@ -141,7 +143,7 @@ async function run() {
141
143
 
142
144
  // Do this as the first thing so that any code reading it knows the right env.
143
145
  process.env.NODE_ENV = 'production';
144
- const configSyncCICommand = await import('../../dist/config-sync-ci-ceed6879.esm.js');
146
+ const configSyncCICommand = await import('../../dist/config-sync-ci-f2adf187.esm.js');
145
147
  await configSyncCICommand.default(options);
146
148
  });
147
149
 
@@ -155,7 +157,7 @@ async function run() {
155
157
 
156
158
  // Do this as the first thing so that any code reading it knows the right env.
157
159
  process.env.NODE_ENV = 'production';
158
- const deploymentsSetCommand = await import('../../dist/deployment-previews-set-add2d9c6.esm.js');
160
+ const deploymentsSetCommand = await import('../../dist/deployment-previews-set-6ceff6a3.esm.js');
159
161
  await deploymentsSetCommand.default(options);
160
162
  });
161
163
  program.parse();
@@ -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-8c3f894b.cjs.prod.js');
13
+ var createWebpackConfigForProduction = require('./create-webpack-config-for-production-a239ba22.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-82c6d99e.cjs.prod.js');
43
+ require('./create-postcss-config-434fe673.cjs.prod.js');
44
44
  require('@babel/runtime-corejs3/helpers/slicedToArray');
45
- require('./package-d75d6b9f.cjs.prod.js');
45
+ require('./package-dfc9c56b.cjs.prod.js');
46
46
  require('./optimizations-da5a0cfa.cjs.prod.js');
47
47
  require('@babel/runtime-corejs3/core-js-stable/object/entries');
48
48
  require('@babel/runtime-corejs3/core-js-stable/instance/includes');
@@ -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-1c770191.esm.js';
11
+ import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-bb66207f.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-040fa794.esm.js';
41
+ import './create-postcss-config-505c5a4e.esm.js';
42
42
  import '@babel/runtime-corejs3/helpers/slicedToArray';
43
- import './package-14789720.esm.js';
43
+ import './package-02f0532d.esm.js';
44
44
  import './optimizations-54382f7b.esm.js';
45
45
  import '@babel/runtime-corejs3/core-js-stable/object/entries';
46
46
  import '@babel/runtime-corejs3/core-js-stable/instance/includes';
@@ -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-ffeb4a22.cjs.dev.js');
13
+ var createWebpackConfigForProduction = require('./create-webpack-config-for-production-010a6fb4.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-7cebb3e2.cjs.dev.js');
43
+ require('./create-postcss-config-1b021fb2.cjs.dev.js');
44
44
  require('@babel/runtime-corejs3/helpers/slicedToArray');
45
- require('./package-6dcc2c4f.cjs.dev.js');
45
+ require('./package-c8f39856.cjs.dev.js');
46
46
  require('./optimizations-56be74d6.cjs.dev.js');
47
47
  require('@babel/runtime-corejs3/core-js-stable/object/entries');
48
48
  require('@babel/runtime-corejs3/core-js-stable/instance/includes');
@@ -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 = "27.4.2";
8
+ var version = "27.5.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 = "27.4.2";
8
+ var version = "27.5.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 = "27.4.2";
4
+ var version = "27.5.0";
5
5
 
6
6
  // These exports are deprecated.
7
7
 
@@ -5,9 +5,9 @@ import _filterInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
5
5
  import chalk from 'chalk';
6
6
  import prompts from 'prompts';
7
7
  import { processConfig } from '@commercetools-frontend/application-config';
8
- import { i as isCustomViewData, c as checkCustomApplicationStatus, p as performCreateCustomApplication, a as performUpdateCustomApplication, b as checkCustomViewStatus, d as performCreateCustomView, e as performUpdateCustomView } from './config-sync-helpers-4c1e6ef7.esm.js';
8
+ import { i as isCustomViewData, c as checkCustomApplicationStatus, p as performCreateCustomApplication, a as performUpdateCustomApplication, b as checkCustomViewStatus, d as performCreateCustomView, e as performUpdateCustomView } from './config-sync-helpers-2bf06642.esm.js';
9
9
  import { C as CredentialsStorage } from './credentials-storage-67deadc3.esm.js';
10
- import { f as fetchUserOrganizations } from './graphql-requests-c07e7b8f.esm.js';
10
+ import { f as fetchUserOrganizations } from './graphql-requests-53a1f5dd.esm.js';
11
11
  import '@babel/runtime-corejs3/core-js-stable/json/stringify';
12
12
  import 'lodash/omit';
13
13
  import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
@@ -34,7 +34,7 @@ import 'graphql';
34
34
  import 'graphql-request';
35
35
  import '@commercetools-frontend/constants';
36
36
  import '@commercetools/http-user-agent';
37
- import './package-14789720.esm.js';
37
+ import './package-02f0532d.esm.js';
38
38
 
39
39
  const credentialsStorage = new CredentialsStorage();
40
40
  async function promptForOrganization(_ref) {
@@ -7,9 +7,9 @@ var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
7
7
  var chalk = require('chalk');
8
8
  var prompts = require('prompts');
9
9
  var applicationConfig = require('@commercetools-frontend/application-config');
10
- var configSyncHelpers = require('./config-sync-helpers-2f9ce5e7.cjs.prod.js');
10
+ var configSyncHelpers = require('./config-sync-helpers-1dad1481.cjs.prod.js');
11
11
  var credentialsStorage$1 = require('./credentials-storage-ea1c16dc.cjs.prod.js');
12
- var graphqlRequests = require('./graphql-requests-5e31d639.cjs.prod.js');
12
+ var graphqlRequests = require('./graphql-requests-4c97fe92.cjs.prod.js');
13
13
  require('@babel/runtime-corejs3/core-js-stable/json/stringify');
14
14
  require('lodash/omit');
15
15
  require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
@@ -36,7 +36,7 @@ require('graphql');
36
36
  require('graphql-request');
37
37
  require('@commercetools-frontend/constants');
38
38
  require('@commercetools/http-user-agent');
39
- require('./package-d75d6b9f.cjs.prod.js');
39
+ require('./package-dfc9c56b.cjs.prod.js');
40
40
 
41
41
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
42
42
 
@@ -5,8 +5,8 @@ var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/insta
5
5
  var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
6
6
  var chalk = require('chalk');
7
7
  var applicationConfig = require('@commercetools-frontend/application-config');
8
- var configSyncHelpers = require('./config-sync-helpers-2f9ce5e7.cjs.prod.js');
9
- var graphqlRequests = require('./graphql-requests-5e31d639.cjs.prod.js');
8
+ var configSyncHelpers = require('./config-sync-helpers-1dad1481.cjs.prod.js');
9
+ var graphqlRequests = require('./graphql-requests-4c97fe92.cjs.prod.js');
10
10
  var _Date$now = require('@babel/runtime-corejs3/core-js-stable/date/now');
11
11
  var _includesInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/includes');
12
12
  var jwtDecode = require('jwt-decode');
@@ -31,7 +31,7 @@ require('graphql');
31
31
  require('graphql-request');
32
32
  require('@commercetools-frontend/constants');
33
33
  require('@commercetools/http-user-agent');
34
- require('./package-d75d6b9f.cjs.prod.js');
34
+ require('./package-dfc9c56b.cjs.prod.js');
35
35
  require('@babel/runtime-corejs3/helpers/classCallCheck');
36
36
  require('@babel/runtime-corejs3/helpers/createClass');
37
37
  require('node:fs');
@@ -5,8 +5,8 @@ var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/insta
5
5
  var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
6
6
  var chalk = require('chalk');
7
7
  var applicationConfig = require('@commercetools-frontend/application-config');
8
- var configSyncHelpers = require('./config-sync-helpers-9e7101ca.cjs.dev.js');
9
- var graphqlRequests = require('./graphql-requests-24e04c13.cjs.dev.js');
8
+ var configSyncHelpers = require('./config-sync-helpers-165afb6b.cjs.dev.js');
9
+ var graphqlRequests = require('./graphql-requests-86c87041.cjs.dev.js');
10
10
  var _Date$now = require('@babel/runtime-corejs3/core-js-stable/date/now');
11
11
  var _includesInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/includes');
12
12
  var jwtDecode = require('jwt-decode');
@@ -31,7 +31,7 @@ require('graphql');
31
31
  require('graphql-request');
32
32
  require('@commercetools-frontend/constants');
33
33
  require('@commercetools/http-user-agent');
34
- require('./package-6dcc2c4f.cjs.dev.js');
34
+ require('./package-c8f39856.cjs.dev.js');
35
35
  require('@babel/runtime-corejs3/helpers/classCallCheck');
36
36
  require('@babel/runtime-corejs3/helpers/createClass');
37
37
  require('node:fs');
@@ -3,8 +3,8 @@ import _findInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instanc
3
3
  import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
4
4
  import chalk from 'chalk';
5
5
  import { processConfig } from '@commercetools-frontend/application-config';
6
- import { i as isCustomViewData, c as checkCustomApplicationStatus, p as performCreateCustomApplication, a as performUpdateCustomApplication, b as checkCustomViewStatus, d as performCreateCustomView, e as performUpdateCustomView } from './config-sync-helpers-4c1e6ef7.esm.js';
7
- import { f as fetchUserOrganizations } from './graphql-requests-c07e7b8f.esm.js';
6
+ import { i as isCustomViewData, c as checkCustomApplicationStatus, p as performCreateCustomApplication, a as performUpdateCustomApplication, b as checkCustomViewStatus, d as performCreateCustomView, e as performUpdateCustomView } from './config-sync-helpers-2bf06642.esm.js';
7
+ import { f as fetchUserOrganizations } from './graphql-requests-53a1f5dd.esm.js';
8
8
  import _Date$now from '@babel/runtime-corejs3/core-js-stable/date/now';
9
9
  import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
10
10
  import jwtDecode from 'jwt-decode';
@@ -29,7 +29,7 @@ import 'graphql';
29
29
  import 'graphql-request';
30
30
  import '@commercetools-frontend/constants';
31
31
  import '@commercetools/http-user-agent';
32
- import './package-14789720.esm.js';
32
+ import './package-02f0532d.esm.js';
33
33
  import '@babel/runtime-corejs3/helpers/classCallCheck';
34
34
  import '@babel/runtime-corejs3/helpers/createClass';
35
35
  import 'node:fs';
@@ -7,9 +7,9 @@ var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
7
7
  var chalk = require('chalk');
8
8
  var prompts = require('prompts');
9
9
  var applicationConfig = require('@commercetools-frontend/application-config');
10
- var configSyncHelpers = require('./config-sync-helpers-9e7101ca.cjs.dev.js');
10
+ var configSyncHelpers = require('./config-sync-helpers-165afb6b.cjs.dev.js');
11
11
  var credentialsStorage$1 = require('./credentials-storage-fd195144.cjs.dev.js');
12
- var graphqlRequests = require('./graphql-requests-24e04c13.cjs.dev.js');
12
+ var graphqlRequests = require('./graphql-requests-86c87041.cjs.dev.js');
13
13
  require('@babel/runtime-corejs3/core-js-stable/json/stringify');
14
14
  require('lodash/omit');
15
15
  require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
@@ -36,7 +36,7 @@ require('graphql');
36
36
  require('graphql-request');
37
37
  require('@commercetools-frontend/constants');
38
38
  require('@commercetools/http-user-agent');
39
- require('./package-6dcc2c4f.cjs.dev.js');
39
+ require('./package-c8f39856.cjs.dev.js');
40
40
 
41
41
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
42
42
 
@@ -18,7 +18,7 @@ var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
18
18
  var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
19
19
  var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
20
20
  var applicationConfig = require('@commercetools-frontend/application-config');
21
- var graphqlRequests = require('./graphql-requests-24e04c13.cjs.dev.js');
21
+ var graphqlRequests = require('./graphql-requests-86c87041.cjs.dev.js');
22
22
 
23
23
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
24
24
 
@@ -18,7 +18,7 @@ var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
18
18
  var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
19
19
  var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
20
20
  var applicationConfig = require('@commercetools-frontend/application-config');
21
- var graphqlRequests = require('./graphql-requests-5e31d639.cjs.prod.js');
21
+ var graphqlRequests = require('./graphql-requests-4c97fe92.cjs.prod.js');
22
22
 
23
23
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
24
24
 
@@ -16,7 +16,7 @@ import _filterInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
16
16
  import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
17
17
  import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
18
18
  import { sanitizeSvg } from '@commercetools-frontend/application-config';
19
- import { c as createCustomApplication, u as updateCustomApplication, a as createCustomView, b as updateCustomView, d as fetchCustomApplication, e as fetchCustomView } from './graphql-requests-c07e7b8f.esm.js';
19
+ import { c as createCustomApplication, u as updateCustomApplication, a as createCustomView, b as updateCustomView, d as fetchCustomApplication, e as fetchCustomView } from './graphql-requests-53a1f5dd.esm.js';
20
20
 
21
21
  function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22
22
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context9, _context0; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context9 = ownKeys(Object(t), !0)).call(_context9, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context0 = ownKeys(Object(t))).call(_context0, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -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-6dcc2c4f.cjs.dev.js');
5
+ var _package = require('./package-c8f39856.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-d75d6b9f.cjs.prod.js');
5
+ var _package = require('./package-dfc9c56b.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-14789720.esm.js';
3
+ import { p as pkgJson } from './package-02f0532d.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-82c6d99e.cjs.prod.js');
28
+ var createPostcssConfig = require('./create-postcss-config-434fe673.cjs.prod.js');
29
29
  var optimizations = require('./optimizations-da5a0cfa.cjs.prod.js');
30
30
  var paths = require('./paths-7768b440.cjs.prod.js');
31
31
  var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.cjs.prod.js');
@@ -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-7cebb3e2.cjs.dev.js');
28
+ var createPostcssConfig = require('./create-postcss-config-1b021fb2.cjs.dev.js');
29
29
  var optimizations = require('./optimizations-56be74d6.cjs.dev.js');
30
30
  var paths = require('./paths-b76fc753.cjs.dev.js');
31
31
  var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
@@ -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-040fa794.esm.js';
26
+ import { c as createPostcssConfig } from './create-postcss-config-505c5a4e.esm.js';
27
27
  import { g as getWepbackCacheGroups, h as hasJsxRuntime } from './optimizations-54382f7b.esm.js';
28
28
  import { p as paths } from './paths-39f22b8b.esm.js';
29
29
  import { v as vendorsToTranspile } from './vendors-to-transpile-7dc84a72.esm.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-7cebb3e2.cjs.dev.js');
32
+ var createPostcssConfig = require('./create-postcss-config-1b021fb2.cjs.dev.js');
33
33
  var optimizations = require('./optimizations-56be74d6.cjs.dev.js');
34
34
  var paths = require('./paths-b76fc753.cjs.dev.js');
35
35
  var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.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-82c6d99e.cjs.prod.js');
32
+ var createPostcssConfig = require('./create-postcss-config-434fe673.cjs.prod.js');
33
33
  var optimizations = require('./optimizations-da5a0cfa.cjs.prod.js');
34
34
  var paths = require('./paths-7768b440.cjs.prod.js');
35
35
  var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.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-040fa794.esm.js';
30
+ import { c as createPostcssConfig } from './create-postcss-config-505c5a4e.esm.js';
31
31
  import { g as getWepbackCacheGroups, h as hasJsxRuntime } from './optimizations-54382f7b.esm.js';
32
32
  import { p as paths } from './paths-39f22b8b.esm.js';
33
33
  import { v as vendorsToTranspile } from './vendors-to-transpile-7dc84a72.esm.js';
@@ -14,6 +14,9 @@ export type TCliCommandConfigSyncOptions = {
14
14
  export type TCliCommandConfigSyncCIOptions = {
15
15
  dryRun: boolean;
16
16
  };
17
+ export type TCliCommandServeOptions = {
18
+ handleAuthRoutes: string;
19
+ };
17
20
  export type TCliCommandLoginOptions = {
18
21
  mcApiUrl?: string;
19
22
  projectKey?: string;