@commercetools-frontend/mc-scripts 21.8.1 → 21.9.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 +7 -8
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +7 -8
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +7 -8
- package/dist/{build-acb29f36.cjs.prod.js → build-5357ad26.cjs.prod.js} +3 -3
- package/dist/{build-3521a4f3.cjs.dev.js → build-9b6d7eee.cjs.dev.js} +3 -3
- package/dist/{build-cac1a859.esm.js → build-c483e87f.esm.js} +3 -3
- package/dist/{build-vite-6c987a60.cjs.dev.js → build-vite-3b82522e.cjs.dev.js} +44 -2
- package/dist/{build-vite-a9602b19.esm.js → build-vite-93abdc95.esm.js} +44 -2
- package/dist/{build-vite-76d44332.cjs.prod.js → build-vite-b7cd993a.cjs.prod.js} +44 -2
- 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-a6565737.esm.js → config-sync-6b31d972.esm.js} +2 -2
- package/dist/{config-sync-9540c47f.cjs.dev.js → config-sync-a478bc0f.cjs.dev.js} +2 -2
- package/dist/{config-sync-7bd51e9b.cjs.prod.js → config-sync-f07734e4.cjs.prod.js} +2 -2
- package/dist/{create-postcss-config-9e14f015.esm.js → create-postcss-config-04243dea.esm.js} +1 -1
- package/dist/{create-postcss-config-07259760.cjs.dev.js → create-postcss-config-760e2dc5.cjs.dev.js} +1 -1
- package/dist/{create-postcss-config-c1122bfa.cjs.prod.js → create-postcss-config-ddc3abee.cjs.prod.js} +1 -1
- package/dist/{create-webpack-config-for-development-b70e9af1.cjs.prod.js → create-webpack-config-for-development-76fdab59.cjs.prod.js} +5 -4
- package/dist/{create-webpack-config-for-development-eb1432fe.esm.js → create-webpack-config-for-development-d93ae4b2.esm.js} +5 -4
- package/dist/{create-webpack-config-for-development-20fbe5a5.cjs.dev.js → create-webpack-config-for-development-dfd1c174.cjs.dev.js} +5 -4
- package/dist/{create-webpack-config-for-production-331c8877.esm.js → create-webpack-config-for-production-9290479a.esm.js} +5 -4
- package/dist/{create-webpack-config-for-production-4e58ee43.cjs.dev.js → create-webpack-config-for-production-bc8c1f37.cjs.dev.js} +5 -4
- package/dist/{create-webpack-config-for-production-e894ffc1.cjs.prod.js → create-webpack-config-for-production-d652ad1a.cjs.prod.js} +5 -4
- package/dist/declarations/src/config/moment-locales.d.ts +2 -0
- package/dist/declarations/src/generated/settings.d.ts +110 -8
- package/dist/declarations/src/vite-plugins/vite-plugin-custom-application.d.ts +4 -0
- package/dist/declarations/src/vite-plugins/vite-plugin-dynamic-base-assets-globals.d.ts +3 -0
- package/dist/declarations/src/vite-plugins/vite-plugin-svgr.d.ts +3 -0
- package/dist/{login-435f4c2b.esm.js → login-7b7ae27e.esm.js} +2 -2
- package/dist/{login-d1cbdeca.cjs.dev.js → login-b13f26e7.cjs.dev.js} +2 -2
- package/dist/{login-e943a53a.cjs.prod.js → login-c11fb977.cjs.prod.js} +2 -2
- package/dist/{package-8a5733b4.cjs.dev.js → package-4b4fcf02.cjs.prod.js} +25 -21
- package/dist/{package-fab41a01.cjs.prod.js → package-4c3e3fb7.cjs.dev.js} +25 -21
- package/dist/{package-8b6676c0.esm.js → package-8e6305bd.esm.js} +25 -21
- package/dist/{start-086879f3.cjs.prod.js → start-1b7dad90.cjs.prod.js} +3 -3
- package/dist/{start-dfef24e1.cjs.dev.js → start-45ca01f2.cjs.dev.js} +3 -3
- package/dist/{start-52af291f.esm.js → start-600d06a3.esm.js} +3 -3
- package/dist/{start-vite-737bacca.cjs.dev.js → start-vite-22de08dc.cjs.dev.js} +7 -5
- package/dist/{start-vite-ec5d40b5.esm.js → start-vite-dc046cba.esm.js} +7 -5
- package/dist/{start-vite-b0f58ae4.cjs.prod.js → start-vite-fe13330b.cjs.prod.js} +7 -5
- package/dist/{user-agent-94518666.cjs.prod.js → user-agent-5f8ec93d.cjs.prod.js} +1 -1
- package/dist/{user-agent-7d6d1d4a.esm.js → user-agent-ca628320.esm.js} +1 -1
- package/dist/{user-agent-866e4833.cjs.dev.js → user-agent-ee57c98a.cjs.dev.js} +1 -1
- package/dist/vite-plugin-svgr-4205f2b5.cjs.dev.js +110 -0
- package/dist/vite-plugin-svgr-eb8524fa.esm.js +85 -0
- package/dist/vite-plugin-svgr-f3bbedbe.cjs.prod.js +110 -0
- package/package.json +25 -21
- 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
package/dist/{create-postcss-config-07259760.cjs.dev.js → create-postcss-config-760e2dc5.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-4c3e3fb7.cjs.dev.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
10
10
|
|
|
@@ -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-4b4fcf02.cjs.prod.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-ddc3abee.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 }; }
|
|
@@ -88,6 +88,8 @@ var LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
|
|
|
88
88
|
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
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
|
+
|
|
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", "ja", "zh-cn"];
|
|
91
93
|
var defaultToggleFlags = {
|
|
92
94
|
generateIndexHtml: true,
|
|
93
95
|
disableCoreJs: false
|
|
@@ -223,10 +225,9 @@ function createWebpackConfigForDevelopment() {
|
|
|
223
225
|
inject: false,
|
|
224
226
|
filename: paths.paths.appIndexHtml,
|
|
225
227
|
template: require.resolve('@commercetools-frontend/mc-html-template/webpack')
|
|
226
|
-
}), mergedOptions.toggleFlags.generateIndexHtml && new LocalHtmlWebpackPlugin(), //
|
|
227
|
-
// (`en` is built into Moment and can't be removed).
|
|
228
|
+
}), mergedOptions.toggleFlags.generateIndexHtml && new LocalHtmlWebpackPlugin(), // Only keep locales that are available in the Merchant Center.
|
|
228
229
|
new MomentLocalesPlugin__default["default"]({
|
|
229
|
-
localesToKeep:
|
|
230
|
+
localesToKeep: momentLocalesToKeep
|
|
230
231
|
}), // This is necessary to emit hot updates (CSS and Fast Refresh):
|
|
231
232
|
new webpack__default["default"].HotModuleReplacementPlugin(), // Experimental hot reloading for React .
|
|
232
233
|
// https://github.com/facebook/react/tree/master/packages/react-refresh
|
|
@@ -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-04243dea.esm.js';
|
|
28
28
|
import { h as hasJsxRuntime } from './has-jsx-runtime-8314226e.esm.js';
|
|
29
29
|
|
|
30
30
|
var LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
|
|
@@ -64,6 +64,8 @@ var LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
|
|
|
64
64
|
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
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
|
+
|
|
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", "ja", "zh-cn"];
|
|
67
69
|
var defaultToggleFlags = {
|
|
68
70
|
generateIndexHtml: true,
|
|
69
71
|
disableCoreJs: false
|
|
@@ -199,10 +201,9 @@ function createWebpackConfigForDevelopment() {
|
|
|
199
201
|
inject: false,
|
|
200
202
|
filename: paths.appIndexHtml,
|
|
201
203
|
template: require.resolve('@commercetools-frontend/mc-html-template/webpack')
|
|
202
|
-
}), mergedOptions.toggleFlags.generateIndexHtml && new LocalHtmlWebpackPlugin(), //
|
|
203
|
-
// (`en` is built into Moment and can't be removed).
|
|
204
|
+
}), mergedOptions.toggleFlags.generateIndexHtml && new LocalHtmlWebpackPlugin(), // Only keep locales that are available in the Merchant Center.
|
|
204
205
|
new MomentLocalesPlugin({
|
|
205
|
-
localesToKeep:
|
|
206
|
+
localesToKeep: momentLocalesToKeep
|
|
206
207
|
}), // This is necessary to emit hot updates (CSS and Fast Refresh):
|
|
207
208
|
new webpack.HotModuleReplacementPlugin(), // Experimental hot reloading for React .
|
|
208
209
|
// https://github.com/facebook/react/tree/master/packages/react-refresh
|
|
@@ -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-760e2dc5.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 }; }
|
|
@@ -88,6 +88,8 @@ var LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
|
|
|
88
88
|
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
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
|
+
|
|
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", "ja", "zh-cn"];
|
|
91
93
|
var defaultToggleFlags = {
|
|
92
94
|
generateIndexHtml: true,
|
|
93
95
|
disableCoreJs: false
|
|
@@ -223,10 +225,9 @@ function createWebpackConfigForDevelopment() {
|
|
|
223
225
|
inject: false,
|
|
224
226
|
filename: paths.paths.appIndexHtml,
|
|
225
227
|
template: require.resolve('@commercetools-frontend/mc-html-template/webpack')
|
|
226
|
-
}), mergedOptions.toggleFlags.generateIndexHtml && new LocalHtmlWebpackPlugin(), //
|
|
227
|
-
// (`en` is built into Moment and can't be removed).
|
|
228
|
+
}), mergedOptions.toggleFlags.generateIndexHtml && new LocalHtmlWebpackPlugin(), // Only keep locales that are available in the Merchant Center.
|
|
228
229
|
new MomentLocalesPlugin__default["default"]({
|
|
229
|
-
localesToKeep:
|
|
230
|
+
localesToKeep: momentLocalesToKeep
|
|
230
231
|
}), // This is necessary to emit hot updates (CSS and Fast Refresh):
|
|
231
232
|
new webpack__default["default"].HotModuleReplacementPlugin(), // Experimental hot reloading for React .
|
|
232
233
|
// https://github.com/facebook/react/tree/master/packages/react-refresh
|
|
@@ -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-04243dea.esm.js';
|
|
32
32
|
import { h as hasJsxRuntime } from './has-jsx-runtime-8314226e.esm.js';
|
|
33
33
|
|
|
34
34
|
var FinalStatsWriterPlugin = /*#__PURE__*/function () {
|
|
@@ -93,6 +93,8 @@ var FinalStatsWriterPlugin = /*#__PURE__*/function () {
|
|
|
93
93
|
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
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
|
+
|
|
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", "ja", "zh-cn"];
|
|
96
98
|
var defaultToggleFlags = {
|
|
97
99
|
// Allow to disable CSS extraction in case it's not necessary (e.g. for Storybook)
|
|
98
100
|
enableExtractCss: true,
|
|
@@ -240,10 +242,9 @@ function createWebpackConfigForProduction() {
|
|
|
240
242
|
'process.env': {
|
|
241
243
|
NODE_ENV: _JSON$stringify('production')
|
|
242
244
|
}
|
|
243
|
-
}), //
|
|
244
|
-
// (`en` is built into Moment and can't be removed)
|
|
245
|
+
}), // Only keep locales that are available in the Merchant Center.
|
|
245
246
|
new MomentLocalesPlugin({
|
|
246
|
-
localesToKeep:
|
|
247
|
+
localesToKeep: momentLocalesToKeep
|
|
247
248
|
}), // Generate a `stats.json` file containing information and paths to
|
|
248
249
|
// the assets that webpack created.
|
|
249
250
|
// This is necessary to programmatically refer to the correct bundle path
|
|
@@ -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-760e2dc5.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 }; }
|
|
@@ -122,6 +122,8 @@ var FinalStatsWriterPlugin = /*#__PURE__*/function () {
|
|
|
122
122
|
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
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
|
+
|
|
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", "ja", "zh-cn"];
|
|
125
127
|
var defaultToggleFlags = {
|
|
126
128
|
// Allow to disable CSS extraction in case it's not necessary (e.g. for Storybook)
|
|
127
129
|
enableExtractCss: true,
|
|
@@ -269,10 +271,9 @@ function createWebpackConfigForProduction() {
|
|
|
269
271
|
'process.env': {
|
|
270
272
|
NODE_ENV: _JSON$stringify__default["default"]('production')
|
|
271
273
|
}
|
|
272
|
-
}), //
|
|
273
|
-
// (`en` is built into Moment and can't be removed)
|
|
274
|
+
}), // Only keep locales that are available in the Merchant Center.
|
|
274
275
|
new MomentLocalesPlugin__default["default"]({
|
|
275
|
-
localesToKeep:
|
|
276
|
+
localesToKeep: momentLocalesToKeep
|
|
276
277
|
}), // Generate a `stats.json` file containing information and paths to
|
|
277
278
|
// the assets that webpack created.
|
|
278
279
|
// This is necessary to programmatically refer to the correct bundle path
|
|
@@ -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-ddc3abee.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 }; }
|
|
@@ -122,6 +122,8 @@ var FinalStatsWriterPlugin = /*#__PURE__*/function () {
|
|
|
122
122
|
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
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
|
+
|
|
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", "ja", "zh-cn"];
|
|
125
127
|
var defaultToggleFlags = {
|
|
126
128
|
// Allow to disable CSS extraction in case it's not necessary (e.g. for Storybook)
|
|
127
129
|
enableExtractCss: true,
|
|
@@ -269,10 +271,9 @@ function createWebpackConfigForProduction() {
|
|
|
269
271
|
'process.env': {
|
|
270
272
|
NODE_ENV: _JSON$stringify__default["default"]('production')
|
|
271
273
|
}
|
|
272
|
-
}), //
|
|
273
|
-
// (`en` is built into Moment and can't be removed)
|
|
274
|
+
}), // Only keep locales that are available in the Merchant Center.
|
|
274
275
|
new MomentLocalesPlugin__default["default"]({
|
|
275
|
-
localesToKeep:
|
|
276
|
+
localesToKeep: momentLocalesToKeep
|
|
276
277
|
}), // Generate a `stats.json` file containing information and paths to
|
|
277
278
|
// the assets that webpack created.
|
|
278
279
|
// This is necessary to programmatically refer to the correct bundle path
|
|
@@ -42,6 +42,22 @@ export declare type TApplicationExtensionDataInput = {
|
|
|
42
42
|
oAuthScopes?: InputMaybe<Array<Scalars['String']>>;
|
|
43
43
|
url: Scalars['String'];
|
|
44
44
|
};
|
|
45
|
+
export declare type TApplicationExtensionInfoForLegacyCustomApplicationsMigrationReport = {
|
|
46
|
+
__typename?: 'ApplicationExtensionInfoForLegacyCustomApplicationsMigrationReport';
|
|
47
|
+
entryPointUriPath: Scalars['String'];
|
|
48
|
+
id: Scalars['ID'];
|
|
49
|
+
isActive: Scalars['Boolean'];
|
|
50
|
+
migratedTo: Array<TApplicationExtensionMigrationMatchingScore>;
|
|
51
|
+
name: Scalars['String'];
|
|
52
|
+
url: Scalars['String'];
|
|
53
|
+
};
|
|
54
|
+
export declare type TApplicationExtensionMigrationMatchingScore = {
|
|
55
|
+
__typename?: 'ApplicationExtensionMigrationMatchingScore';
|
|
56
|
+
applicationId: Scalars['String'];
|
|
57
|
+
matchByEntryPointUriPath: TMigrationMatchingScore;
|
|
58
|
+
matchByName: TMigrationMatchingScore;
|
|
59
|
+
matchByUrl: TMigrationMatchingScore;
|
|
60
|
+
};
|
|
45
61
|
export declare type TApplicationExtensionNavbarMenuDataInput = {
|
|
46
62
|
featureToggle?: InputMaybe<Scalars['String']>;
|
|
47
63
|
icon: Scalars['String'];
|
|
@@ -58,11 +74,20 @@ export declare type TApplicationExtensionNavbarSubmenuDataInput = {
|
|
|
58
74
|
permissions: Array<TOAuthScope>;
|
|
59
75
|
uriPath: Scalars['String'];
|
|
60
76
|
};
|
|
77
|
+
export declare type TApplicationInfoForLegacyCustomApplicationsMigrationReport = {
|
|
78
|
+
__typename?: 'ApplicationInfoForLegacyCustomApplicationsMigrationReport';
|
|
79
|
+
entryPointUriPath: Scalars['String'];
|
|
80
|
+
id: Scalars['ID'];
|
|
81
|
+
name: Scalars['String'];
|
|
82
|
+
url: Scalars['String'];
|
|
83
|
+
};
|
|
61
84
|
export declare enum TAuthPermission {
|
|
62
85
|
AccessToProject = "accessToProject",
|
|
63
86
|
LoggedInUser = "loggedInUser",
|
|
64
87
|
ManageMyOrganizations = "manageMyOrganizations",
|
|
65
88
|
ManageProjectSettings = "manageProjectSettings",
|
|
89
|
+
PerformDataCleanups = "performDataCleanups",
|
|
90
|
+
PerformMigrations = "performMigrations",
|
|
66
91
|
ViewCartDiscounts = "viewCartDiscounts",
|
|
67
92
|
ViewCustomers = "viewCustomers",
|
|
68
93
|
ViewDiscountCodes = "viewDiscountCodes",
|
|
@@ -248,6 +273,13 @@ export declare type TCustomApplicationQueryInput = {
|
|
|
248
273
|
limit?: InputMaybe<Scalars['Int']>;
|
|
249
274
|
offset?: InputMaybe<Scalars['Int']>;
|
|
250
275
|
sort?: InputMaybe<Scalars['String']>;
|
|
276
|
+
where?: InputMaybe<TCustomApplicationQueryWhereInput>;
|
|
277
|
+
};
|
|
278
|
+
export declare type TCustomApplicationQueryWhereInput = {
|
|
279
|
+
entryPointUriPath?: InputMaybe<Scalars['String']>;
|
|
280
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
281
|
+
name?: InputMaybe<Scalars['String']>;
|
|
282
|
+
organizationId?: InputMaybe<Scalars['String']>;
|
|
251
283
|
};
|
|
252
284
|
export declare enum TCustomApplicationStatus {
|
|
253
285
|
Draft = "DRAFT",
|
|
@@ -291,6 +323,7 @@ export declare type TCustomersListView = {
|
|
|
291
323
|
filters?: Maybe<Array<TFilterValues>>;
|
|
292
324
|
id: Scalars['ID'];
|
|
293
325
|
isActive?: Maybe<Scalars['Boolean']>;
|
|
326
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
294
327
|
nameAllLocales?: Maybe<Array<TLocalizedField>>;
|
|
295
328
|
projectKey: Scalars['String'];
|
|
296
329
|
search?: Maybe<Scalars['String']>;
|
|
@@ -334,6 +367,7 @@ export declare type TDashboardView = {
|
|
|
334
367
|
id: Scalars['ID'];
|
|
335
368
|
isActive: Scalars['Boolean'];
|
|
336
369
|
layout?: Maybe<Array<TLayoutCard>>;
|
|
370
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
337
371
|
nameAllLocales?: Maybe<Array<TLocalizedField>>;
|
|
338
372
|
projectKey: Scalars['String'];
|
|
339
373
|
timeZone?: Maybe<Scalars['String']>;
|
|
@@ -395,6 +429,7 @@ export declare type TDiscountsCustomView = {
|
|
|
395
429
|
filters?: Maybe<Array<TFilterValues>>;
|
|
396
430
|
id: Scalars['ID'];
|
|
397
431
|
isActive?: Maybe<Scalars['Boolean']>;
|
|
432
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
398
433
|
nameAllLocales?: Maybe<Array<TLocalizedField>>;
|
|
399
434
|
projectKey: Scalars['String'];
|
|
400
435
|
search?: Maybe<Scalars['String']>;
|
|
@@ -540,15 +575,12 @@ export declare type TImageRegexDataInput = {
|
|
|
540
575
|
};
|
|
541
576
|
export declare type TImageRegexOptions = {
|
|
542
577
|
__typename?: 'ImageRegexOptions';
|
|
543
|
-
|
|
544
|
-
flag: Scalars['String'];
|
|
545
|
-
id: Scalars['ID'];
|
|
578
|
+
flag?: Maybe<Scalars['String']>;
|
|
546
579
|
replace: Scalars['String'];
|
|
547
580
|
search: Scalars['String'];
|
|
548
|
-
updatedAt: Scalars['DateTime'];
|
|
549
581
|
};
|
|
550
582
|
export declare type TImageRegexOptionsInput = {
|
|
551
|
-
flag
|
|
583
|
+
flag?: InputMaybe<Scalars['String']>;
|
|
552
584
|
replace: Scalars['String'];
|
|
553
585
|
search: Scalars['String'];
|
|
554
586
|
};
|
|
@@ -761,6 +793,21 @@ export declare type TLegacyCustomApplicationQueryInput = {
|
|
|
761
793
|
limit?: InputMaybe<Scalars['Int']>;
|
|
762
794
|
offset?: InputMaybe<Scalars['Int']>;
|
|
763
795
|
sort?: InputMaybe<Scalars['String']>;
|
|
796
|
+
where?: InputMaybe<TLegacyCustomApplicationQueryWhereInput>;
|
|
797
|
+
};
|
|
798
|
+
export declare type TLegacyCustomApplicationQueryWhereInput = {
|
|
799
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
800
|
+
name?: InputMaybe<Scalars['String']>;
|
|
801
|
+
projectKey?: InputMaybe<Scalars['String']>;
|
|
802
|
+
uriPath?: InputMaybe<Scalars['String']>;
|
|
803
|
+
};
|
|
804
|
+
export declare type TLegacyCustomApplicationsMigrationReport = {
|
|
805
|
+
__typename?: 'LegacyCustomApplicationsMigrationReport';
|
|
806
|
+
applications: Array<TApplicationInfoForLegacyCustomApplicationsMigrationReport>;
|
|
807
|
+
organizationExtensionId?: Maybe<Scalars['ID']>;
|
|
808
|
+
organizationId: Scalars['String'];
|
|
809
|
+
organizationName?: Maybe<Scalars['String']>;
|
|
810
|
+
projects: Array<TProjectInfoForLegacyCustomApplicationsMigrationReport>;
|
|
764
811
|
};
|
|
765
812
|
export declare type TLegacyCustomApplicationsPagedQueryResult = {
|
|
766
813
|
__typename?: 'LegacyCustomApplicationsPagedQueryResult';
|
|
@@ -868,6 +915,19 @@ export declare enum TMetricCardType {
|
|
|
868
915
|
TotalOrders = "TOTAL_ORDERS",
|
|
869
916
|
TotalSales = "TOTAL_SALES"
|
|
870
917
|
}
|
|
918
|
+
export declare type TMigrationMatchingScore = {
|
|
919
|
+
__typename?: 'MigrationMatchingScore';
|
|
920
|
+
matchFrom: Scalars['String'];
|
|
921
|
+
matchTo: Scalars['String'];
|
|
922
|
+
score: Scalars['Float'];
|
|
923
|
+
};
|
|
924
|
+
export declare type TMigrationResult = {
|
|
925
|
+
__typename?: 'MigrationResult';
|
|
926
|
+
failed: Scalars['Int'];
|
|
927
|
+
failedIds?: Maybe<Array<Scalars['ID']>>;
|
|
928
|
+
skipped: Scalars['Int'];
|
|
929
|
+
succeeded: Scalars['Int'];
|
|
930
|
+
};
|
|
871
931
|
export declare type TMutation = {
|
|
872
932
|
__typename?: 'Mutation';
|
|
873
933
|
activateCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
@@ -917,6 +977,16 @@ export declare type TMutation = {
|
|
|
917
977
|
deleteProductTypeAttributesView?: Maybe<TProductTypeAttributesView>;
|
|
918
978
|
deleteProjectExtensionApplication?: Maybe<TProjectExtension>;
|
|
919
979
|
installCustomApplication?: Maybe<TRestrictedCustomApplicationInstallationForOrganization>;
|
|
980
|
+
/** @deprecated Experimental feature - For internal usage only */
|
|
981
|
+
migrateCustomersListViews?: Maybe<TMigrationResult>;
|
|
982
|
+
/** @deprecated Experimental feature - For internal usage only */
|
|
983
|
+
migrateOrdersListViews?: Maybe<TMigrationResult>;
|
|
984
|
+
/** @deprecated Experimental feature - For internal usage only */
|
|
985
|
+
migrateProjectExtensions: TMigrationResult;
|
|
986
|
+
/** @deprecated Experimental feature - For internal usage only */
|
|
987
|
+
revertCustomersListViewsMigration: TRevertionResult;
|
|
988
|
+
/** @deprecated Experimental feature - For internal usage only */
|
|
989
|
+
revertOrdersListViewsMigration: TRevertionResult;
|
|
920
990
|
sendLinkToVerifyCustomApplicationsMaintainerContactEmail?: Maybe<TCustomApplicationsMaintainerContactEmailVerificationRequest>;
|
|
921
991
|
setCustomApplicationsMaintainerContactInformation?: Maybe<TOrganizationExtension>;
|
|
922
992
|
setOrganizationExtensionOidcSsoConfig?: Maybe<TOrganizationExtension>;
|
|
@@ -1085,6 +1155,21 @@ export declare type TMutation_InstallCustomApplicationArgs = {
|
|
|
1085
1155
|
organizationId: Scalars['String'];
|
|
1086
1156
|
projectKeys?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
1087
1157
|
};
|
|
1158
|
+
export declare type TMutation_MigrateCustomersListViewsArgs = {
|
|
1159
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1160
|
+
};
|
|
1161
|
+
export declare type TMutation_MigrateOrdersListViewsArgs = {
|
|
1162
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1163
|
+
};
|
|
1164
|
+
export declare type TMutation_MigrateProjectExtensionsArgs = {
|
|
1165
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1166
|
+
};
|
|
1167
|
+
export declare type TMutation_RevertCustomersListViewsMigrationArgs = {
|
|
1168
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1169
|
+
};
|
|
1170
|
+
export declare type TMutation_RevertOrdersListViewsMigrationArgs = {
|
|
1171
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1172
|
+
};
|
|
1088
1173
|
export declare type TMutation_SendLinkToVerifyCustomApplicationsMaintainerContactEmailArgs = {
|
|
1089
1174
|
organizationId: Scalars['String'];
|
|
1090
1175
|
};
|
|
@@ -1488,6 +1573,7 @@ export declare type TOrdersListView = {
|
|
|
1488
1573
|
filters?: Maybe<Array<TFilterValues>>;
|
|
1489
1574
|
id: Scalars['ID'];
|
|
1490
1575
|
isActive?: Maybe<Scalars['Boolean']>;
|
|
1576
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
1491
1577
|
nameAllLocales?: Maybe<Array<TLocalizedField>>;
|
|
1492
1578
|
projectKey: Scalars['String'];
|
|
1493
1579
|
search?: Maybe<Scalars['String']>;
|
|
@@ -1550,6 +1636,7 @@ export declare type TPimSearchListView = {
|
|
|
1550
1636
|
filters?: Maybe<Array<TFilterValues>>;
|
|
1551
1637
|
id: Scalars['ID'];
|
|
1552
1638
|
isActive?: Maybe<Scalars['Boolean']>;
|
|
1639
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
1553
1640
|
nameAllLocales?: Maybe<Array<TLocalizedField>>;
|
|
1554
1641
|
projectKey: Scalars['String'];
|
|
1555
1642
|
search?: Maybe<Scalars['String']>;
|
|
@@ -1605,6 +1692,7 @@ export declare type TProductTypeAttributesView = {
|
|
|
1605
1692
|
id: Scalars['ID'];
|
|
1606
1693
|
isActive: Scalars['Boolean'];
|
|
1607
1694
|
isVariant?: Maybe<Scalars['Boolean']>;
|
|
1695
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
1608
1696
|
nameAllLocales?: Maybe<Array<TLocalizedField>>;
|
|
1609
1697
|
pinnedAttributes: Array<Scalars['String']>;
|
|
1610
1698
|
productTypeId: Scalars['String'];
|
|
@@ -1652,6 +1740,12 @@ export declare type TProjectExtension = {
|
|
|
1652
1740
|
export declare type TProjectExtension_ApplicationsArgs = {
|
|
1653
1741
|
where?: InputMaybe<TRestrictedApplicationExtensionWhereInput>;
|
|
1654
1742
|
};
|
|
1743
|
+
export declare type TProjectInfoForLegacyCustomApplicationsMigrationReport = {
|
|
1744
|
+
__typename?: 'ProjectInfoForLegacyCustomApplicationsMigrationReport';
|
|
1745
|
+
applicationExtensions: Array<TApplicationExtensionInfoForLegacyCustomApplicationsMigrationReport>;
|
|
1746
|
+
projectExtensionId: Scalars['ID'];
|
|
1747
|
+
projectKey: Scalars['String'];
|
|
1748
|
+
};
|
|
1655
1749
|
export declare type TQuery = {
|
|
1656
1750
|
__typename?: 'Query';
|
|
1657
1751
|
activeCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
@@ -1687,6 +1781,8 @@ export declare type TQuery = {
|
|
|
1687
1781
|
globalOrganizationExtension?: Maybe<TOrganizationExtension>;
|
|
1688
1782
|
/** @deprecated Experimental feature - For internal usage only */
|
|
1689
1783
|
legacyCustomApplication?: Maybe<TLegacyCustomApplication>;
|
|
1784
|
+
/** @deprecated Experimental feature - For internal usage only */
|
|
1785
|
+
legacyCustomApplicationsMigrationReport: Array<TLegacyCustomApplicationsMigrationReport>;
|
|
1690
1786
|
myCustomApplications: Array<TMyCustomApplication>;
|
|
1691
1787
|
ordersListView?: Maybe<TOrdersListView>;
|
|
1692
1788
|
ordersListViews: Array<Maybe<TOrdersListView>>;
|
|
@@ -1876,6 +1972,10 @@ export declare type TRestrictedCustomApplicationInstallationForProject = {
|
|
|
1876
1972
|
installInAllProjects: Scalars['Boolean'];
|
|
1877
1973
|
updatedAt: Scalars['DateTime'];
|
|
1878
1974
|
};
|
|
1975
|
+
export declare type TRevertionResult = {
|
|
1976
|
+
__typename?: 'RevertionResult';
|
|
1977
|
+
revertedIds?: Maybe<Array<Scalars['ID']>>;
|
|
1978
|
+
};
|
|
1879
1979
|
export declare type TRuleBuilderQuickSelectCreatefunctionsInput = {
|
|
1880
1980
|
set?: InputMaybe<Array<Scalars['String']>>;
|
|
1881
1981
|
};
|
|
@@ -1892,6 +1992,7 @@ export declare type TRuleBuilderQuickSelectionValues = {
|
|
|
1892
1992
|
createdAt: Scalars['DateTime'];
|
|
1893
1993
|
functions: Array<Scalars['String']>;
|
|
1894
1994
|
id: Scalars['ID'];
|
|
1995
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
1895
1996
|
predicates: Array<Scalars['String']>;
|
|
1896
1997
|
projectKey: Scalars['String'];
|
|
1897
1998
|
ruleBuilderType: TRuleBuilderType;
|
|
@@ -2201,6 +2302,7 @@ export declare type TVariantPricesListView = {
|
|
|
2201
2302
|
__typename?: 'VariantPricesListView';
|
|
2202
2303
|
createdAt: Scalars['DateTime'];
|
|
2203
2304
|
id: Scalars['ID'];
|
|
2305
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
2204
2306
|
projectKey: Scalars['String'];
|
|
2205
2307
|
updatedAt: Scalars['DateTime'];
|
|
2206
2308
|
userId: Scalars['String'];
|
|
@@ -2221,13 +2323,13 @@ export declare type TFetchProjectExtensionImageRegexQuery = {
|
|
|
2221
2323
|
__typename?: 'ImageRegex';
|
|
2222
2324
|
thumb?: {
|
|
2223
2325
|
__typename?: 'ImageRegexOptions';
|
|
2224
|
-
flag
|
|
2326
|
+
flag?: string | null;
|
|
2225
2327
|
search: string;
|
|
2226
2328
|
replace: string;
|
|
2227
2329
|
} | null;
|
|
2228
2330
|
small?: {
|
|
2229
2331
|
__typename?: 'ImageRegexOptions';
|
|
2230
|
-
flag
|
|
2332
|
+
flag?: string | null;
|
|
2231
2333
|
search: string;
|
|
2232
2334
|
replace: string;
|
|
2233
2335
|
} | null;
|
|
@@ -2236,7 +2338,7 @@ export declare type TFetchProjectExtensionImageRegexQuery = {
|
|
|
2236
2338
|
};
|
|
2237
2339
|
export declare type TImageRegexFragment = {
|
|
2238
2340
|
__typename?: 'ImageRegexOptions';
|
|
2239
|
-
flag
|
|
2341
|
+
flag?: string | null;
|
|
2240
2342
|
search: string;
|
|
2241
2343
|
replace: string;
|
|
2242
2344
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Plugin } from 'vite';
|
|
2
|
+
import type { ApplicationRuntimeConfig } from '@commercetools-frontend/application-config';
|
|
3
|
+
declare const vitePluginCustomApplication: (applicationConfig: ApplicationRuntimeConfig) => Plugin;
|
|
4
|
+
export default vitePluginCustomApplication;
|
|
@@ -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-ca628320.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-8e6305bd.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-ee57c98a.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-4c3e3fb7.cjs.dev.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-5f8ec93d.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-4b4fcf02.cjs.prod.js');
|
|
19
19
|
|
|
20
20
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
21
21
|
|