@commercetools-frontend/mc-scripts 21.9.0 → 21.12.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 +20 -14
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +20 -14
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +20 -14
- package/dist/{build-5357ad26.cjs.prod.js → build-9434754d.cjs.prod.js} +3 -3
- package/dist/{build-9b6d7eee.cjs.dev.js → build-ad34bf97.cjs.dev.js} +3 -3
- package/dist/{build-c483e87f.esm.js → build-cd343fb7.esm.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-6b31d972.esm.js → config-sync-6aa65fac.esm.js} +2 -2
- package/dist/{config-sync-a478bc0f.cjs.dev.js → config-sync-9259f7d1.cjs.dev.js} +2 -2
- package/dist/{config-sync-f07734e4.cjs.prod.js → config-sync-a2570c3f.cjs.prod.js} +2 -2
- package/dist/{create-postcss-config-ddc3abee.cjs.prod.js → create-postcss-config-0ff348b5.cjs.prod.js} +1 -1
- package/dist/{create-postcss-config-04243dea.esm.js → create-postcss-config-8b1b12ed.esm.js} +1 -1
- package/dist/{create-postcss-config-760e2dc5.cjs.dev.js → create-postcss-config-979d5d24.cjs.dev.js} +1 -1
- package/dist/{create-webpack-config-for-development-76fdab59.cjs.prod.js → create-webpack-config-for-development-210e9389.cjs.prod.js} +2 -2
- package/dist/{create-webpack-config-for-development-dfd1c174.cjs.dev.js → create-webpack-config-for-development-384c7928.cjs.dev.js} +2 -2
- package/dist/{create-webpack-config-for-development-d93ae4b2.esm.js → create-webpack-config-for-development-d5822119.esm.js} +2 -2
- package/dist/{create-webpack-config-for-production-d652ad1a.cjs.prod.js → create-webpack-config-for-production-43dae88a.cjs.prod.js} +2 -2
- package/dist/{create-webpack-config-for-production-9290479a.esm.js → create-webpack-config-for-production-8dc11eaa.esm.js} +2 -2
- package/dist/{create-webpack-config-for-production-bc8c1f37.cjs.dev.js → create-webpack-config-for-production-adffe7d5.cjs.dev.js} +2 -2
- package/dist/{login-7b7ae27e.esm.js → login-19a7c430.esm.js} +2 -2
- package/dist/{login-c11fb977.cjs.prod.js → login-2967dc5a.cjs.prod.js} +2 -2
- package/dist/{login-b13f26e7.cjs.dev.js → login-7ce8ea10.cjs.dev.js} +2 -2
- package/dist/{package-4b4fcf02.cjs.prod.js → package-a4f48690.cjs.prod.js} +7 -7
- package/dist/{package-4c3e3fb7.cjs.dev.js → package-ba086980.cjs.dev.js} +7 -7
- package/dist/{package-8e6305bd.esm.js → package-e94eda5d.esm.js} +7 -7
- package/dist/{start-600d06a3.esm.js → start-32a72b39.esm.js} +3 -3
- package/dist/{start-45ca01f2.cjs.dev.js → start-4afc0eca.cjs.dev.js} +3 -3
- package/dist/{start-1b7dad90.cjs.prod.js → start-6c4bfa72.cjs.prod.js} +3 -3
- package/dist/{user-agent-5f8ec93d.cjs.prod.js → user-agent-0b681c77.cjs.prod.js} +1 -1
- package/dist/{user-agent-ca628320.esm.js → user-agent-c6673bab.esm.js} +1 -1
- package/dist/{user-agent-ee57c98a.cjs.dev.js → user-agent-ccef64b1.cjs.dev.js} +1 -1
- package/package.json +7 -7
- 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
|
@@ -13,7 +13,7 @@ var path = require('path');
|
|
|
13
13
|
var cac = require('cac');
|
|
14
14
|
var dotenv = require('dotenv');
|
|
15
15
|
var dotenvExpand = require('dotenv-expand');
|
|
16
|
-
var _package = require('../../dist/package-
|
|
16
|
+
var _package = require('../../dist/package-ba086980.cjs.dev.js');
|
|
17
17
|
|
|
18
18
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
19
19
|
|
|
@@ -37,15 +37,14 @@ process.on('unhandledRejection', function (err) {
|
|
|
37
37
|
var applicationDirectory = fs__default["default"].realpathSync(process.cwd());
|
|
38
38
|
|
|
39
39
|
var run = function run() {
|
|
40
|
-
cli.help();
|
|
41
|
-
cli.version(_package.pkgJson.version);
|
|
42
40
|
cli.option('--env <path>', "(optional) Parses the file path as a dotenv file and adds the variables to the environment. Multiple flags are allowed."); // Default command
|
|
43
41
|
|
|
44
|
-
cli.command('').action(function () {
|
|
42
|
+
cli.command('').usage('\n\n Develop and build Custom Applications.').action(function () {
|
|
45
43
|
cli.outputHelp();
|
|
46
44
|
}); // Command: start
|
|
47
45
|
|
|
48
|
-
|
|
46
|
+
var usageStart = 'Starts the application in development mode using Webpack Dev Server.';
|
|
47
|
+
cli.command('start', usageStart).usage("\n\n ".concat(usageStart)).alias('dev').action( /*#__PURE__*/function () {
|
|
49
48
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(options) {
|
|
50
49
|
var shouldUseExperimentalBundler, startCommand;
|
|
51
50
|
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
@@ -80,7 +79,7 @@ var run = function run() {
|
|
|
80
79
|
|
|
81
80
|
case 11:
|
|
82
81
|
_context.next = 13;
|
|
83
|
-
return Promise.resolve().then(function () { return require('../../dist/start-
|
|
82
|
+
return Promise.resolve().then(function () { return require('../../dist/start-4afc0eca.cjs.dev.js'); });
|
|
84
83
|
|
|
85
84
|
case 13:
|
|
86
85
|
_context.t0 = _context.sent;
|
|
@@ -103,7 +102,8 @@ var run = function run() {
|
|
|
103
102
|
};
|
|
104
103
|
}()); // Command: build
|
|
105
104
|
|
|
106
|
-
|
|
105
|
+
var usageBuild = 'Bundles the application in production mode. Outputs a "public" folder.';
|
|
106
|
+
cli.command('build', usageBuild).usage("\n\n ".concat(usageBuild)).option('--build-only', '(optional) If defined, the command only creates the production bundles without compiling the "index.html".', {
|
|
107
107
|
default: false
|
|
108
108
|
}).action( /*#__PURE__*/function () {
|
|
109
109
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee2(options) {
|
|
@@ -140,7 +140,7 @@ var run = function run() {
|
|
|
140
140
|
|
|
141
141
|
case 11:
|
|
142
142
|
_context2.next = 13;
|
|
143
|
-
return Promise.resolve().then(function () { return require('../../dist/build-
|
|
143
|
+
return Promise.resolve().then(function () { return require('../../dist/build-ad34bf97.cjs.dev.js'); });
|
|
144
144
|
|
|
145
145
|
case 13:
|
|
146
146
|
_context2.t0 = _context2.sent;
|
|
@@ -182,7 +182,8 @@ var run = function run() {
|
|
|
182
182
|
};
|
|
183
183
|
}()); // Command: compile-html
|
|
184
184
|
|
|
185
|
-
|
|
185
|
+
var usageCompileHtml = 'Compiles "index.html.template" file into a "index.html" with all the required runtime configuration. The security headers are also compiled and injected into the "index.html".';
|
|
186
|
+
cli.command('compile-html', usageCompileHtml).usage("\n\n ".concat(usageCompileHtml)).option('--transformer <path>', '(optional) The path to a JS module that can be used to generate a configuration for a specific cloud provider (e.g. Vercel, Netlify).').option('--print-security-headers', '(optional) If defined, the compiled security headers are printed to stdout.', {
|
|
186
187
|
default: false
|
|
187
188
|
}).action( /*#__PURE__*/function () {
|
|
188
189
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee3(options) {
|
|
@@ -217,7 +218,8 @@ var run = function run() {
|
|
|
217
218
|
};
|
|
218
219
|
}()); // Command: serve
|
|
219
220
|
|
|
220
|
-
|
|
221
|
+
var usageServe = 'Serves previously built and compiled application from the "public" folder.';
|
|
222
|
+
cli.command('serve', usageServe).usage("\n\n ".concat(usageServe)).action( /*#__PURE__*/function () {
|
|
221
223
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee4(options) {
|
|
222
224
|
var serveCommand;
|
|
223
225
|
return _regeneratorRuntime__default["default"].wrap(function _callee4$(_context4) {
|
|
@@ -250,7 +252,8 @@ var run = function run() {
|
|
|
250
252
|
};
|
|
251
253
|
}()); // Command: login
|
|
252
254
|
|
|
253
|
-
|
|
255
|
+
var usageLogin = 'Log in to your Merchant Center account through the CLI, using the cloud environment information from the Custom Application config file. An API token is generated and stored in a configuration file for the related cloud environment, and valid for 36 hours.';
|
|
256
|
+
cli.command('login', usageLogin).usage("\n\n ".concat(usageLogin)).action( /*#__PURE__*/function () {
|
|
254
257
|
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee5(options) {
|
|
255
258
|
var loginCommand;
|
|
256
259
|
return _regeneratorRuntime__default["default"].wrap(function _callee5$(_context5) {
|
|
@@ -263,7 +266,7 @@ var run = function run() {
|
|
|
263
266
|
|
|
264
267
|
process.env.NODE_ENV = 'production';
|
|
265
268
|
_context5.next = 4;
|
|
266
|
-
return Promise.resolve().then(function () { return require('../../dist/login-
|
|
269
|
+
return Promise.resolve().then(function () { return require('../../dist/login-7ce8ea10.cjs.dev.js'); });
|
|
267
270
|
|
|
268
271
|
case 4:
|
|
269
272
|
loginCommand = _context5.sent;
|
|
@@ -283,7 +286,8 @@ var run = function run() {
|
|
|
283
286
|
};
|
|
284
287
|
}()); // Command: config:sync
|
|
285
288
|
|
|
286
|
-
|
|
289
|
+
var usageConfigSync = 'Synchronizes the local Custom Application config with the Merchant Center. A new Custom Application will be created if none existed, otherwise it will be updated.';
|
|
290
|
+
cli.command('config:sync', usageConfigSync).usage("\n\n ".concat(usageConfigSync)).option('--dry-run', '(optional) Executes the command but does not send any mutation request.', {
|
|
287
291
|
default: false
|
|
288
292
|
}).action( /*#__PURE__*/function () {
|
|
289
293
|
var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee6(options) {
|
|
@@ -298,7 +302,7 @@ var run = function run() {
|
|
|
298
302
|
|
|
299
303
|
process.env.NODE_ENV = 'production';
|
|
300
304
|
_context6.next = 4;
|
|
301
|
-
return Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
305
|
+
return Promise.resolve().then(function () { return require('../../dist/config-sync-9259f7d1.cjs.dev.js'); });
|
|
302
306
|
|
|
303
307
|
case 4:
|
|
304
308
|
configSyncCommand = _context6.sent;
|
|
@@ -317,6 +321,8 @@ var run = function run() {
|
|
|
317
321
|
return _ref6.apply(this, arguments);
|
|
318
322
|
};
|
|
319
323
|
}());
|
|
324
|
+
cli.help();
|
|
325
|
+
cli.version(_package.pkgJson.version);
|
|
320
326
|
cli.parse();
|
|
321
327
|
}; // Load dotenv files into the process environment.
|
|
322
328
|
// This is essentially what `dotenv-cli` does, but it's now built into this CLI.
|
|
@@ -13,7 +13,7 @@ var path = require('path');
|
|
|
13
13
|
var cac = require('cac');
|
|
14
14
|
var dotenv = require('dotenv');
|
|
15
15
|
var dotenvExpand = require('dotenv-expand');
|
|
16
|
-
var _package = require('../../dist/package-
|
|
16
|
+
var _package = require('../../dist/package-a4f48690.cjs.prod.js');
|
|
17
17
|
|
|
18
18
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
19
19
|
|
|
@@ -37,15 +37,14 @@ process.on('unhandledRejection', function (err) {
|
|
|
37
37
|
var applicationDirectory = fs__default["default"].realpathSync(process.cwd());
|
|
38
38
|
|
|
39
39
|
var run = function run() {
|
|
40
|
-
cli.help();
|
|
41
|
-
cli.version(_package.pkgJson.version);
|
|
42
40
|
cli.option('--env <path>', "(optional) Parses the file path as a dotenv file and adds the variables to the environment. Multiple flags are allowed."); // Default command
|
|
43
41
|
|
|
44
|
-
cli.command('').action(function () {
|
|
42
|
+
cli.command('').usage('\n\n Develop and build Custom Applications.').action(function () {
|
|
45
43
|
cli.outputHelp();
|
|
46
44
|
}); // Command: start
|
|
47
45
|
|
|
48
|
-
|
|
46
|
+
var usageStart = 'Starts the application in development mode using Webpack Dev Server.';
|
|
47
|
+
cli.command('start', usageStart).usage("\n\n ".concat(usageStart)).alias('dev').action( /*#__PURE__*/function () {
|
|
49
48
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(options) {
|
|
50
49
|
var shouldUseExperimentalBundler, startCommand;
|
|
51
50
|
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
@@ -80,7 +79,7 @@ var run = function run() {
|
|
|
80
79
|
|
|
81
80
|
case 11:
|
|
82
81
|
_context.next = 13;
|
|
83
|
-
return Promise.resolve().then(function () { return require('../../dist/start-
|
|
82
|
+
return Promise.resolve().then(function () { return require('../../dist/start-6c4bfa72.cjs.prod.js'); });
|
|
84
83
|
|
|
85
84
|
case 13:
|
|
86
85
|
_context.t0 = _context.sent;
|
|
@@ -103,7 +102,8 @@ var run = function run() {
|
|
|
103
102
|
};
|
|
104
103
|
}()); // Command: build
|
|
105
104
|
|
|
106
|
-
|
|
105
|
+
var usageBuild = 'Bundles the application in production mode. Outputs a "public" folder.';
|
|
106
|
+
cli.command('build', usageBuild).usage("\n\n ".concat(usageBuild)).option('--build-only', '(optional) If defined, the command only creates the production bundles without compiling the "index.html".', {
|
|
107
107
|
default: false
|
|
108
108
|
}).action( /*#__PURE__*/function () {
|
|
109
109
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee2(options) {
|
|
@@ -140,7 +140,7 @@ var run = function run() {
|
|
|
140
140
|
|
|
141
141
|
case 11:
|
|
142
142
|
_context2.next = 13;
|
|
143
|
-
return Promise.resolve().then(function () { return require('../../dist/build-
|
|
143
|
+
return Promise.resolve().then(function () { return require('../../dist/build-9434754d.cjs.prod.js'); });
|
|
144
144
|
|
|
145
145
|
case 13:
|
|
146
146
|
_context2.t0 = _context2.sent;
|
|
@@ -182,7 +182,8 @@ var run = function run() {
|
|
|
182
182
|
};
|
|
183
183
|
}()); // Command: compile-html
|
|
184
184
|
|
|
185
|
-
|
|
185
|
+
var usageCompileHtml = 'Compiles "index.html.template" file into a "index.html" with all the required runtime configuration. The security headers are also compiled and injected into the "index.html".';
|
|
186
|
+
cli.command('compile-html', usageCompileHtml).usage("\n\n ".concat(usageCompileHtml)).option('--transformer <path>', '(optional) The path to a JS module that can be used to generate a configuration for a specific cloud provider (e.g. Vercel, Netlify).').option('--print-security-headers', '(optional) If defined, the compiled security headers are printed to stdout.', {
|
|
186
187
|
default: false
|
|
187
188
|
}).action( /*#__PURE__*/function () {
|
|
188
189
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee3(options) {
|
|
@@ -217,7 +218,8 @@ var run = function run() {
|
|
|
217
218
|
};
|
|
218
219
|
}()); // Command: serve
|
|
219
220
|
|
|
220
|
-
|
|
221
|
+
var usageServe = 'Serves previously built and compiled application from the "public" folder.';
|
|
222
|
+
cli.command('serve', usageServe).usage("\n\n ".concat(usageServe)).action( /*#__PURE__*/function () {
|
|
221
223
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee4(options) {
|
|
222
224
|
var serveCommand;
|
|
223
225
|
return _regeneratorRuntime__default["default"].wrap(function _callee4$(_context4) {
|
|
@@ -250,7 +252,8 @@ var run = function run() {
|
|
|
250
252
|
};
|
|
251
253
|
}()); // Command: login
|
|
252
254
|
|
|
253
|
-
|
|
255
|
+
var usageLogin = 'Log in to your Merchant Center account through the CLI, using the cloud environment information from the Custom Application config file. An API token is generated and stored in a configuration file for the related cloud environment, and valid for 36 hours.';
|
|
256
|
+
cli.command('login', usageLogin).usage("\n\n ".concat(usageLogin)).action( /*#__PURE__*/function () {
|
|
254
257
|
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee5(options) {
|
|
255
258
|
var loginCommand;
|
|
256
259
|
return _regeneratorRuntime__default["default"].wrap(function _callee5$(_context5) {
|
|
@@ -263,7 +266,7 @@ var run = function run() {
|
|
|
263
266
|
|
|
264
267
|
process.env.NODE_ENV = 'production';
|
|
265
268
|
_context5.next = 4;
|
|
266
|
-
return Promise.resolve().then(function () { return require('../../dist/login-
|
|
269
|
+
return Promise.resolve().then(function () { return require('../../dist/login-2967dc5a.cjs.prod.js'); });
|
|
267
270
|
|
|
268
271
|
case 4:
|
|
269
272
|
loginCommand = _context5.sent;
|
|
@@ -283,7 +286,8 @@ var run = function run() {
|
|
|
283
286
|
};
|
|
284
287
|
}()); // Command: config:sync
|
|
285
288
|
|
|
286
|
-
|
|
289
|
+
var usageConfigSync = 'Synchronizes the local Custom Application config with the Merchant Center. A new Custom Application will be created if none existed, otherwise it will be updated.';
|
|
290
|
+
cli.command('config:sync', usageConfigSync).usage("\n\n ".concat(usageConfigSync)).option('--dry-run', '(optional) Executes the command but does not send any mutation request.', {
|
|
287
291
|
default: false
|
|
288
292
|
}).action( /*#__PURE__*/function () {
|
|
289
293
|
var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee6(options) {
|
|
@@ -298,7 +302,7 @@ var run = function run() {
|
|
|
298
302
|
|
|
299
303
|
process.env.NODE_ENV = 'production';
|
|
300
304
|
_context6.next = 4;
|
|
301
|
-
return Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
305
|
+
return Promise.resolve().then(function () { return require('../../dist/config-sync-a2570c3f.cjs.prod.js'); });
|
|
302
306
|
|
|
303
307
|
case 4:
|
|
304
308
|
configSyncCommand = _context6.sent;
|
|
@@ -317,6 +321,8 @@ var run = function run() {
|
|
|
317
321
|
return _ref6.apply(this, arguments);
|
|
318
322
|
};
|
|
319
323
|
}());
|
|
324
|
+
cli.help();
|
|
325
|
+
cli.version(_package.pkgJson.version);
|
|
320
326
|
cli.parse();
|
|
321
327
|
}; // Load dotenv files into the process environment.
|
|
322
328
|
// This is essentially what `dotenv-cli` does, but it's now built into this CLI.
|
|
@@ -9,7 +9,7 @@ import path from 'path';
|
|
|
9
9
|
import { cac } from 'cac';
|
|
10
10
|
import dotenv from 'dotenv';
|
|
11
11
|
import dotenvExpand from 'dotenv-expand';
|
|
12
|
-
import { p as pkgJson } from '../../dist/package-
|
|
12
|
+
import { p as pkgJson } from '../../dist/package-e94eda5d.esm.js';
|
|
13
13
|
|
|
14
14
|
var cli = cac('mc-scripts'); // Makes the script crash on unhandled rejections instead of silently
|
|
15
15
|
// ignoring them. In the future, promise rejections that are not handled will
|
|
@@ -22,15 +22,14 @@ process.on('unhandledRejection', function (err) {
|
|
|
22
22
|
var applicationDirectory = fs.realpathSync(process.cwd());
|
|
23
23
|
|
|
24
24
|
var run = function run() {
|
|
25
|
-
cli.help();
|
|
26
|
-
cli.version(pkgJson.version);
|
|
27
25
|
cli.option('--env <path>', "(optional) Parses the file path as a dotenv file and adds the variables to the environment. Multiple flags are allowed."); // Default command
|
|
28
26
|
|
|
29
|
-
cli.command('').action(function () {
|
|
27
|
+
cli.command('').usage('\n\n Develop and build Custom Applications.').action(function () {
|
|
30
28
|
cli.outputHelp();
|
|
31
29
|
}); // Command: start
|
|
32
30
|
|
|
33
|
-
|
|
31
|
+
var usageStart = 'Starts the application in development mode using Webpack Dev Server.';
|
|
32
|
+
cli.command('start', usageStart).usage("\n\n ".concat(usageStart)).alias('dev').action( /*#__PURE__*/function () {
|
|
34
33
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(options) {
|
|
35
34
|
var shouldUseExperimentalBundler, startCommand;
|
|
36
35
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -65,7 +64,7 @@ var run = function run() {
|
|
|
65
64
|
|
|
66
65
|
case 11:
|
|
67
66
|
_context.next = 13;
|
|
68
|
-
return import('../../dist/start-
|
|
67
|
+
return import('../../dist/start-32a72b39.esm.js');
|
|
69
68
|
|
|
70
69
|
case 13:
|
|
71
70
|
_context.t0 = _context.sent;
|
|
@@ -88,7 +87,8 @@ var run = function run() {
|
|
|
88
87
|
};
|
|
89
88
|
}()); // Command: build
|
|
90
89
|
|
|
91
|
-
|
|
90
|
+
var usageBuild = 'Bundles the application in production mode. Outputs a "public" folder.';
|
|
91
|
+
cli.command('build', usageBuild).usage("\n\n ".concat(usageBuild)).option('--build-only', '(optional) If defined, the command only creates the production bundles without compiling the "index.html".', {
|
|
92
92
|
default: false
|
|
93
93
|
}).action( /*#__PURE__*/function () {
|
|
94
94
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(options) {
|
|
@@ -125,7 +125,7 @@ var run = function run() {
|
|
|
125
125
|
|
|
126
126
|
case 11:
|
|
127
127
|
_context2.next = 13;
|
|
128
|
-
return import('../../dist/build-
|
|
128
|
+
return import('../../dist/build-cd343fb7.esm.js');
|
|
129
129
|
|
|
130
130
|
case 13:
|
|
131
131
|
_context2.t0 = _context2.sent;
|
|
@@ -167,7 +167,8 @@ var run = function run() {
|
|
|
167
167
|
};
|
|
168
168
|
}()); // Command: compile-html
|
|
169
169
|
|
|
170
|
-
|
|
170
|
+
var usageCompileHtml = 'Compiles "index.html.template" file into a "index.html" with all the required runtime configuration. The security headers are also compiled and injected into the "index.html".';
|
|
171
|
+
cli.command('compile-html', usageCompileHtml).usage("\n\n ".concat(usageCompileHtml)).option('--transformer <path>', '(optional) The path to a JS module that can be used to generate a configuration for a specific cloud provider (e.g. Vercel, Netlify).').option('--print-security-headers', '(optional) If defined, the compiled security headers are printed to stdout.', {
|
|
171
172
|
default: false
|
|
172
173
|
}).action( /*#__PURE__*/function () {
|
|
173
174
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(options) {
|
|
@@ -202,7 +203,8 @@ var run = function run() {
|
|
|
202
203
|
};
|
|
203
204
|
}()); // Command: serve
|
|
204
205
|
|
|
205
|
-
|
|
206
|
+
var usageServe = 'Serves previously built and compiled application from the "public" folder.';
|
|
207
|
+
cli.command('serve', usageServe).usage("\n\n ".concat(usageServe)).action( /*#__PURE__*/function () {
|
|
206
208
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(options) {
|
|
207
209
|
var serveCommand;
|
|
208
210
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
@@ -235,7 +237,8 @@ var run = function run() {
|
|
|
235
237
|
};
|
|
236
238
|
}()); // Command: login
|
|
237
239
|
|
|
238
|
-
|
|
240
|
+
var usageLogin = 'Log in to your Merchant Center account through the CLI, using the cloud environment information from the Custom Application config file. An API token is generated and stored in a configuration file for the related cloud environment, and valid for 36 hours.';
|
|
241
|
+
cli.command('login', usageLogin).usage("\n\n ".concat(usageLogin)).action( /*#__PURE__*/function () {
|
|
239
242
|
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(options) {
|
|
240
243
|
var loginCommand;
|
|
241
244
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
@@ -248,7 +251,7 @@ var run = function run() {
|
|
|
248
251
|
|
|
249
252
|
process.env.NODE_ENV = 'production';
|
|
250
253
|
_context5.next = 4;
|
|
251
|
-
return import('../../dist/login-
|
|
254
|
+
return import('../../dist/login-19a7c430.esm.js');
|
|
252
255
|
|
|
253
256
|
case 4:
|
|
254
257
|
loginCommand = _context5.sent;
|
|
@@ -268,7 +271,8 @@ var run = function run() {
|
|
|
268
271
|
};
|
|
269
272
|
}()); // Command: config:sync
|
|
270
273
|
|
|
271
|
-
|
|
274
|
+
var usageConfigSync = 'Synchronizes the local Custom Application config with the Merchant Center. A new Custom Application will be created if none existed, otherwise it will be updated.';
|
|
275
|
+
cli.command('config:sync', usageConfigSync).usage("\n\n ".concat(usageConfigSync)).option('--dry-run', '(optional) Executes the command but does not send any mutation request.', {
|
|
272
276
|
default: false
|
|
273
277
|
}).action( /*#__PURE__*/function () {
|
|
274
278
|
var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(options) {
|
|
@@ -283,7 +287,7 @@ var run = function run() {
|
|
|
283
287
|
|
|
284
288
|
process.env.NODE_ENV = 'production';
|
|
285
289
|
_context6.next = 4;
|
|
286
|
-
return import('../../dist/config-sync-
|
|
290
|
+
return import('../../dist/config-sync-6aa65fac.esm.js');
|
|
287
291
|
|
|
288
292
|
case 4:
|
|
289
293
|
configSyncCommand = _context6.sent;
|
|
@@ -302,6 +306,8 @@ var run = function run() {
|
|
|
302
306
|
return _ref6.apply(this, arguments);
|
|
303
307
|
};
|
|
304
308
|
}());
|
|
309
|
+
cli.help();
|
|
310
|
+
cli.version(pkgJson.version);
|
|
305
311
|
cli.parse();
|
|
306
312
|
}; // Load dotenv files into the process environment.
|
|
307
313
|
// This is essentially what `dotenv-cli` does, but it's now built into this CLI.
|
|
@@ -13,7 +13,7 @@ var FileSizeReporter = require('react-dev-utils/FileSizeReporter');
|
|
|
13
13
|
var printBuildError = require('react-dev-utils/printBuildError');
|
|
14
14
|
var assets = require('@commercetools-frontend/assets');
|
|
15
15
|
var paths = require('./paths-76b66e74.cjs.prod.js');
|
|
16
|
-
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-
|
|
16
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-43dae88a.cjs.prod.js');
|
|
17
17
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
18
18
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
19
19
|
require('fs');
|
|
@@ -42,10 +42,10 @@ require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
|
42
42
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
43
43
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
44
44
|
require('./vendors-to-transpile-367e0ba8.cjs.prod.js');
|
|
45
|
-
require('./create-postcss-config-
|
|
45
|
+
require('./create-postcss-config-0ff348b5.cjs.prod.js');
|
|
46
46
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
47
47
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
48
|
-
require('./package-
|
|
48
|
+
require('./package-a4f48690.cjs.prod.js');
|
|
49
49
|
require('./has-jsx-runtime-0b03b72e.cjs.prod.js');
|
|
50
50
|
|
|
51
51
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -13,7 +13,7 @@ var FileSizeReporter = require('react-dev-utils/FileSizeReporter');
|
|
|
13
13
|
var printBuildError = require('react-dev-utils/printBuildError');
|
|
14
14
|
var assets = require('@commercetools-frontend/assets');
|
|
15
15
|
var paths = require('./paths-16823f56.cjs.dev.js');
|
|
16
|
-
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-
|
|
16
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-adffe7d5.cjs.dev.js');
|
|
17
17
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
18
18
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
19
19
|
require('fs');
|
|
@@ -42,10 +42,10 @@ require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
|
42
42
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
43
43
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
44
44
|
require('./vendors-to-transpile-b51af5d3.cjs.dev.js');
|
|
45
|
-
require('./create-postcss-config-
|
|
45
|
+
require('./create-postcss-config-979d5d24.cjs.dev.js');
|
|
46
46
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
47
47
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
48
|
-
require('./package-
|
|
48
|
+
require('./package-ba086980.cjs.dev.js');
|
|
49
49
|
require('./has-jsx-runtime-3d4bb633.cjs.dev.js');
|
|
50
50
|
|
|
51
51
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -11,7 +11,7 @@ import FileSizeReporter from 'react-dev-utils/FileSizeReporter';
|
|
|
11
11
|
import printBuildError from 'react-dev-utils/printBuildError';
|
|
12
12
|
import { packageLocation } from '@commercetools-frontend/assets';
|
|
13
13
|
import { p as paths } from './paths-ed23d5a1.esm.js';
|
|
14
|
-
import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-
|
|
14
|
+
import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-8dc11eaa.esm.js';
|
|
15
15
|
import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
16
16
|
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
17
17
|
import 'fs';
|
|
@@ -40,10 +40,10 @@ import '@babel/runtime-corejs3/core-js-stable/instance/bind';
|
|
|
40
40
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
41
41
|
import '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
42
42
|
import './vendors-to-transpile-68e03526.esm.js';
|
|
43
|
-
import './create-postcss-config-
|
|
43
|
+
import './create-postcss-config-8b1b12ed.esm.js';
|
|
44
44
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
45
45
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
46
|
-
import './package-
|
|
46
|
+
import './package-e94eda5d.esm.js';
|
|
47
47
|
import './has-jsx-runtime-8314226e.esm.js';
|
|
48
48
|
|
|
49
49
|
var measureFileSizesBeforeBuild = FileSizeReporter.measureFileSizesBeforeBuild;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vendorsToTranspile = require('./vendors-to-transpile-b51af5d3.cjs.dev.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "21.
|
|
8
|
+
var version = "21.12.0";
|
|
9
9
|
|
|
10
10
|
// These exports are deprecated.
|
|
11
11
|
function createWebpackConfigForDevelopment(options) {
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vendorsToTranspile = require('./vendors-to-transpile-367e0ba8.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "21.
|
|
8
|
+
var version = "21.12.0";
|
|
9
9
|
|
|
10
10
|
// These exports are deprecated.
|
|
11
11
|
function createWebpackConfigForDevelopment(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { v as vendorsToTranspile } from './vendors-to-transpile-68e03526.esm.js';
|
|
2
2
|
|
|
3
3
|
// NOTE: This string will be replaced on build time with the package version.
|
|
4
|
-
var version = "21.
|
|
4
|
+
var version = "21.12.0";
|
|
5
5
|
|
|
6
6
|
// These exports are deprecated.
|
|
7
7
|
function createWebpackConfigForDevelopment(options) {
|
|
@@ -9,7 +9,7 @@ import omit from 'lodash/omit';
|
|
|
9
9
|
import prompts from 'prompts';
|
|
10
10
|
import chalk from 'chalk';
|
|
11
11
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
12
|
-
import { u as userAgent, C as CredentialsStorage } from './user-agent-
|
|
12
|
+
import { u as userAgent, C as CredentialsStorage } from './user-agent-c6673bab.esm.js';
|
|
13
13
|
import { GraphQLClient } from 'graphql-request';
|
|
14
14
|
import { GRAPHQL_TARGETS } from '@commercetools-frontend/constants';
|
|
15
15
|
import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
@@ -31,7 +31,7 @@ import 'fs';
|
|
|
31
31
|
import 'path';
|
|
32
32
|
import 'os';
|
|
33
33
|
import '@commercetools/http-user-agent';
|
|
34
|
-
import './package-
|
|
34
|
+
import './package-e94eda5d.esm.js';
|
|
35
35
|
|
|
36
36
|
var FetchCustomApplicationFromCli = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchCustomApplicationFromCli" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "entryPointUriPath" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "organizationExtensionForCustomApplication" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "entryPointUriPath" }, value: { kind: "Variable", name: { kind: "Name", value: "entryPointUriPath" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "organizationId" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "application" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "entryPointUriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "description" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "url" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "icon" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "oAuthScopes" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "mainMenuLink" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "defaultLabel" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "submenuLinks" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "uriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "defaultLabel" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }] } }], loc: { start: 0, end: 647, source: { body: "query FetchCustomApplicationFromCli($entryPointUriPath: String!) {\n organizationExtensionForCustomApplication(\n entryPointUriPath: $entryPointUriPath\n ) {\n organizationId\n application {\n id\n entryPointUriPath\n name\n description\n url\n icon\n permissions {\n name\n oAuthScopes\n }\n mainMenuLink {\n defaultLabel\n permissions\n labelAllLocales {\n locale\n value\n }\n }\n submenuLinks {\n uriPath\n defaultLabel\n permissions\n labelAllLocales {\n locale\n value\n }\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
37
37
|
var UpdateCustomApplicationFromCli = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "UpdateCustomApplicationFromCli" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "organizationId" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CustomApplicationDraftDataInput" } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "applicationId" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updateCustomApplication" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "organizationId" }, value: { kind: "Variable", name: { kind: "Name", value: "organizationId" } } }, { kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }, { kind: "Argument", name: { kind: "Name", value: "applicationId" }, value: { kind: "Variable", name: { kind: "Name", value: "applicationId" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 268, source: { body: "mutation UpdateCustomApplicationFromCli(\n $organizationId: String!\n $data: CustomApplicationDraftDataInput!\n $applicationId: ID!\n) {\n updateCustomApplication(\n organizationId: $organizationId\n data: $data\n applicationId: $applicationId\n ) {\n id\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
@@ -11,7 +11,7 @@ var omit = require('lodash/omit');
|
|
|
11
11
|
var prompts = require('prompts');
|
|
12
12
|
var chalk = require('chalk');
|
|
13
13
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
14
|
-
var userAgent = require('./user-agent-
|
|
14
|
+
var userAgent = require('./user-agent-ccef64b1.cjs.dev.js');
|
|
15
15
|
var graphqlRequest = require('graphql-request');
|
|
16
16
|
var constants = require('@commercetools-frontend/constants');
|
|
17
17
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -33,7 +33,7 @@ require('fs');
|
|
|
33
33
|
require('path');
|
|
34
34
|
require('os');
|
|
35
35
|
require('@commercetools/http-user-agent');
|
|
36
|
-
require('./package-
|
|
36
|
+
require('./package-ba086980.cjs.dev.js');
|
|
37
37
|
|
|
38
38
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
39
39
|
|
|
@@ -11,7 +11,7 @@ var omit = require('lodash/omit');
|
|
|
11
11
|
var prompts = require('prompts');
|
|
12
12
|
var chalk = require('chalk');
|
|
13
13
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
14
|
-
var userAgent = require('./user-agent-
|
|
14
|
+
var userAgent = require('./user-agent-0b681c77.cjs.prod.js');
|
|
15
15
|
var graphqlRequest = require('graphql-request');
|
|
16
16
|
var constants = require('@commercetools-frontend/constants');
|
|
17
17
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -33,7 +33,7 @@ require('fs');
|
|
|
33
33
|
require('path');
|
|
34
34
|
require('os');
|
|
35
35
|
require('@commercetools/http-user-agent');
|
|
36
|
-
require('./package-
|
|
36
|
+
require('./package-a4f48690.cjs.prod.js');
|
|
37
37
|
|
|
38
38
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
39
39
|
|
|
@@ -4,7 +4,7 @@ var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArr
|
|
|
4
4
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
5
5
|
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
6
6
|
var path = require('path');
|
|
7
|
-
var _package = require('./package-
|
|
7
|
+
var _package = require('./package-a4f48690.cjs.prod.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
10
10
|
|
package/dist/{create-postcss-config-04243dea.esm.js → create-postcss-config-8b1b12ed.esm.js}
RENAMED
|
@@ -2,7 +2,7 @@ import _toConsumableArray from '@babel/runtime-corejs3/helpers/esm/toConsumableA
|
|
|
2
2
|
import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
|
|
3
3
|
import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
4
4
|
import path from 'path';
|
|
5
|
-
import { p as pkgJson } from './package-
|
|
5
|
+
import { p as pkgJson } from './package-e94eda5d.esm.js';
|
|
6
6
|
|
|
7
7
|
// This function aims to return the same result as `require.resolve`.
|
|
8
8
|
// However, resolving a path to a `.css` file does not return the real
|
package/dist/{create-postcss-config-760e2dc5.cjs.dev.js → create-postcss-config-979d5d24.cjs.dev.js}
RENAMED
|
@@ -4,7 +4,7 @@ var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArr
|
|
|
4
4
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
5
5
|
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
6
6
|
var path = require('path');
|
|
7
|
-
var _package = require('./package-
|
|
7
|
+
var _package = require('./package-ba086980.cjs.dev.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
10
10
|
|
|
@@ -26,7 +26,7 @@ var applicationConfig = require('@commercetools-frontend/application-config');
|
|
|
26
26
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
27
27
|
var paths = require('./paths-76b66e74.cjs.prod.js');
|
|
28
28
|
var vendorsToTranspile = require('./vendors-to-transpile-367e0ba8.cjs.prod.js');
|
|
29
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
29
|
+
var createPostcssConfig = require('./create-postcss-config-0ff348b5.cjs.prod.js');
|
|
30
30
|
var hasJsxRuntime = require('./has-jsx-runtime-0b03b72e.cjs.prod.js');
|
|
31
31
|
|
|
32
32
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -89,7 +89,7 @@ function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["def
|
|
|
89
89
|
|
|
90
90
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context6, _context7; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context6 = ownKeys(Object(source), !0)).call(_context6, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context7 = ownKeys(Object(source))).call(_context7, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
|
|
91
91
|
|
|
92
|
-
var momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "
|
|
92
|
+
var momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "zh-cn"];
|
|
93
93
|
var defaultToggleFlags = {
|
|
94
94
|
generateIndexHtml: true,
|
|
95
95
|
disableCoreJs: false
|
|
@@ -26,7 +26,7 @@ var applicationConfig = require('@commercetools-frontend/application-config');
|
|
|
26
26
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
27
27
|
var paths = require('./paths-16823f56.cjs.dev.js');
|
|
28
28
|
var vendorsToTranspile = require('./vendors-to-transpile-b51af5d3.cjs.dev.js');
|
|
29
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
29
|
+
var createPostcssConfig = require('./create-postcss-config-979d5d24.cjs.dev.js');
|
|
30
30
|
var hasJsxRuntime = require('./has-jsx-runtime-3d4bb633.cjs.dev.js');
|
|
31
31
|
|
|
32
32
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -89,7 +89,7 @@ function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["def
|
|
|
89
89
|
|
|
90
90
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context6, _context7; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context6 = ownKeys(Object(source), !0)).call(_context6, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context7 = ownKeys(Object(source))).call(_context7, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
|
|
91
91
|
|
|
92
|
-
var momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "
|
|
92
|
+
var momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "zh-cn"];
|
|
93
93
|
var defaultToggleFlags = {
|
|
94
94
|
generateIndexHtml: true,
|
|
95
95
|
disableCoreJs: false
|
|
@@ -24,7 +24,7 @@ import { processConfig } from '@commercetools-frontend/application-config';
|
|
|
24
24
|
import { replaceHtmlPlaceholders } from '@commercetools-frontend/mc-html-template';
|
|
25
25
|
import { p as paths } from './paths-ed23d5a1.esm.js';
|
|
26
26
|
import { v as vendorsToTranspile } from './vendors-to-transpile-68e03526.esm.js';
|
|
27
|
-
import { c as createPostcssConfig } from './create-postcss-config-
|
|
27
|
+
import { c as createPostcssConfig } from './create-postcss-config-8b1b12ed.esm.js';
|
|
28
28
|
import { h as hasJsxRuntime } from './has-jsx-runtime-8314226e.esm.js';
|
|
29
29
|
|
|
30
30
|
var LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
|
|
@@ -65,7 +65,7 @@ function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (
|
|
|
65
65
|
|
|
66
66
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context6, _context7; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context6 = ownKeys(Object(source), !0)).call(_context6, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context7 = ownKeys(Object(source))).call(_context7, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
67
67
|
|
|
68
|
-
var momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "
|
|
68
|
+
var momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "zh-cn"];
|
|
69
69
|
var defaultToggleFlags = {
|
|
70
70
|
generateIndexHtml: true,
|
|
71
71
|
disableCoreJs: false
|
|
@@ -30,7 +30,7 @@ var fs = require('fs');
|
|
|
30
30
|
var path = require('path');
|
|
31
31
|
var paths = require('./paths-76b66e74.cjs.prod.js');
|
|
32
32
|
var vendorsToTranspile = require('./vendors-to-transpile-367e0ba8.cjs.prod.js');
|
|
33
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
33
|
+
var createPostcssConfig = require('./create-postcss-config-0ff348b5.cjs.prod.js');
|
|
34
34
|
var hasJsxRuntime = require('./has-jsx-runtime-0b03b72e.cjs.prod.js');
|
|
35
35
|
|
|
36
36
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -123,7 +123,7 @@ function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["def
|
|
|
123
123
|
|
|
124
124
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context7, _context8; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context7 = ownKeys(Object(source), !0)).call(_context7, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context8 = ownKeys(Object(source))).call(_context8, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
|
|
125
125
|
|
|
126
|
-
var momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "
|
|
126
|
+
var momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "zh-cn"];
|
|
127
127
|
var defaultToggleFlags = {
|
|
128
128
|
// Allow to disable CSS extraction in case it's not necessary (e.g. for Storybook)
|
|
129
129
|
enableExtractCss: true,
|
|
@@ -28,7 +28,7 @@ import fs from 'fs';
|
|
|
28
28
|
import path from 'path';
|
|
29
29
|
import { p as paths } from './paths-ed23d5a1.esm.js';
|
|
30
30
|
import { v as vendorsToTranspile } from './vendors-to-transpile-68e03526.esm.js';
|
|
31
|
-
import { c as createPostcssConfig } from './create-postcss-config-
|
|
31
|
+
import { c as createPostcssConfig } from './create-postcss-config-8b1b12ed.esm.js';
|
|
32
32
|
import { h as hasJsxRuntime } from './has-jsx-runtime-8314226e.esm.js';
|
|
33
33
|
|
|
34
34
|
var FinalStatsWriterPlugin = /*#__PURE__*/function () {
|
|
@@ -94,7 +94,7 @@ function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (
|
|
|
94
94
|
|
|
95
95
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context7, _context8; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context7 = ownKeys(Object(source), !0)).call(_context7, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context8 = ownKeys(Object(source))).call(_context8, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
96
96
|
|
|
97
|
-
var momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "
|
|
97
|
+
var momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "zh-cn"];
|
|
98
98
|
var defaultToggleFlags = {
|
|
99
99
|
// Allow to disable CSS extraction in case it's not necessary (e.g. for Storybook)
|
|
100
100
|
enableExtractCss: true,
|
|
@@ -30,7 +30,7 @@ var fs = require('fs');
|
|
|
30
30
|
var path = require('path');
|
|
31
31
|
var paths = require('./paths-16823f56.cjs.dev.js');
|
|
32
32
|
var vendorsToTranspile = require('./vendors-to-transpile-b51af5d3.cjs.dev.js');
|
|
33
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
33
|
+
var createPostcssConfig = require('./create-postcss-config-979d5d24.cjs.dev.js');
|
|
34
34
|
var hasJsxRuntime = require('./has-jsx-runtime-3d4bb633.cjs.dev.js');
|
|
35
35
|
|
|
36
36
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -123,7 +123,7 @@ function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["def
|
|
|
123
123
|
|
|
124
124
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context7, _context8; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context7 = ownKeys(Object(source), !0)).call(_context7, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context8 = ownKeys(Object(source))).call(_context8, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
|
|
125
125
|
|
|
126
|
-
var momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "
|
|
126
|
+
var momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "zh-cn"];
|
|
127
127
|
var defaultToggleFlags = {
|
|
128
128
|
// Allow to disable CSS extraction in case it's not necessary (e.g. for Storybook)
|
|
129
129
|
enableExtractCss: true,
|
|
@@ -3,7 +3,7 @@ import _regeneratorRuntime from '@babel/runtime-corejs3/regenerator';
|
|
|
3
3
|
import prompts from 'prompts';
|
|
4
4
|
import chalk from 'chalk';
|
|
5
5
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
6
|
-
import { u as userAgent, C as CredentialsStorage } from './user-agent-
|
|
6
|
+
import { u as userAgent, C as CredentialsStorage } from './user-agent-c6673bab.esm.js';
|
|
7
7
|
import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
8
8
|
import fetch from 'node-fetch';
|
|
9
9
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
@@ -13,7 +13,7 @@ import 'fs';
|
|
|
13
13
|
import 'path';
|
|
14
14
|
import 'os';
|
|
15
15
|
import '@commercetools/http-user-agent';
|
|
16
|
-
import './package-
|
|
16
|
+
import './package-e94eda5d.esm.js';
|
|
17
17
|
|
|
18
18
|
var getAuthToken = /*#__PURE__*/function () {
|
|
19
19
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(mcApiUrl, payload) {
|
|
@@ -5,7 +5,7 @@ var _regeneratorRuntime = require('@babel/runtime-corejs3/regenerator');
|
|
|
5
5
|
var prompts = require('prompts');
|
|
6
6
|
var chalk = require('chalk');
|
|
7
7
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
8
|
-
var userAgent = require('./user-agent-
|
|
8
|
+
var userAgent = require('./user-agent-0b681c77.cjs.prod.js');
|
|
9
9
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
10
10
|
var fetch = require('node-fetch');
|
|
11
11
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
@@ -15,7 +15,7 @@ require('fs');
|
|
|
15
15
|
require('path');
|
|
16
16
|
require('os');
|
|
17
17
|
require('@commercetools/http-user-agent');
|
|
18
|
-
require('./package-
|
|
18
|
+
require('./package-a4f48690.cjs.prod.js');
|
|
19
19
|
|
|
20
20
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
21
21
|
|
|
@@ -5,7 +5,7 @@ var _regeneratorRuntime = require('@babel/runtime-corejs3/regenerator');
|
|
|
5
5
|
var prompts = require('prompts');
|
|
6
6
|
var chalk = require('chalk');
|
|
7
7
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
8
|
-
var userAgent = require('./user-agent-
|
|
8
|
+
var userAgent = require('./user-agent-ccef64b1.cjs.dev.js');
|
|
9
9
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
10
10
|
var fetch = require('node-fetch');
|
|
11
11
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
@@ -15,7 +15,7 @@ require('fs');
|
|
|
15
15
|
require('path');
|
|
16
16
|
require('os');
|
|
17
17
|
require('@commercetools/http-user-agent');
|
|
18
|
-
require('./package-
|
|
18
|
+
require('./package-ba086980.cjs.dev.js');
|
|
19
19
|
|
|
20
20
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
21
21
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var pkgJson = {
|
|
4
4
|
name: "@commercetools-frontend/mc-scripts",
|
|
5
|
-
version: "21.
|
|
5
|
+
version: "21.12.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: {
|
|
@@ -60,12 +60,12 @@ var pkgJson = {
|
|
|
60
60
|
"@babel/core": "^7.18.6",
|
|
61
61
|
"@babel/runtime": "^7.18.6",
|
|
62
62
|
"@babel/runtime-corejs3": "^7.18.6",
|
|
63
|
-
"@commercetools-frontend/application-config": "21.
|
|
64
|
-
"@commercetools-frontend/assets": "21.
|
|
65
|
-
"@commercetools-frontend/babel-preset-mc-app": "21.
|
|
66
|
-
"@commercetools-frontend/constants": "21.
|
|
67
|
-
"@commercetools-frontend/mc-dev-authentication": "21.
|
|
68
|
-
"@commercetools-frontend/mc-html-template": "21.
|
|
63
|
+
"@commercetools-frontend/application-config": "21.12.0",
|
|
64
|
+
"@commercetools-frontend/assets": "21.12.0",
|
|
65
|
+
"@commercetools-frontend/babel-preset-mc-app": "21.12.0",
|
|
66
|
+
"@commercetools-frontend/constants": "21.12.0",
|
|
67
|
+
"@commercetools-frontend/mc-dev-authentication": "21.12.0",
|
|
68
|
+
"@commercetools-frontend/mc-html-template": "21.12.0",
|
|
69
69
|
"@commercetools/http-user-agent": "2.1.2",
|
|
70
70
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
|
|
71
71
|
"@rollup/plugin-graphql": "1.1.0",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var pkgJson = {
|
|
4
4
|
name: "@commercetools-frontend/mc-scripts",
|
|
5
|
-
version: "21.
|
|
5
|
+
version: "21.12.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: {
|
|
@@ -60,12 +60,12 @@ var pkgJson = {
|
|
|
60
60
|
"@babel/core": "^7.18.6",
|
|
61
61
|
"@babel/runtime": "^7.18.6",
|
|
62
62
|
"@babel/runtime-corejs3": "^7.18.6",
|
|
63
|
-
"@commercetools-frontend/application-config": "21.
|
|
64
|
-
"@commercetools-frontend/assets": "21.
|
|
65
|
-
"@commercetools-frontend/babel-preset-mc-app": "21.
|
|
66
|
-
"@commercetools-frontend/constants": "21.
|
|
67
|
-
"@commercetools-frontend/mc-dev-authentication": "21.
|
|
68
|
-
"@commercetools-frontend/mc-html-template": "21.
|
|
63
|
+
"@commercetools-frontend/application-config": "21.12.0",
|
|
64
|
+
"@commercetools-frontend/assets": "21.12.0",
|
|
65
|
+
"@commercetools-frontend/babel-preset-mc-app": "21.12.0",
|
|
66
|
+
"@commercetools-frontend/constants": "21.12.0",
|
|
67
|
+
"@commercetools-frontend/mc-dev-authentication": "21.12.0",
|
|
68
|
+
"@commercetools-frontend/mc-html-template": "21.12.0",
|
|
69
69
|
"@commercetools/http-user-agent": "2.1.2",
|
|
70
70
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
|
|
71
71
|
"@rollup/plugin-graphql": "1.1.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var pkgJson = {
|
|
2
2
|
name: "@commercetools-frontend/mc-scripts",
|
|
3
|
-
version: "21.
|
|
3
|
+
version: "21.12.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: {
|
|
@@ -58,12 +58,12 @@ var pkgJson = {
|
|
|
58
58
|
"@babel/core": "^7.18.6",
|
|
59
59
|
"@babel/runtime": "^7.18.6",
|
|
60
60
|
"@babel/runtime-corejs3": "^7.18.6",
|
|
61
|
-
"@commercetools-frontend/application-config": "21.
|
|
62
|
-
"@commercetools-frontend/assets": "21.
|
|
63
|
-
"@commercetools-frontend/babel-preset-mc-app": "21.
|
|
64
|
-
"@commercetools-frontend/constants": "21.
|
|
65
|
-
"@commercetools-frontend/mc-dev-authentication": "21.
|
|
66
|
-
"@commercetools-frontend/mc-html-template": "21.
|
|
61
|
+
"@commercetools-frontend/application-config": "21.12.0",
|
|
62
|
+
"@commercetools-frontend/assets": "21.12.0",
|
|
63
|
+
"@commercetools-frontend/babel-preset-mc-app": "21.12.0",
|
|
64
|
+
"@commercetools-frontend/constants": "21.12.0",
|
|
65
|
+
"@commercetools-frontend/mc-dev-authentication": "21.12.0",
|
|
66
|
+
"@commercetools-frontend/mc-html-template": "21.12.0",
|
|
67
67
|
"@commercetools/http-user-agent": "2.1.2",
|
|
68
68
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
|
|
69
69
|
"@rollup/plugin-graphql": "1.1.0",
|
|
@@ -14,7 +14,7 @@ import { p as paths } from './paths-ed23d5a1.esm.js';
|
|
|
14
14
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
15
15
|
import { processHeaders } from '@commercetools-frontend/mc-html-template';
|
|
16
16
|
import { createMcDevAuthenticationMiddleware } from '@commercetools-frontend/mc-dev-authentication';
|
|
17
|
-
import { c as createWebpackConfigForDevelopment } from './create-webpack-config-for-development-
|
|
17
|
+
import { c as createWebpackConfigForDevelopment } from './create-webpack-config-for-development-d5822119.esm.js';
|
|
18
18
|
import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
19
19
|
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
20
20
|
import 'path';
|
|
@@ -37,10 +37,10 @@ import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
|
37
37
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
38
38
|
import '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
39
39
|
import './vendors-to-transpile-68e03526.esm.js';
|
|
40
|
-
import './create-postcss-config-
|
|
40
|
+
import './create-postcss-config-8b1b12ed.esm.js';
|
|
41
41
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
42
42
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
43
|
-
import './package-
|
|
43
|
+
import './package-e94eda5d.esm.js';
|
|
44
44
|
import './has-jsx-runtime-8314226e.esm.js';
|
|
45
45
|
|
|
46
46
|
var host = process.env.HOST || '0.0.0.0'; // We support configuring the sockjs pathname during development.
|
|
@@ -16,7 +16,7 @@ var paths = require('./paths-16823f56.cjs.dev.js');
|
|
|
16
16
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
17
17
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
18
18
|
var mcDevAuthentication = require('@commercetools-frontend/mc-dev-authentication');
|
|
19
|
-
var createWebpackConfigForDevelopment = require('./create-webpack-config-for-development-
|
|
19
|
+
var createWebpackConfigForDevelopment = require('./create-webpack-config-for-development-384c7928.cjs.dev.js');
|
|
20
20
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
21
21
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
22
22
|
require('path');
|
|
@@ -39,10 +39,10 @@ require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
|
39
39
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
40
40
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
41
41
|
require('./vendors-to-transpile-b51af5d3.cjs.dev.js');
|
|
42
|
-
require('./create-postcss-config-
|
|
42
|
+
require('./create-postcss-config-979d5d24.cjs.dev.js');
|
|
43
43
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
44
44
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
45
|
-
require('./package-
|
|
45
|
+
require('./package-ba086980.cjs.dev.js');
|
|
46
46
|
require('./has-jsx-runtime-3d4bb633.cjs.dev.js');
|
|
47
47
|
|
|
48
48
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -16,7 +16,7 @@ var paths = require('./paths-76b66e74.cjs.prod.js');
|
|
|
16
16
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
17
17
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
18
18
|
var mcDevAuthentication = require('@commercetools-frontend/mc-dev-authentication');
|
|
19
|
-
var createWebpackConfigForDevelopment = require('./create-webpack-config-for-development-
|
|
19
|
+
var createWebpackConfigForDevelopment = require('./create-webpack-config-for-development-210e9389.cjs.prod.js');
|
|
20
20
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
21
21
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
22
22
|
require('path');
|
|
@@ -39,10 +39,10 @@ require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
|
39
39
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
40
40
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
41
41
|
require('./vendors-to-transpile-367e0ba8.cjs.prod.js');
|
|
42
|
-
require('./create-postcss-config-
|
|
42
|
+
require('./create-postcss-config-0ff348b5.cjs.prod.js');
|
|
43
43
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
44
44
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
45
|
-
require('./package-
|
|
45
|
+
require('./package-a4f48690.cjs.prod.js');
|
|
46
46
|
require('./has-jsx-runtime-0b03b72e.cjs.prod.js');
|
|
47
47
|
|
|
48
48
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -8,7 +8,7 @@ var fs = require('fs');
|
|
|
8
8
|
var path = require('path');
|
|
9
9
|
var os = require('os');
|
|
10
10
|
var createHttpUserAgent = require('@commercetools/http-user-agent');
|
|
11
|
-
var _package = require('./package-
|
|
11
|
+
var _package = require('./package-a4f48690.cjs.prod.js');
|
|
12
12
|
|
|
13
13
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
14
14
|
|
|
@@ -6,7 +6,7 @@ import fs from 'fs';
|
|
|
6
6
|
import path from 'path';
|
|
7
7
|
import os from 'os';
|
|
8
8
|
import createHttpUserAgent from '@commercetools/http-user-agent';
|
|
9
|
-
import { p as pkgJson } from './package-
|
|
9
|
+
import { p as pkgJson } from './package-e94eda5d.esm.js';
|
|
10
10
|
|
|
11
11
|
var homedir = os.homedir();
|
|
12
12
|
var credentialsFolderPath = path.join(homedir, ".commercetools");
|
|
@@ -8,7 +8,7 @@ var fs = require('fs');
|
|
|
8
8
|
var path = require('path');
|
|
9
9
|
var os = require('os');
|
|
10
10
|
var createHttpUserAgent = require('@commercetools/http-user-agent');
|
|
11
|
-
var _package = require('./package-
|
|
11
|
+
var _package = require('./package-ba086980.cjs.dev.js');
|
|
12
12
|
|
|
13
13
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
14
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/mc-scripts",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.12.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": {
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"@babel/core": "^7.18.6",
|
|
47
47
|
"@babel/runtime": "^7.18.6",
|
|
48
48
|
"@babel/runtime-corejs3": "^7.18.6",
|
|
49
|
-
"@commercetools-frontend/application-config": "21.
|
|
50
|
-
"@commercetools-frontend/assets": "21.
|
|
51
|
-
"@commercetools-frontend/babel-preset-mc-app": "21.
|
|
52
|
-
"@commercetools-frontend/constants": "21.
|
|
53
|
-
"@commercetools-frontend/mc-dev-authentication": "21.
|
|
54
|
-
"@commercetools-frontend/mc-html-template": "21.
|
|
49
|
+
"@commercetools-frontend/application-config": "21.12.0",
|
|
50
|
+
"@commercetools-frontend/assets": "21.12.0",
|
|
51
|
+
"@commercetools-frontend/babel-preset-mc-app": "21.12.0",
|
|
52
|
+
"@commercetools-frontend/constants": "21.12.0",
|
|
53
|
+
"@commercetools-frontend/mc-dev-authentication": "21.12.0",
|
|
54
|
+
"@commercetools-frontend/mc-html-template": "21.12.0",
|
|
55
55
|
"@commercetools/http-user-agent": "2.1.2",
|
|
56
56
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
|
|
57
57
|
"@rollup/plugin-graphql": "1.1.0",
|
|
@@ -2,12 +2,12 @@
|
|
|
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-979d5d24.cjs.dev.js');
|
|
6
6
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
7
7
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
8
8
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
9
9
|
require('path');
|
|
10
|
-
require('../../dist/package-
|
|
10
|
+
require('../../dist/package-ba086980.cjs.dev.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -2,12 +2,12 @@
|
|
|
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-0ff348b5.cjs.prod.js');
|
|
6
6
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
7
7
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
8
8
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
9
9
|
require('path');
|
|
10
|
-
require('../../dist/package-
|
|
10
|
+
require('../../dist/package-a4f48690.cjs.prod.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { c as createPostcssConfig } from '../../dist/create-postcss-config-
|
|
1
|
+
export { c as createPostcssConfig } from '../../dist/create-postcss-config-8b1b12ed.esm.js';
|
|
2
2
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
3
3
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
4
4
|
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
5
5
|
import 'path';
|
|
6
|
-
import '../../dist/package-
|
|
6
|
+
import '../../dist/package-e94eda5d.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-384c7928.cjs.dev.js');
|
|
6
|
+
var createWebpackConfigForProduction = require('../../dist/create-webpack-config-for-production-adffe7d5.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');
|
|
@@ -32,10 +32,10 @@ require('../../dist/paths-16823f56.cjs.dev.js');
|
|
|
32
32
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
33
33
|
require('fs');
|
|
34
34
|
require('../../dist/vendors-to-transpile-b51af5d3.cjs.dev.js');
|
|
35
|
-
require('../../dist/create-postcss-config-
|
|
35
|
+
require('../../dist/create-postcss-config-979d5d24.cjs.dev.js');
|
|
36
36
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
37
37
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
38
|
-
require('../../dist/package-
|
|
38
|
+
require('../../dist/package-ba086980.cjs.dev.js');
|
|
39
39
|
require('../../dist/has-jsx-runtime-3d4bb633.cjs.dev.js');
|
|
40
40
|
require('@babel/runtime-corejs3/core-js-stable/number/is-integer');
|
|
41
41
|
require('webpack-bundle-analyzer');
|
|
@@ -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-210e9389.cjs.prod.js');
|
|
6
|
+
var createWebpackConfigForProduction = require('../../dist/create-webpack-config-for-production-43dae88a.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');
|
|
@@ -32,10 +32,10 @@ require('../../dist/paths-76b66e74.cjs.prod.js');
|
|
|
32
32
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
33
33
|
require('fs');
|
|
34
34
|
require('../../dist/vendors-to-transpile-367e0ba8.cjs.prod.js');
|
|
35
|
-
require('../../dist/create-postcss-config-
|
|
35
|
+
require('../../dist/create-postcss-config-0ff348b5.cjs.prod.js');
|
|
36
36
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
37
37
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
38
|
-
require('../../dist/package-
|
|
38
|
+
require('../../dist/package-a4f48690.cjs.prod.js');
|
|
39
39
|
require('../../dist/has-jsx-runtime-0b03b72e.cjs.prod.js');
|
|
40
40
|
require('@babel/runtime-corejs3/core-js-stable/number/is-integer');
|
|
41
41
|
require('webpack-bundle-analyzer');
|
|
@@ -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-d5822119.esm.js';
|
|
2
|
+
export { c as createWebpackConfigForProduction } from '../../dist/create-webpack-config-for-production-8dc11eaa.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';
|
|
@@ -28,10 +28,10 @@ import '../../dist/paths-ed23d5a1.esm.js';
|
|
|
28
28
|
import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
29
29
|
import 'fs';
|
|
30
30
|
import '../../dist/vendors-to-transpile-68e03526.esm.js';
|
|
31
|
-
import '../../dist/create-postcss-config-
|
|
31
|
+
import '../../dist/create-postcss-config-8b1b12ed.esm.js';
|
|
32
32
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
33
33
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
34
|
-
import '../../dist/package-
|
|
34
|
+
import '../../dist/package-e94eda5d.esm.js';
|
|
35
35
|
import '../../dist/has-jsx-runtime-8314226e.esm.js';
|
|
36
36
|
import '@babel/runtime-corejs3/core-js-stable/number/is-integer';
|
|
37
37
|
import 'webpack-bundle-analyzer';
|