@commercetools-frontend/mc-scripts 24.6.0 → 24.7.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-mc-scripts-cli.cjs.dev.js +6 -6
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +6 -6
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +6 -6
- package/dist/{build-42548af3.esm.js → build-291a9293.esm.js} +3 -3
- package/dist/{build-9f2a2688.cjs.dev.js → build-97ee8c21.cjs.dev.js} +3 -3
- package/dist/{build-f01127b2.cjs.prod.js → build-ad725f23.cjs.prod.js} +3 -3
- package/dist/commercetools-frontend-mc-scripts.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-mc-scripts.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-mc-scripts.esm.js +1 -1
- package/dist/{config-sync-5d6c40be.cjs.prod.js → config-sync-0bd902b3.cjs.prod.js} +3 -3
- package/dist/{config-sync-36c82e96.cjs.dev.js → config-sync-6f0cb3f7.cjs.dev.js} +3 -3
- package/dist/{config-sync-4e49cb09.esm.js → config-sync-b14def50.esm.js} +3 -3
- package/dist/{create-postcss-config-d7556f87.cjs.dev.js → create-postcss-config-c6abdba8.cjs.dev.js} +1 -1
- package/dist/{create-postcss-config-697b2f0b.esm.js → create-postcss-config-cb2faa30.esm.js} +1 -1
- package/dist/{create-postcss-config-56dd86bd.cjs.prod.js → create-postcss-config-ec256631.cjs.prod.js} +1 -1
- package/dist/{create-webpack-config-for-development-67a551b6.esm.js → create-webpack-config-for-development-9b5c7162.esm.js} +1 -1
- package/dist/{create-webpack-config-for-development-8a37ef90.cjs.prod.js → create-webpack-config-for-development-e1fd78df.cjs.prod.js} +1 -1
- package/dist/{create-webpack-config-for-development-5cbb378c.cjs.dev.js → create-webpack-config-for-development-edd48064.cjs.dev.js} +1 -1
- package/dist/{create-webpack-config-for-production-7911ec98.esm.js → create-webpack-config-for-production-1e97e2c1.esm.js} +1 -1
- package/dist/{create-webpack-config-for-production-96950fbd.cjs.dev.js → create-webpack-config-for-production-21b4e4f4.cjs.dev.js} +1 -1
- package/dist/{create-webpack-config-for-production-a0b6b34c.cjs.prod.js → create-webpack-config-for-production-e7c5ecb6.cjs.prod.js} +1 -1
- package/dist/{credentials-storage-bf53a7e1.cjs.dev.js → credentials-storage-37265cea.cjs.dev.js} +1 -1
- package/dist/{credentials-storage-5a555c2e.esm.js → credentials-storage-9213f4cc.esm.js} +1 -1
- package/dist/{credentials-storage-164a78ee.cjs.prod.js → credentials-storage-c99137ec.cjs.prod.js} +1 -1
- package/dist/{deployment-previews-set-7db561ac.esm.js → deployment-previews-set-84ee8cc2.esm.js} +3 -3
- package/dist/{deployment-previews-set-20198f0e.cjs.dev.js → deployment-previews-set-b84b0c2c.cjs.dev.js} +3 -3
- package/dist/{deployment-previews-set-53b07776.cjs.prod.js → deployment-previews-set-ff9ed97c.cjs.prod.js} +3 -3
- package/dist/{graphql-requests-5d28e474.esm.js → graphql-requests-0fd12ef6.esm.js} +1 -1
- package/dist/{graphql-requests-4179e83b.cjs.dev.js → graphql-requests-14df602c.cjs.dev.js} +1 -1
- package/dist/{graphql-requests-814d5450.cjs.prod.js → graphql-requests-9e3cdf3d.cjs.prod.js} +1 -1
- package/dist/{login-d6dc0c86.esm.js → login-0155ef03.esm.js} +39 -8
- package/dist/{login-99cb00fc.cjs.prod.js → login-49e5759f.cjs.prod.js} +38 -7
- package/dist/{login-ca8df30f.cjs.dev.js → login-a1c414a7.cjs.dev.js} +38 -7
- package/dist/{package-497e0677.cjs.prod.js → package-78ccce50.cjs.prod.js} +8 -8
- package/dist/{package-4eaa0097.cjs.dev.js → package-7d58ab81.cjs.dev.js} +8 -8
- package/dist/{package-621a2396.esm.js → package-9bd5cc53.esm.js} +8 -8
- package/dist/{start-678179ce.cjs.dev.js → start-142a5222.cjs.dev.js} +3 -3
- package/dist/{start-ab748698.cjs.prod.js → start-1fb83f4f.cjs.prod.js} +3 -3
- package/dist/{start-a6a7208b.esm.js → start-b329ec91.esm.js} +3 -3
- package/package.json +8 -8
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.dev.js +2 -2
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.prod.js +2 -2
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.esm.js +2 -2
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.dev.js +4 -4
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +4 -4
- 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-
|
|
13
|
+
var _package = require('../../dist/package-7d58ab81.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-
|
|
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-142a5222.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-bca3d007.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-
|
|
76
|
+
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-bca3d007.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-97ee8c21.cjs.dev.js'); });
|
|
77
77
|
await buildCommand.default();
|
|
78
78
|
const shouldAlsoCompile = !options.buildOnly;
|
|
79
79
|
if (shouldAlsoCompile) {
|
|
@@ -123,7 +123,7 @@ async function run() {
|
|
|
123
123
|
|
|
124
124
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
125
125
|
process.env.NODE_ENV = 'production';
|
|
126
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
126
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-a1c414a7.cjs.dev.js'); });
|
|
127
127
|
await loginCommand.default();
|
|
128
128
|
});
|
|
129
129
|
|
|
@@ -137,7 +137,7 @@ async function run() {
|
|
|
137
137
|
|
|
138
138
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
139
139
|
process.env.NODE_ENV = 'production';
|
|
140
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
140
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-6f0cb3f7.cjs.dev.js'); });
|
|
141
141
|
await configSyncCommand.default(options);
|
|
142
142
|
});
|
|
143
143
|
|
|
@@ -151,7 +151,7 @@ async function run() {
|
|
|
151
151
|
|
|
152
152
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
153
153
|
process.env.NODE_ENV = 'production';
|
|
154
|
-
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-
|
|
154
|
+
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-b84b0c2c.cjs.dev.js'); });
|
|
155
155
|
await deploymentsSetCommand.default(options);
|
|
156
156
|
});
|
|
157
157
|
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-
|
|
13
|
+
var _package = require('../../dist/package-78ccce50.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-
|
|
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-1fb83f4f.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-fa7d8ddf.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-
|
|
76
|
+
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-fa7d8ddf.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-ad725f23.cjs.prod.js'); });
|
|
77
77
|
await buildCommand.default();
|
|
78
78
|
const shouldAlsoCompile = !options.buildOnly;
|
|
79
79
|
if (shouldAlsoCompile) {
|
|
@@ -123,7 +123,7 @@ async function run() {
|
|
|
123
123
|
|
|
124
124
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
125
125
|
process.env.NODE_ENV = 'production';
|
|
126
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
126
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-49e5759f.cjs.prod.js'); });
|
|
127
127
|
await loginCommand.default();
|
|
128
128
|
});
|
|
129
129
|
|
|
@@ -137,7 +137,7 @@ async function run() {
|
|
|
137
137
|
|
|
138
138
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
139
139
|
process.env.NODE_ENV = 'production';
|
|
140
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
140
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-0bd902b3.cjs.prod.js'); });
|
|
141
141
|
await configSyncCommand.default(options);
|
|
142
142
|
});
|
|
143
143
|
|
|
@@ -151,7 +151,7 @@ async function run() {
|
|
|
151
151
|
|
|
152
152
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
153
153
|
process.env.NODE_ENV = 'production';
|
|
154
|
-
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-
|
|
154
|
+
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-ff9ed97c.cjs.prod.js'); });
|
|
155
155
|
await deploymentsSetCommand.default(options);
|
|
156
156
|
});
|
|
157
157
|
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-
|
|
9
|
+
import { p as pkgJson } from '../../dist/package-9bd5cc53.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-
|
|
43
|
+
const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-7d1161e8.esm.js') : await import('../../dist/start-b329ec91.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-74a64ec2.esm.js') : await import('../../dist/build-
|
|
62
|
+
const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-74a64ec2.esm.js') : await import('../../dist/build-291a9293.esm.js');
|
|
63
63
|
await buildCommand.default();
|
|
64
64
|
const shouldAlsoCompile = !options.buildOnly;
|
|
65
65
|
if (shouldAlsoCompile) {
|
|
@@ -109,7 +109,7 @@ 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 loginCommand = await import('../../dist/login-
|
|
112
|
+
const loginCommand = await import('../../dist/login-0155ef03.esm.js');
|
|
113
113
|
await loginCommand.default();
|
|
114
114
|
});
|
|
115
115
|
|
|
@@ -123,7 +123,7 @@ async function run() {
|
|
|
123
123
|
|
|
124
124
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
125
125
|
process.env.NODE_ENV = 'production';
|
|
126
|
-
const configSyncCommand = await import('../../dist/config-sync-
|
|
126
|
+
const configSyncCommand = await import('../../dist/config-sync-b14def50.esm.js');
|
|
127
127
|
await configSyncCommand.default(options);
|
|
128
128
|
});
|
|
129
129
|
|
|
@@ -137,7 +137,7 @@ async function run() {
|
|
|
137
137
|
|
|
138
138
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
139
139
|
process.env.NODE_ENV = 'production';
|
|
140
|
-
const deploymentsSetCommand = await import('../../dist/deployment-previews-set-
|
|
140
|
+
const deploymentsSetCommand = await import('../../dist/deployment-previews-set-84ee8cc2.esm.js');
|
|
141
141
|
await deploymentsSetCommand.default(options);
|
|
142
142
|
});
|
|
143
143
|
program.parse();
|
|
@@ -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-
|
|
11
|
+
import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-1e97e2c1.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-
|
|
41
|
+
import './create-postcss-config-cb2faa30.esm.js';
|
|
42
42
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
43
|
-
import './package-
|
|
43
|
+
import './package-9bd5cc53.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-
|
|
13
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-21b4e4f4.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-
|
|
43
|
+
require('./create-postcss-config-c6abdba8.cjs.dev.js');
|
|
44
44
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
45
|
-
require('./package-
|
|
45
|
+
require('./package-7d58ab81.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');
|
|
@@ -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-
|
|
13
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-e7c5ecb6.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-
|
|
43
|
+
require('./create-postcss-config-ec256631.cjs.prod.js');
|
|
44
44
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
45
|
-
require('./package-
|
|
45
|
+
require('./package-78ccce50.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 = "24.
|
|
8
|
+
var version = "24.7.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 = "24.
|
|
8
|
+
var version = "24.7.0";
|
|
9
9
|
|
|
10
10
|
// These exports are deprecated.
|
|
11
11
|
|
|
@@ -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-
|
|
12
|
+
var credentialsStorage$1 = require('./credentials-storage-c99137ec.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-
|
|
24
|
+
var graphqlRequests = require('./graphql-requests-9e3cdf3d.cjs.prod.js');
|
|
25
25
|
require('@commercetools/http-user-agent');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-78ccce50.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');
|
|
@@ -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-
|
|
12
|
+
var credentialsStorage$1 = require('./credentials-storage-37265cea.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-
|
|
24
|
+
var graphqlRequests = require('./graphql-requests-14df602c.cjs.dev.js');
|
|
25
25
|
require('@commercetools/http-user-agent');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-7d58ab81.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');
|
|
@@ -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-
|
|
10
|
+
import { C as CredentialsStorage } from './credentials-storage-9213f4cc.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-
|
|
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-0fd12ef6.esm.js';
|
|
23
23
|
import '@commercetools/http-user-agent';
|
|
24
|
-
import './package-
|
|
24
|
+
import './package-9bd5cc53.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';
|
package/dist/{create-postcss-config-d7556f87.cjs.dev.js → create-postcss-config-c6abdba8.cjs.dev.js}
RENAMED
|
@@ -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-
|
|
5
|
+
var _package = require('./package-7d58ab81.cjs.dev.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
8
|
|
package/dist/{create-postcss-config-697b2f0b.esm.js → create-postcss-config-cb2faa30.esm.js}
RENAMED
|
@@ -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-
|
|
3
|
+
import { p as pkgJson } from './package-9bd5cc53.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
|
|
@@ -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-
|
|
5
|
+
var _package = require('./package-78ccce50.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -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-
|
|
26
|
+
import { c as createPostcssConfig } from './create-postcss-config-cb2faa30.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';
|
|
@@ -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-
|
|
28
|
+
var createPostcssConfig = require('./create-postcss-config-ec256631.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');
|
|
@@ -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-
|
|
28
|
+
var createPostcssConfig = require('./create-postcss-config-c6abdba8.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');
|
|
@@ -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-
|
|
30
|
+
import { c as createPostcssConfig } from './create-postcss-config-cb2faa30.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';
|
|
@@ -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-
|
|
32
|
+
var createPostcssConfig = require('./create-postcss-config-c6abdba8.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-
|
|
32
|
+
var createPostcssConfig = require('./create-postcss-config-ec256631.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');
|
package/dist/{credentials-storage-bf53a7e1.cjs.dev.js → credentials-storage-37265cea.cjs.dev.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var createHttpUserAgent = require('@commercetools/http-user-agent');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-7d58ab81.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,5 +1,5 @@
|
|
|
1
1
|
import createHttpUserAgent from '@commercetools/http-user-agent';
|
|
2
|
-
import { p as pkgJson } from './package-
|
|
2
|
+
import { p as pkgJson } from './package-9bd5cc53.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';
|
package/dist/{credentials-storage-164a78ee.cjs.prod.js → credentials-storage-c99137ec.cjs.prod.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var createHttpUserAgent = require('@commercetools/http-user-agent');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-78ccce50.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');
|
package/dist/{deployment-previews-set-7db561ac.esm.js → deployment-previews-set-84ee8cc2.esm.js}
RENAMED
|
@@ -5,10 +5,10 @@ import _findInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instanc
|
|
|
5
5
|
import chalk from 'chalk';
|
|
6
6
|
import prompts from 'prompts';
|
|
7
7
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
8
|
-
import { C as CredentialsStorage } from './credentials-storage-
|
|
9
|
-
import { f as fetchCustomApplication, g as updateCustomApplicationDeploymentPreview, h as createCustomApplicationDeploymentPreview } from './graphql-requests-
|
|
8
|
+
import { C as CredentialsStorage } from './credentials-storage-9213f4cc.esm.js';
|
|
9
|
+
import { f as fetchCustomApplication, g as updateCustomApplicationDeploymentPreview, h as createCustomApplicationDeploymentPreview } from './graphql-requests-0fd12ef6.esm.js';
|
|
10
10
|
import '@commercetools/http-user-agent';
|
|
11
|
-
import './package-
|
|
11
|
+
import './package-9bd5cc53.esm.js';
|
|
12
12
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
13
13
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
14
14
|
import '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
@@ -7,10 +7,10 @@ var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/insta
|
|
|
7
7
|
var chalk = require('chalk');
|
|
8
8
|
var prompts = require('prompts');
|
|
9
9
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
10
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
11
|
-
var graphqlRequests = require('./graphql-requests-
|
|
10
|
+
var credentialsStorage$1 = require('./credentials-storage-37265cea.cjs.dev.js');
|
|
11
|
+
var graphqlRequests = require('./graphql-requests-14df602c.cjs.dev.js');
|
|
12
12
|
require('@commercetools/http-user-agent');
|
|
13
|
-
require('./package-
|
|
13
|
+
require('./package-7d58ab81.cjs.dev.js');
|
|
14
14
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
15
15
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
16
16
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
@@ -7,10 +7,10 @@ var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/insta
|
|
|
7
7
|
var chalk = require('chalk');
|
|
8
8
|
var prompts = require('prompts');
|
|
9
9
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
10
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
11
|
-
var graphqlRequests = require('./graphql-requests-
|
|
10
|
+
var credentialsStorage$1 = require('./credentials-storage-c99137ec.cjs.prod.js');
|
|
11
|
+
var graphqlRequests = require('./graphql-requests-9e3cdf3d.cjs.prod.js');
|
|
12
12
|
require('@commercetools/http-user-agent');
|
|
13
|
-
require('./package-
|
|
13
|
+
require('./package-78ccce50.cjs.prod.js');
|
|
14
14
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
15
15
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
16
16
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
@@ -12,7 +12,7 @@ import chalk from 'chalk';
|
|
|
12
12
|
import { print } from 'graphql';
|
|
13
13
|
import { GraphQLClient, ClientError } from 'graphql-request';
|
|
14
14
|
import { GRAPHQL_TARGETS, SUPPORTED_HEADERS } from '@commercetools-frontend/constants';
|
|
15
|
-
import { C as CredentialsStorage, u as userAgent } from './credentials-storage-
|
|
15
|
+
import { C as CredentialsStorage, u as userAgent } from './credentials-storage-9213f4cc.esm.js';
|
|
16
16
|
|
|
17
17
|
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; }
|
|
18
18
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -14,7 +14,7 @@ var chalk = require('chalk');
|
|
|
14
14
|
var graphql = require('graphql');
|
|
15
15
|
var graphqlRequest = require('graphql-request');
|
|
16
16
|
var constants = require('@commercetools-frontend/constants');
|
|
17
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
17
|
+
var credentialsStorage$1 = require('./credentials-storage-37265cea.cjs.dev.js');
|
|
18
18
|
|
|
19
19
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
20
20
|
|
package/dist/{graphql-requests-814d5450.cjs.prod.js → graphql-requests-9e3cdf3d.cjs.prod.js}
RENAMED
|
@@ -14,7 +14,7 @@ var chalk = require('chalk');
|
|
|
14
14
|
var graphql = require('graphql');
|
|
15
15
|
var graphqlRequest = require('graphql-request');
|
|
16
16
|
var constants = require('@commercetools-frontend/constants');
|
|
17
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
17
|
+
var credentialsStorage$1 = require('./credentials-storage-c99137ec.cjs.prod.js');
|
|
18
18
|
|
|
19
19
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
20
20
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import _Promise from '@babel/runtime-corejs3/core-js-stable/promise';
|
|
2
2
|
import _URL from '@babel/runtime-corejs3/core-js-stable/url';
|
|
3
3
|
import crypto from 'node:crypto';
|
|
4
|
-
import process from 'node:process';
|
|
4
|
+
import process, { exit } from 'node:process';
|
|
5
5
|
import chalk from 'chalk';
|
|
6
6
|
import prompts from 'prompts';
|
|
7
7
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
8
|
-
import { p as pkgJson } from './package-
|
|
8
|
+
import { p as pkgJson } from './package-9bd5cc53.esm.js';
|
|
9
9
|
import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
10
10
|
import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
11
11
|
import _filterInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
|
@@ -17,7 +17,7 @@ import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object
|
|
|
17
17
|
import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
18
18
|
import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
19
19
|
import fetch from 'node-fetch';
|
|
20
|
-
import { u as userAgent, C as CredentialsStorage } from './credentials-storage-
|
|
20
|
+
import { u as userAgent, C as CredentialsStorage } from './credentials-storage-9213f4cc.esm.js';
|
|
21
21
|
import http from 'node:http';
|
|
22
22
|
import jwtDecode from 'jwt-decode';
|
|
23
23
|
import '@commercetools/http-user-agent';
|
|
@@ -77,7 +77,9 @@ function createAuthCallbackServer(options) {
|
|
|
77
77
|
});
|
|
78
78
|
response.setHeader('content-type', 'text/html');
|
|
79
79
|
response.end('Success!');
|
|
80
|
-
server.close()
|
|
80
|
+
server.close(() => {
|
|
81
|
+
exit();
|
|
82
|
+
});
|
|
81
83
|
}
|
|
82
84
|
} catch (error) {
|
|
83
85
|
response.setHeader('content-type', 'text/html');
|
|
@@ -88,7 +90,9 @@ function createAuthCallbackServer(options) {
|
|
|
88
90
|
console.error(error);
|
|
89
91
|
response.end(`Invalid authentication flow.`);
|
|
90
92
|
}
|
|
91
|
-
server.close()
|
|
93
|
+
server.close(() => {
|
|
94
|
+
exit();
|
|
95
|
+
});
|
|
92
96
|
}
|
|
93
97
|
});
|
|
94
98
|
return server;
|
|
@@ -111,11 +115,30 @@ const resolveMcApiUrl = async () => {
|
|
|
111
115
|
return process.env.MC_API_URL;
|
|
112
116
|
}
|
|
113
117
|
|
|
118
|
+
// In the future we might want to support this value as a command line parameter
|
|
119
|
+
|
|
114
120
|
// If not, we parse the Custom Application configuration and check if it's defined over there
|
|
115
121
|
const applicationConfig = await processConfig();
|
|
116
122
|
const mcApiUrl = applicationConfig.env.mcApiUrl;
|
|
117
123
|
return mcApiUrl;
|
|
118
124
|
};
|
|
125
|
+
const resolveProjectKey = async () => {
|
|
126
|
+
// We first check whether the user has set the CTP_PROJECT_KEY environment variable
|
|
127
|
+
if (process.env.CTP_PROJECT_KEY) {
|
|
128
|
+
return process.env.CTP_PROJECT_KEY;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// In the future we might want to support this value as a command line parameter
|
|
132
|
+
|
|
133
|
+
try {
|
|
134
|
+
const applicationConfig = await processConfig();
|
|
135
|
+
// @ts-expect-error - We know that the initialProjectKey is defined in the development environment
|
|
136
|
+
return applicationConfig.env.development.initialProjectKey;
|
|
137
|
+
} catch (error) {
|
|
138
|
+
// It's ok if there's not application config file or if it does not contain the initialProjectKey
|
|
139
|
+
return null;
|
|
140
|
+
}
|
|
141
|
+
};
|
|
119
142
|
const generateRandomHash = function () {
|
|
120
143
|
let length = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 16;
|
|
121
144
|
return crypto.randomBytes(length).toString('hex');
|
|
@@ -134,15 +157,20 @@ async function run() {
|
|
|
134
157
|
}
|
|
135
158
|
if (shouldUseExperimentalIdentityAuthFlow) {
|
|
136
159
|
const open = await import('open');
|
|
160
|
+
const projectKey = await resolveProjectKey();
|
|
137
161
|
const state = generateRandomHash();
|
|
138
162
|
const nonce = generateRandomHash();
|
|
163
|
+
const scopes = ['openid'];
|
|
164
|
+
if (projectKey) {
|
|
165
|
+
scopes.push(`project_key:${projectKey}`);
|
|
166
|
+
scopes.push('view:view_project_settings');
|
|
167
|
+
scopes.push('view:view_products');
|
|
168
|
+
}
|
|
139
169
|
const authUrl = new _URL('/login/authorize', mcApiUrl);
|
|
140
170
|
authUrl.searchParams.set('response_type', 'id_token');
|
|
141
171
|
authUrl.searchParams.set('response_mode', 'query');
|
|
142
172
|
authUrl.searchParams.set('client_id', `__local:${clientIdentifier}`);
|
|
143
|
-
authUrl.searchParams.set('scope',
|
|
144
|
-
// 'project_key:??',
|
|
145
|
-
].join(' '));
|
|
173
|
+
authUrl.searchParams.set('scope', scopes.join(' '));
|
|
146
174
|
authUrl.searchParams.set('state', state);
|
|
147
175
|
authUrl.searchParams.set('nonce', nonce);
|
|
148
176
|
const server = createAuthCallbackServer({
|
|
@@ -157,6 +185,9 @@ async function run() {
|
|
|
157
185
|
}
|
|
158
186
|
});
|
|
159
187
|
await startServer(server);
|
|
188
|
+
console.log(`Initiating the OIDC authentication flow, opening the login page in your browser...`);
|
|
189
|
+
console.log(` ${authUrl}`);
|
|
190
|
+
console.log();
|
|
160
191
|
await open.default(authUrl.toString());
|
|
161
192
|
console.log('Waiting for the OIDC authentication to complete...');
|
|
162
193
|
} else {
|
|
@@ -7,7 +7,7 @@ var process = require('node:process');
|
|
|
7
7
|
var chalk = require('chalk');
|
|
8
8
|
var prompts = require('prompts');
|
|
9
9
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
10
|
-
var _package = require('./package-
|
|
10
|
+
var _package = require('./package-78ccce50.cjs.prod.js');
|
|
11
11
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
12
12
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
13
13
|
var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
@@ -19,7 +19,7 @@ var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/obje
|
|
|
19
19
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
20
20
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
21
21
|
var fetch = require('node-fetch');
|
|
22
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
22
|
+
var credentialsStorage$1 = require('./credentials-storage-c99137ec.cjs.prod.js');
|
|
23
23
|
var http = require('node:http');
|
|
24
24
|
var jwtDecode = require('jwt-decode');
|
|
25
25
|
require('@commercetools/http-user-agent');
|
|
@@ -118,7 +118,9 @@ function createAuthCallbackServer(options) {
|
|
|
118
118
|
});
|
|
119
119
|
response.setHeader('content-type', 'text/html');
|
|
120
120
|
response.end('Success!');
|
|
121
|
-
server.close()
|
|
121
|
+
server.close(() => {
|
|
122
|
+
process.exit();
|
|
123
|
+
});
|
|
122
124
|
}
|
|
123
125
|
} catch (error) {
|
|
124
126
|
response.setHeader('content-type', 'text/html');
|
|
@@ -129,7 +131,9 @@ function createAuthCallbackServer(options) {
|
|
|
129
131
|
console.error(error);
|
|
130
132
|
response.end(`Invalid authentication flow.`);
|
|
131
133
|
}
|
|
132
|
-
server.close()
|
|
134
|
+
server.close(() => {
|
|
135
|
+
process.exit();
|
|
136
|
+
});
|
|
133
137
|
}
|
|
134
138
|
});
|
|
135
139
|
return server;
|
|
@@ -152,11 +156,30 @@ const resolveMcApiUrl = async () => {
|
|
|
152
156
|
return process__default["default"].env.MC_API_URL;
|
|
153
157
|
}
|
|
154
158
|
|
|
159
|
+
// In the future we might want to support this value as a command line parameter
|
|
160
|
+
|
|
155
161
|
// If not, we parse the Custom Application configuration and check if it's defined over there
|
|
156
162
|
const applicationConfig$1 = await applicationConfig.processConfig();
|
|
157
163
|
const mcApiUrl = applicationConfig$1.env.mcApiUrl;
|
|
158
164
|
return mcApiUrl;
|
|
159
165
|
};
|
|
166
|
+
const resolveProjectKey = async () => {
|
|
167
|
+
// We first check whether the user has set the CTP_PROJECT_KEY environment variable
|
|
168
|
+
if (process__default["default"].env.CTP_PROJECT_KEY) {
|
|
169
|
+
return process__default["default"].env.CTP_PROJECT_KEY;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
// In the future we might want to support this value as a command line parameter
|
|
173
|
+
|
|
174
|
+
try {
|
|
175
|
+
const applicationConfig$1 = await applicationConfig.processConfig();
|
|
176
|
+
// @ts-expect-error - We know that the initialProjectKey is defined in the development environment
|
|
177
|
+
return applicationConfig$1.env.development.initialProjectKey;
|
|
178
|
+
} catch (error) {
|
|
179
|
+
// It's ok if there's not application config file or if it does not contain the initialProjectKey
|
|
180
|
+
return null;
|
|
181
|
+
}
|
|
182
|
+
};
|
|
160
183
|
const generateRandomHash = function () {
|
|
161
184
|
let length = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 16;
|
|
162
185
|
return crypto__default["default"].randomBytes(length).toString('hex');
|
|
@@ -175,15 +198,20 @@ async function run() {
|
|
|
175
198
|
}
|
|
176
199
|
if (shouldUseExperimentalIdentityAuthFlow) {
|
|
177
200
|
const open = await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('open')); });
|
|
201
|
+
const projectKey = await resolveProjectKey();
|
|
178
202
|
const state = generateRandomHash();
|
|
179
203
|
const nonce = generateRandomHash();
|
|
204
|
+
const scopes = ['openid'];
|
|
205
|
+
if (projectKey) {
|
|
206
|
+
scopes.push(`project_key:${projectKey}`);
|
|
207
|
+
scopes.push('view:view_project_settings');
|
|
208
|
+
scopes.push('view:view_products');
|
|
209
|
+
}
|
|
180
210
|
const authUrl = new _URL__default["default"]('/login/authorize', mcApiUrl);
|
|
181
211
|
authUrl.searchParams.set('response_type', 'id_token');
|
|
182
212
|
authUrl.searchParams.set('response_mode', 'query');
|
|
183
213
|
authUrl.searchParams.set('client_id', `__local:${clientIdentifier}`);
|
|
184
|
-
authUrl.searchParams.set('scope',
|
|
185
|
-
// 'project_key:??',
|
|
186
|
-
].join(' '));
|
|
214
|
+
authUrl.searchParams.set('scope', scopes.join(' '));
|
|
187
215
|
authUrl.searchParams.set('state', state);
|
|
188
216
|
authUrl.searchParams.set('nonce', nonce);
|
|
189
217
|
const server = createAuthCallbackServer({
|
|
@@ -198,6 +226,9 @@ async function run() {
|
|
|
198
226
|
}
|
|
199
227
|
});
|
|
200
228
|
await startServer(server);
|
|
229
|
+
console.log(`Initiating the OIDC authentication flow, opening the login page in your browser...`);
|
|
230
|
+
console.log(` ${authUrl}`);
|
|
231
|
+
console.log();
|
|
201
232
|
await open.default(authUrl.toString());
|
|
202
233
|
console.log('Waiting for the OIDC authentication to complete...');
|
|
203
234
|
} else {
|
|
@@ -7,7 +7,7 @@ var process = require('node:process');
|
|
|
7
7
|
var chalk = require('chalk');
|
|
8
8
|
var prompts = require('prompts');
|
|
9
9
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
10
|
-
var _package = require('./package-
|
|
10
|
+
var _package = require('./package-7d58ab81.cjs.dev.js');
|
|
11
11
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
12
12
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
13
13
|
var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
@@ -19,7 +19,7 @@ var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/obje
|
|
|
19
19
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
20
20
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
21
21
|
var fetch = require('node-fetch');
|
|
22
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
22
|
+
var credentialsStorage$1 = require('./credentials-storage-37265cea.cjs.dev.js');
|
|
23
23
|
var http = require('node:http');
|
|
24
24
|
var jwtDecode = require('jwt-decode');
|
|
25
25
|
require('@commercetools/http-user-agent');
|
|
@@ -118,7 +118,9 @@ function createAuthCallbackServer(options) {
|
|
|
118
118
|
});
|
|
119
119
|
response.setHeader('content-type', 'text/html');
|
|
120
120
|
response.end('Success!');
|
|
121
|
-
server.close()
|
|
121
|
+
server.close(() => {
|
|
122
|
+
process.exit();
|
|
123
|
+
});
|
|
122
124
|
}
|
|
123
125
|
} catch (error) {
|
|
124
126
|
response.setHeader('content-type', 'text/html');
|
|
@@ -129,7 +131,9 @@ function createAuthCallbackServer(options) {
|
|
|
129
131
|
console.error(error);
|
|
130
132
|
response.end(`Invalid authentication flow.`);
|
|
131
133
|
}
|
|
132
|
-
server.close()
|
|
134
|
+
server.close(() => {
|
|
135
|
+
process.exit();
|
|
136
|
+
});
|
|
133
137
|
}
|
|
134
138
|
});
|
|
135
139
|
return server;
|
|
@@ -152,11 +156,30 @@ const resolveMcApiUrl = async () => {
|
|
|
152
156
|
return process__default["default"].env.MC_API_URL;
|
|
153
157
|
}
|
|
154
158
|
|
|
159
|
+
// In the future we might want to support this value as a command line parameter
|
|
160
|
+
|
|
155
161
|
// If not, we parse the Custom Application configuration and check if it's defined over there
|
|
156
162
|
const applicationConfig$1 = await applicationConfig.processConfig();
|
|
157
163
|
const mcApiUrl = applicationConfig$1.env.mcApiUrl;
|
|
158
164
|
return mcApiUrl;
|
|
159
165
|
};
|
|
166
|
+
const resolveProjectKey = async () => {
|
|
167
|
+
// We first check whether the user has set the CTP_PROJECT_KEY environment variable
|
|
168
|
+
if (process__default["default"].env.CTP_PROJECT_KEY) {
|
|
169
|
+
return process__default["default"].env.CTP_PROJECT_KEY;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
// In the future we might want to support this value as a command line parameter
|
|
173
|
+
|
|
174
|
+
try {
|
|
175
|
+
const applicationConfig$1 = await applicationConfig.processConfig();
|
|
176
|
+
// @ts-expect-error - We know that the initialProjectKey is defined in the development environment
|
|
177
|
+
return applicationConfig$1.env.development.initialProjectKey;
|
|
178
|
+
} catch (error) {
|
|
179
|
+
// It's ok if there's not application config file or if it does not contain the initialProjectKey
|
|
180
|
+
return null;
|
|
181
|
+
}
|
|
182
|
+
};
|
|
160
183
|
const generateRandomHash = function () {
|
|
161
184
|
let length = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 16;
|
|
162
185
|
return crypto__default["default"].randomBytes(length).toString('hex');
|
|
@@ -175,15 +198,20 @@ async function run() {
|
|
|
175
198
|
}
|
|
176
199
|
if (shouldUseExperimentalIdentityAuthFlow) {
|
|
177
200
|
const open = await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('open')); });
|
|
201
|
+
const projectKey = await resolveProjectKey();
|
|
178
202
|
const state = generateRandomHash();
|
|
179
203
|
const nonce = generateRandomHash();
|
|
204
|
+
const scopes = ['openid'];
|
|
205
|
+
if (projectKey) {
|
|
206
|
+
scopes.push(`project_key:${projectKey}`);
|
|
207
|
+
scopes.push('view:view_project_settings');
|
|
208
|
+
scopes.push('view:view_products');
|
|
209
|
+
}
|
|
180
210
|
const authUrl = new _URL__default["default"]('/login/authorize', mcApiUrl);
|
|
181
211
|
authUrl.searchParams.set('response_type', 'id_token');
|
|
182
212
|
authUrl.searchParams.set('response_mode', 'query');
|
|
183
213
|
authUrl.searchParams.set('client_id', `__local:${clientIdentifier}`);
|
|
184
|
-
authUrl.searchParams.set('scope',
|
|
185
|
-
// 'project_key:??',
|
|
186
|
-
].join(' '));
|
|
214
|
+
authUrl.searchParams.set('scope', scopes.join(' '));
|
|
187
215
|
authUrl.searchParams.set('state', state);
|
|
188
216
|
authUrl.searchParams.set('nonce', nonce);
|
|
189
217
|
const server = createAuthCallbackServer({
|
|
@@ -198,6 +226,9 @@ async function run() {
|
|
|
198
226
|
}
|
|
199
227
|
});
|
|
200
228
|
await startServer(server);
|
|
229
|
+
console.log(`Initiating the OIDC authentication flow, opening the login page in your browser...`);
|
|
230
|
+
console.log(` ${authUrl}`);
|
|
231
|
+
console.log();
|
|
201
232
|
await open.default(authUrl.toString());
|
|
202
233
|
console.log('Waiting for the OIDC authentication to complete...');
|
|
203
234
|
} else {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var pkgJson = {
|
|
4
4
|
name: "@commercetools-frontend/mc-scripts",
|
|
5
|
-
version: "24.
|
|
5
|
+
version: "24.7.0",
|
|
6
6
|
description: "Configuration and scripts for developing a MC application",
|
|
7
7
|
bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
8
8
|
repository: {
|
|
@@ -63,13 +63,13 @@ var pkgJson = {
|
|
|
63
63
|
"@babel/plugin-proposal-do-expressions": "^7.22.5",
|
|
64
64
|
"@babel/runtime": "^7.22.15",
|
|
65
65
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
66
|
-
"@commercetools-frontend/application-components": "24.
|
|
67
|
-
"@commercetools-frontend/application-config": "24.
|
|
68
|
-
"@commercetools-frontend/assets": "24.
|
|
69
|
-
"@commercetools-frontend/babel-preset-mc-app": "24.
|
|
70
|
-
"@commercetools-frontend/constants": "24.
|
|
71
|
-
"@commercetools-frontend/mc-dev-authentication": "24.
|
|
72
|
-
"@commercetools-frontend/mc-html-template": "24.
|
|
66
|
+
"@commercetools-frontend/application-components": "24.7.0",
|
|
67
|
+
"@commercetools-frontend/application-config": "24.7.0",
|
|
68
|
+
"@commercetools-frontend/assets": "24.7.0",
|
|
69
|
+
"@commercetools-frontend/babel-preset-mc-app": "24.7.0",
|
|
70
|
+
"@commercetools-frontend/constants": "24.7.0",
|
|
71
|
+
"@commercetools-frontend/mc-dev-authentication": "24.7.0",
|
|
72
|
+
"@commercetools-frontend/mc-html-template": "24.7.0",
|
|
73
73
|
"@commercetools/http-user-agent": "3.0.0",
|
|
74
74
|
"@emotion/babel-plugin": "^11.13.5",
|
|
75
75
|
"@formatjs/cli-lib": "^6.3.8",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var pkgJson = {
|
|
4
4
|
name: "@commercetools-frontend/mc-scripts",
|
|
5
|
-
version: "24.
|
|
5
|
+
version: "24.7.0",
|
|
6
6
|
description: "Configuration and scripts for developing a MC application",
|
|
7
7
|
bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
8
8
|
repository: {
|
|
@@ -63,13 +63,13 @@ var pkgJson = {
|
|
|
63
63
|
"@babel/plugin-proposal-do-expressions": "^7.22.5",
|
|
64
64
|
"@babel/runtime": "^7.22.15",
|
|
65
65
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
66
|
-
"@commercetools-frontend/application-components": "24.
|
|
67
|
-
"@commercetools-frontend/application-config": "24.
|
|
68
|
-
"@commercetools-frontend/assets": "24.
|
|
69
|
-
"@commercetools-frontend/babel-preset-mc-app": "24.
|
|
70
|
-
"@commercetools-frontend/constants": "24.
|
|
71
|
-
"@commercetools-frontend/mc-dev-authentication": "24.
|
|
72
|
-
"@commercetools-frontend/mc-html-template": "24.
|
|
66
|
+
"@commercetools-frontend/application-components": "24.7.0",
|
|
67
|
+
"@commercetools-frontend/application-config": "24.7.0",
|
|
68
|
+
"@commercetools-frontend/assets": "24.7.0",
|
|
69
|
+
"@commercetools-frontend/babel-preset-mc-app": "24.7.0",
|
|
70
|
+
"@commercetools-frontend/constants": "24.7.0",
|
|
71
|
+
"@commercetools-frontend/mc-dev-authentication": "24.7.0",
|
|
72
|
+
"@commercetools-frontend/mc-html-template": "24.7.0",
|
|
73
73
|
"@commercetools/http-user-agent": "3.0.0",
|
|
74
74
|
"@emotion/babel-plugin": "^11.13.5",
|
|
75
75
|
"@formatjs/cli-lib": "^6.3.8",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var pkgJson = {
|
|
2
2
|
name: "@commercetools-frontend/mc-scripts",
|
|
3
|
-
version: "24.
|
|
3
|
+
version: "24.7.0",
|
|
4
4
|
description: "Configuration and scripts for developing a MC application",
|
|
5
5
|
bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
repository: {
|
|
@@ -61,13 +61,13 @@ var pkgJson = {
|
|
|
61
61
|
"@babel/plugin-proposal-do-expressions": "^7.22.5",
|
|
62
62
|
"@babel/runtime": "^7.22.15",
|
|
63
63
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
64
|
-
"@commercetools-frontend/application-components": "24.
|
|
65
|
-
"@commercetools-frontend/application-config": "24.
|
|
66
|
-
"@commercetools-frontend/assets": "24.
|
|
67
|
-
"@commercetools-frontend/babel-preset-mc-app": "24.
|
|
68
|
-
"@commercetools-frontend/constants": "24.
|
|
69
|
-
"@commercetools-frontend/mc-dev-authentication": "24.
|
|
70
|
-
"@commercetools-frontend/mc-html-template": "24.
|
|
64
|
+
"@commercetools-frontend/application-components": "24.7.0",
|
|
65
|
+
"@commercetools-frontend/application-config": "24.7.0",
|
|
66
|
+
"@commercetools-frontend/assets": "24.7.0",
|
|
67
|
+
"@commercetools-frontend/babel-preset-mc-app": "24.7.0",
|
|
68
|
+
"@commercetools-frontend/constants": "24.7.0",
|
|
69
|
+
"@commercetools-frontend/mc-dev-authentication": "24.7.0",
|
|
70
|
+
"@commercetools-frontend/mc-html-template": "24.7.0",
|
|
71
71
|
"@commercetools/http-user-agent": "3.0.0",
|
|
72
72
|
"@emotion/babel-plugin": "^11.13.5",
|
|
73
73
|
"@formatjs/cli-lib": "^6.3.8",
|
|
@@ -9,7 +9,7 @@ var openBrowser = require('react-dev-utils/openBrowser');
|
|
|
9
9
|
var WebpackDevServerUtils = require('react-dev-utils/WebpackDevServerUtils');
|
|
10
10
|
var webpack = require('webpack');
|
|
11
11
|
var WebpackDevServer = require('webpack-dev-server');
|
|
12
|
-
var createWebpackConfigForDevelopment = require('./create-webpack-config-for-development-
|
|
12
|
+
var createWebpackConfigForDevelopment = require('./create-webpack-config-for-development-edd48064.cjs.dev.js');
|
|
13
13
|
var paths = require('./paths-b76fc753.cjs.dev.js');
|
|
14
14
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
15
15
|
var mcDevAuthentication = require('@commercetools-frontend/mc-dev-authentication');
|
|
@@ -36,9 +36,9 @@ require('webpackbar');
|
|
|
36
36
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
37
37
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
38
38
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
39
|
-
require('./create-postcss-config-
|
|
39
|
+
require('./create-postcss-config-c6abdba8.cjs.dev.js');
|
|
40
40
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
41
|
-
require('./package-
|
|
41
|
+
require('./package-7d58ab81.cjs.dev.js');
|
|
42
42
|
require('./has-jsx-runtime-aa5d21ee.cjs.dev.js');
|
|
43
43
|
require('./optimizations-7789145e.cjs.dev.js');
|
|
44
44
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -9,7 +9,7 @@ var openBrowser = require('react-dev-utils/openBrowser');
|
|
|
9
9
|
var WebpackDevServerUtils = require('react-dev-utils/WebpackDevServerUtils');
|
|
10
10
|
var webpack = require('webpack');
|
|
11
11
|
var WebpackDevServer = require('webpack-dev-server');
|
|
12
|
-
var createWebpackConfigForDevelopment = require('./create-webpack-config-for-development-
|
|
12
|
+
var createWebpackConfigForDevelopment = require('./create-webpack-config-for-development-e1fd78df.cjs.prod.js');
|
|
13
13
|
var paths = require('./paths-7768b440.cjs.prod.js');
|
|
14
14
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
15
15
|
var mcDevAuthentication = require('@commercetools-frontend/mc-dev-authentication');
|
|
@@ -36,9 +36,9 @@ require('webpackbar');
|
|
|
36
36
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
37
37
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
38
38
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
39
|
-
require('./create-postcss-config-
|
|
39
|
+
require('./create-postcss-config-ec256631.cjs.prod.js');
|
|
40
40
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
41
|
-
require('./package-
|
|
41
|
+
require('./package-78ccce50.cjs.prod.js');
|
|
42
42
|
require('./has-jsx-runtime-c3202df5.cjs.prod.js');
|
|
43
43
|
require('./optimizations-fb93514f.cjs.prod.js');
|
|
44
44
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -7,7 +7,7 @@ import openBrowser from 'react-dev-utils/openBrowser';
|
|
|
7
7
|
import { choosePort, prepareUrls, createCompiler } from 'react-dev-utils/WebpackDevServerUtils';
|
|
8
8
|
import webpack from 'webpack';
|
|
9
9
|
import WebpackDevServer from 'webpack-dev-server';
|
|
10
|
-
import { c as createWebpackConfigForDevelopment } from './create-webpack-config-for-development-
|
|
10
|
+
import { c as createWebpackConfigForDevelopment } from './create-webpack-config-for-development-9b5c7162.esm.js';
|
|
11
11
|
import { p as paths } from './paths-39f22b8b.esm.js';
|
|
12
12
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
13
13
|
import { createMcDevAuthenticationMiddleware } from '@commercetools-frontend/mc-dev-authentication';
|
|
@@ -34,9 +34,9 @@ import 'webpackbar';
|
|
|
34
34
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
35
35
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
36
36
|
import '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
37
|
-
import './create-postcss-config-
|
|
37
|
+
import './create-postcss-config-cb2faa30.esm.js';
|
|
38
38
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
39
|
-
import './package-
|
|
39
|
+
import './package-9bd5cc53.esm.js';
|
|
40
40
|
import './has-jsx-runtime-e3ecb09b.esm.js';
|
|
41
41
|
import './optimizations-bf991634.esm.js';
|
|
42
42
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/mc-scripts",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.7.0",
|
|
4
4
|
"description": "Configuration and scripts for developing a MC application",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
"@babel/plugin-proposal-do-expressions": "^7.22.5",
|
|
62
62
|
"@babel/runtime": "^7.22.15",
|
|
63
63
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
64
|
-
"@commercetools-frontend/application-components": "24.
|
|
65
|
-
"@commercetools-frontend/application-config": "24.
|
|
66
|
-
"@commercetools-frontend/assets": "24.
|
|
67
|
-
"@commercetools-frontend/babel-preset-mc-app": "24.
|
|
68
|
-
"@commercetools-frontend/constants": "24.
|
|
69
|
-
"@commercetools-frontend/mc-dev-authentication": "24.
|
|
70
|
-
"@commercetools-frontend/mc-html-template": "24.
|
|
64
|
+
"@commercetools-frontend/application-components": "24.7.0",
|
|
65
|
+
"@commercetools-frontend/application-config": "24.7.0",
|
|
66
|
+
"@commercetools-frontend/assets": "24.7.0",
|
|
67
|
+
"@commercetools-frontend/babel-preset-mc-app": "24.7.0",
|
|
68
|
+
"@commercetools-frontend/constants": "24.7.0",
|
|
69
|
+
"@commercetools-frontend/mc-dev-authentication": "24.7.0",
|
|
70
|
+
"@commercetools-frontend/mc-html-template": "24.7.0",
|
|
71
71
|
"@commercetools/http-user-agent": "3.0.0",
|
|
72
72
|
"@emotion/babel-plugin": "^11.13.5",
|
|
73
73
|
"@formatjs/cli-lib": "^6.3.8",
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var createPostcssConfig = require('../../dist/create-postcss-config-
|
|
5
|
+
var createPostcssConfig = require('../../dist/create-postcss-config-c6abdba8.cjs.dev.js');
|
|
6
6
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
7
7
|
require('path');
|
|
8
|
-
require('../../dist/package-
|
|
8
|
+
require('../../dist/package-7d58ab81.cjs.dev.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var createPostcssConfig = require('../../dist/create-postcss-config-
|
|
5
|
+
var createPostcssConfig = require('../../dist/create-postcss-config-ec256631.cjs.prod.js');
|
|
6
6
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
7
7
|
require('path');
|
|
8
|
-
require('../../dist/package-
|
|
8
|
+
require('../../dist/package-78ccce50.cjs.prod.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as createPostcssConfig } from '../../dist/create-postcss-config-
|
|
1
|
+
export { c as createPostcssConfig } from '../../dist/create-postcss-config-cb2faa30.esm.js';
|
|
2
2
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
3
3
|
import 'path';
|
|
4
|
-
import '../../dist/package-
|
|
4
|
+
import '../../dist/package-9bd5cc53.esm.js';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var createWebpackConfigForDevelopment = require('../../dist/create-webpack-config-for-development-
|
|
6
|
-
var createWebpackConfigForProduction = require('../../dist/create-webpack-config-for-production-
|
|
5
|
+
var createWebpackConfigForDevelopment = require('../../dist/create-webpack-config-for-development-edd48064.cjs.dev.js');
|
|
6
|
+
var createWebpackConfigForProduction = require('../../dist/create-webpack-config-for-production-21b4e4f4.cjs.dev.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
8
8
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
|
|
@@ -29,9 +29,9 @@ require('@babel/runtime-corejs3/helpers/createClass');
|
|
|
29
29
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
30
30
|
require('@commercetools-frontend/application-config');
|
|
31
31
|
require('@commercetools-frontend/mc-html-template');
|
|
32
|
-
require('../../dist/create-postcss-config-
|
|
32
|
+
require('../../dist/create-postcss-config-c6abdba8.cjs.dev.js');
|
|
33
33
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
34
|
-
require('../../dist/package-
|
|
34
|
+
require('../../dist/package-7d58ab81.cjs.dev.js');
|
|
35
35
|
require('../../dist/has-jsx-runtime-aa5d21ee.cjs.dev.js');
|
|
36
36
|
require('../../dist/optimizations-7789145e.cjs.dev.js');
|
|
37
37
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var createWebpackConfigForDevelopment = require('../../dist/create-webpack-config-for-development-
|
|
6
|
-
var createWebpackConfigForProduction = require('../../dist/create-webpack-config-for-production-
|
|
5
|
+
var createWebpackConfigForDevelopment = require('../../dist/create-webpack-config-for-development-e1fd78df.cjs.prod.js');
|
|
6
|
+
var createWebpackConfigForProduction = require('../../dist/create-webpack-config-for-production-e7c5ecb6.cjs.prod.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
8
8
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
|
|
@@ -29,9 +29,9 @@ require('@babel/runtime-corejs3/helpers/createClass');
|
|
|
29
29
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
30
30
|
require('@commercetools-frontend/application-config');
|
|
31
31
|
require('@commercetools-frontend/mc-html-template');
|
|
32
|
-
require('../../dist/create-postcss-config-
|
|
32
|
+
require('../../dist/create-postcss-config-ec256631.cjs.prod.js');
|
|
33
33
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
34
|
-
require('../../dist/package-
|
|
34
|
+
require('../../dist/package-78ccce50.cjs.prod.js');
|
|
35
35
|
require('../../dist/has-jsx-runtime-c3202df5.cjs.prod.js');
|
|
36
36
|
require('../../dist/optimizations-fb93514f.cjs.prod.js');
|
|
37
37
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { c as createWebpackConfigForDevelopment } from '../../dist/create-webpack-config-for-development-
|
|
2
|
-
export { c as createWebpackConfigForProduction } from '../../dist/create-webpack-config-for-production-
|
|
1
|
+
export { c as createWebpackConfigForDevelopment } from '../../dist/create-webpack-config-for-development-9b5c7162.esm.js';
|
|
2
|
+
export { c as createWebpackConfigForProduction } from '../../dist/create-webpack-config-for-production-1e97e2c1.esm.js';
|
|
3
3
|
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
4
4
|
import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
5
5
|
import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor';
|
|
@@ -25,9 +25,9 @@ import '@babel/runtime-corejs3/helpers/createClass';
|
|
|
25
25
|
import '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
26
26
|
import '@commercetools-frontend/application-config';
|
|
27
27
|
import '@commercetools-frontend/mc-html-template';
|
|
28
|
-
import '../../dist/create-postcss-config-
|
|
28
|
+
import '../../dist/create-postcss-config-cb2faa30.esm.js';
|
|
29
29
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
30
|
-
import '../../dist/package-
|
|
30
|
+
import '../../dist/package-9bd5cc53.esm.js';
|
|
31
31
|
import '../../dist/has-jsx-runtime-e3ecb09b.esm.js';
|
|
32
32
|
import '../../dist/optimizations-bf991634.esm.js';
|
|
33
33
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|