@commercetools-frontend/mc-scripts 27.6.2 → 27.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +7 -7
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +7 -7
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +7 -7
- package/dist/{build-8903a030.cjs.dev.js → build-03da8462.cjs.dev.js} +4 -3
- package/dist/{build-aaee9a78.esm.js → build-85437f58.esm.js} +4 -3
- package/dist/{build-5e05ee82.cjs.prod.js → build-c89f2ac7.cjs.prod.js} +4 -3
- package/dist/{build-vite-73361390.cjs.prod.js → build-vite-06dfcccd.cjs.prod.js} +4 -1
- package/dist/{build-vite-8453739c.cjs.dev.js → build-vite-45d8396e.cjs.dev.js} +4 -1
- package/dist/{build-vite-a9c1c374.esm.js → build-vite-fc87b533.esm.js} +4 -1
- 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-2d5c1860.cjs.prod.js → config-sync-10ae3ed4.cjs.prod.js} +3 -3
- package/dist/{config-sync-0cf9b18d.esm.js → config-sync-99475f64.esm.js} +3 -3
- package/dist/{config-sync-ci-e80bc2be.cjs.dev.js → config-sync-ci-4d04940d.cjs.dev.js} +3 -3
- package/dist/{config-sync-ci-7f34c9e9.esm.js → config-sync-ci-755d465a.esm.js} +3 -3
- package/dist/{config-sync-ci-3223f108.cjs.prod.js → config-sync-ci-f5866267.cjs.prod.js} +3 -3
- package/dist/{config-sync-555b35a4.cjs.dev.js → config-sync-dc50a0b3.cjs.dev.js} +3 -3
- package/dist/{config-sync-helpers-a840fd37.cjs.prod.js → config-sync-helpers-0afab078.cjs.prod.js} +1 -1
- package/dist/{config-sync-helpers-60c29cd4.esm.js → config-sync-helpers-1a9cc996.esm.js} +1 -1
- package/dist/{config-sync-helpers-946494a1.cjs.dev.js → config-sync-helpers-6e62bd12.cjs.dev.js} +1 -1
- package/dist/{create-postcss-config-897ed9af.cjs.dev.js → create-postcss-config-5b694758.cjs.dev.js} +1 -1
- package/dist/{create-postcss-config-8245ffa6.esm.js → create-postcss-config-5dfe0c07.esm.js} +1 -1
- package/dist/{create-postcss-config-07eb00b9.cjs.prod.js → create-postcss-config-df08fa7e.cjs.prod.js} +1 -1
- package/dist/{create-webpack-config-for-development-509dc789.cjs.prod.js → create-webpack-config-for-development-300ccc9e.cjs.prod.js} +5 -2
- package/dist/{create-webpack-config-for-development-4db99839.esm.js → create-webpack-config-for-development-4d621771.esm.js} +5 -2
- package/dist/{create-webpack-config-for-development-213fad5b.cjs.dev.js → create-webpack-config-for-development-b6ff56a2.cjs.dev.js} +5 -2
- package/dist/{create-webpack-config-for-production-a6394108.cjs.prod.js → create-webpack-config-for-production-752cf3c7.cjs.prod.js} +5 -2
- package/dist/{create-webpack-config-for-production-6bc7a0d2.cjs.dev.js → create-webpack-config-for-production-9f754d7b.cjs.dev.js} +5 -2
- package/dist/{create-webpack-config-for-production-ef04ba11.esm.js → create-webpack-config-for-production-cc989cae.esm.js} +5 -2
- package/dist/{deployment-previews-set-f5dbe20b.cjs.dev.js → deployment-previews-set-1108b71b.cjs.dev.js} +2 -2
- package/dist/{deployment-previews-set-4d1b3cc2.esm.js → deployment-previews-set-491bd051.esm.js} +2 -2
- package/dist/{deployment-previews-set-fd3ae7de.cjs.prod.js → deployment-previews-set-6fc98c65.cjs.prod.js} +2 -2
- package/dist/{graphql-requests-48470b8d.cjs.dev.js → graphql-requests-663477fa.cjs.dev.js} +1 -1
- package/dist/{graphql-requests-93fe3301.cjs.prod.js → graphql-requests-b00291ee.cjs.prod.js} +1 -1
- package/dist/{graphql-requests-7bddcb25.esm.js → graphql-requests-f5240d7a.esm.js} +1 -1
- package/dist/{login-04a3cb96.cjs.dev.js → login-b56eac53.cjs.dev.js} +1 -1
- package/dist/{login-e3656fb8.esm.js → login-b7cb4235.esm.js} +1 -1
- package/dist/{login-d302e6b2.cjs.prod.js → login-ec24d3aa.cjs.prod.js} +1 -1
- package/dist/package-184da930.esm.js +166 -0
- package/dist/package-26661d83.cjs.dev.js +168 -0
- package/dist/package-2840f9c5.cjs.prod.js +168 -0
- package/dist/{start-8a67357a.cjs.prod.js → start-0b04456c.cjs.prod.js} +4 -3
- package/dist/{start-4a96efb1.esm.js → start-218b201a.esm.js} +4 -3
- package/dist/{start-f9514095.cjs.dev.js → start-a7e1f4c8.cjs.dev.js} +4 -3
- package/dist/{start-vite-29078b3a.cjs.prod.js → start-vite-478bc0d1.cjs.prod.js} +4 -1
- package/dist/{start-vite-7d1161e8.esm.js → start-vite-9369d905.esm.js} +4 -1
- package/dist/{start-vite-068e9f73.cjs.dev.js → start-vite-a407a4c8.cjs.dev.js} +4 -1
- package/dist/try-load-nimbus-plugins-74e0cb1f.esm.js +25 -0
- package/dist/try-load-nimbus-plugins-798e9bc9.cjs.dev.js +28 -0
- package/dist/try-load-nimbus-plugins-d439c3b3.cjs.prod.js +28 -0
- package/package.json +12 -11
- 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 +5 -4
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +5 -4
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +5 -4
- package/dist/package-20bec61c.esm.js +0 -165
- package/dist/package-6eb739da.cjs.dev.js +0 -167
- package/dist/package-a5eb9ab0.cjs.prod.js +0 -167
|
@@ -20,12 +20,13 @@ var HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
|
20
20
|
var MomentLocalesPlugin = require('moment-locales-webpack-plugin');
|
|
21
21
|
var webpack = require('webpack');
|
|
22
22
|
var WebpackBar = require('webpackbar');
|
|
23
|
+
var tryLoadNimbusPlugins = require('./try-load-nimbus-plugins-798e9bc9.cjs.dev.js');
|
|
23
24
|
var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
24
25
|
var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
25
26
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
26
27
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
27
28
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
28
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
29
|
+
var createPostcssConfig = require('./create-postcss-config-5b694758.cjs.dev.js');
|
|
29
30
|
var optimizations = require('./optimizations-56be74d6.cjs.dev.js');
|
|
30
31
|
var paths = require('./paths-b76fc753.cjs.dev.js');
|
|
31
32
|
var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
|
|
@@ -201,7 +202,9 @@ function createWebpackConfigForDevelopment() {
|
|
|
201
202
|
// Point sourcemap entries to the original disk location (format as URL on Windows)
|
|
202
203
|
devtoolModuleFilenameTemplate: info => path__default["default"].resolve(info.absoluteResourcePath).replace(/\\/g, '/')
|
|
203
204
|
},
|
|
204
|
-
plugins: _filterInstanceProperty__default["default"](_context3 = [
|
|
205
|
+
plugins: _filterInstanceProperty__default["default"](_context3 = [tryLoadNimbusPlugins.tryLoadNimbusWebpackPlugin({
|
|
206
|
+
cwd: paths.paths.appRoot
|
|
207
|
+
}), new WebpackBar__default["default"](),
|
|
205
208
|
// Allows to "assign" custom options to the `webpack` object.
|
|
206
209
|
// At the moment, this is used to share some props with `postcss.config`.
|
|
207
210
|
new webpack__default["default"].LoaderOptionsPlugin({
|
|
@@ -22,6 +22,7 @@ var MomentLocalesPlugin = require('moment-locales-webpack-plugin');
|
|
|
22
22
|
var TerserPlugin = require('terser-webpack-plugin');
|
|
23
23
|
var webpack = require('webpack');
|
|
24
24
|
var webpackBundleAnalyzer = require('webpack-bundle-analyzer');
|
|
25
|
+
var tryLoadNimbusPlugins = require('./try-load-nimbus-plugins-d439c3b3.cjs.prod.js');
|
|
25
26
|
var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
26
27
|
var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
27
28
|
var _bindInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
@@ -29,7 +30,7 @@ var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
|
|
|
29
30
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
30
31
|
var fs = require('fs');
|
|
31
32
|
var path = require('path');
|
|
32
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
33
|
+
var createPostcssConfig = require('./create-postcss-config-df08fa7e.cjs.prod.js');
|
|
33
34
|
var optimizations = require('./optimizations-da5a0cfa.cjs.prod.js');
|
|
34
35
|
var paths = require('./paths-7768b440.cjs.prod.js');
|
|
35
36
|
var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.cjs.prod.js');
|
|
@@ -253,7 +254,9 @@ function createWebpackConfigForProduction() {
|
|
|
253
254
|
// Will be injected on runtime. See `packages/application-shell/src/public-path.js`
|
|
254
255
|
publicPath: ''
|
|
255
256
|
},
|
|
256
|
-
plugins: [
|
|
257
|
+
plugins: [tryLoadNimbusPlugins.tryLoadNimbusWebpackPlugin({
|
|
258
|
+
cwd: paths.paths.appRoot
|
|
259
|
+
}),
|
|
257
260
|
// Allows to "assign" custom options to the `webpack` object.
|
|
258
261
|
// At the moment, this is used to share some props with `postcss.config`.
|
|
259
262
|
new webpack__default["default"].LoaderOptionsPlugin({
|
|
@@ -22,6 +22,7 @@ var MomentLocalesPlugin = require('moment-locales-webpack-plugin');
|
|
|
22
22
|
var TerserPlugin = require('terser-webpack-plugin');
|
|
23
23
|
var webpack = require('webpack');
|
|
24
24
|
var webpackBundleAnalyzer = require('webpack-bundle-analyzer');
|
|
25
|
+
var tryLoadNimbusPlugins = require('./try-load-nimbus-plugins-798e9bc9.cjs.dev.js');
|
|
25
26
|
var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
26
27
|
var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
27
28
|
var _bindInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
@@ -29,7 +30,7 @@ var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
|
|
|
29
30
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
30
31
|
var fs = require('fs');
|
|
31
32
|
var path = require('path');
|
|
32
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
33
|
+
var createPostcssConfig = require('./create-postcss-config-5b694758.cjs.dev.js');
|
|
33
34
|
var optimizations = require('./optimizations-56be74d6.cjs.dev.js');
|
|
34
35
|
var paths = require('./paths-b76fc753.cjs.dev.js');
|
|
35
36
|
var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
|
|
@@ -253,7 +254,9 @@ function createWebpackConfigForProduction() {
|
|
|
253
254
|
// Will be injected on runtime. See `packages/application-shell/src/public-path.js`
|
|
254
255
|
publicPath: ''
|
|
255
256
|
},
|
|
256
|
-
plugins: [
|
|
257
|
+
plugins: [tryLoadNimbusPlugins.tryLoadNimbusWebpackPlugin({
|
|
258
|
+
cwd: paths.paths.appRoot
|
|
259
|
+
}),
|
|
257
260
|
// Allows to "assign" custom options to the `webpack` object.
|
|
258
261
|
// At the moment, this is used to share some props with `postcss.config`.
|
|
259
262
|
new webpack__default["default"].LoaderOptionsPlugin({
|
|
@@ -20,6 +20,7 @@ import MomentLocalesPlugin from 'moment-locales-webpack-plugin';
|
|
|
20
20
|
import TerserPlugin from 'terser-webpack-plugin';
|
|
21
21
|
import webpack from 'webpack';
|
|
22
22
|
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
|
|
23
|
+
import { t as tryLoadNimbusWebpackPlugin } from './try-load-nimbus-plugins-74e0cb1f.esm.js';
|
|
23
24
|
import _classCallCheck from '@babel/runtime-corejs3/helpers/esm/classCallCheck';
|
|
24
25
|
import _createClass from '@babel/runtime-corejs3/helpers/esm/createClass';
|
|
25
26
|
import _bindInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/bind';
|
|
@@ -27,7 +28,7 @@ import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
|
|
|
27
28
|
import _Object$assign from '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
28
29
|
import fs from 'fs';
|
|
29
30
|
import path from 'path';
|
|
30
|
-
import { c as createPostcssConfig } from './create-postcss-config-
|
|
31
|
+
import { c as createPostcssConfig } from './create-postcss-config-5dfe0c07.esm.js';
|
|
31
32
|
import { g as getWepbackCacheGroups, h as hasJsxRuntime } from './optimizations-54382f7b.esm.js';
|
|
32
33
|
import { p as paths } from './paths-39f22b8b.esm.js';
|
|
33
34
|
import { v as vendorsToTranspile } from './vendors-to-transpile-7dc84a72.esm.js';
|
|
@@ -223,7 +224,9 @@ function createWebpackConfigForProduction() {
|
|
|
223
224
|
// Will be injected on runtime. See `packages/application-shell/src/public-path.js`
|
|
224
225
|
publicPath: ''
|
|
225
226
|
},
|
|
226
|
-
plugins: [
|
|
227
|
+
plugins: [tryLoadNimbusWebpackPlugin({
|
|
228
|
+
cwd: paths.appRoot
|
|
229
|
+
}),
|
|
227
230
|
// Allows to "assign" custom options to the `webpack` object.
|
|
228
231
|
// At the moment, this is used to share some props with `postcss.config`.
|
|
229
232
|
new webpack.LoaderOptionsPlugin({
|
|
@@ -8,7 +8,7 @@ var chalk = require('chalk');
|
|
|
8
8
|
var prompts = require('prompts');
|
|
9
9
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
10
10
|
var credentialsStorage$1 = require('./credentials-storage-fd195144.cjs.dev.js');
|
|
11
|
-
var graphqlRequests = require('./graphql-requests-
|
|
11
|
+
var graphqlRequests = require('./graphql-requests-663477fa.cjs.dev.js');
|
|
12
12
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
13
13
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
14
14
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
@@ -30,7 +30,7 @@ require('graphql');
|
|
|
30
30
|
require('graphql-request');
|
|
31
31
|
require('@commercetools-frontend/constants');
|
|
32
32
|
require('@commercetools/http-user-agent');
|
|
33
|
-
require('./package-
|
|
33
|
+
require('./package-26661d83.cjs.dev.js');
|
|
34
34
|
|
|
35
35
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
36
36
|
|
package/dist/{deployment-previews-set-4d1b3cc2.esm.js → deployment-previews-set-491bd051.esm.js}
RENAMED
|
@@ -6,7 +6,7 @@ import chalk from 'chalk';
|
|
|
6
6
|
import prompts from 'prompts';
|
|
7
7
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
8
8
|
import { C as CredentialsStorage } from './credentials-storage-67deadc3.esm.js';
|
|
9
|
-
import { d as fetchCustomApplication, g as updateCustomApplicationDeploymentPreview, h as createCustomApplicationDeploymentPreview } from './graphql-requests-
|
|
9
|
+
import { d as fetchCustomApplication, g as updateCustomApplicationDeploymentPreview, h as createCustomApplicationDeploymentPreview } from './graphql-requests-f5240d7a.esm.js';
|
|
10
10
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
11
11
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
12
12
|
import '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
@@ -28,7 +28,7 @@ import 'graphql';
|
|
|
28
28
|
import 'graphql-request';
|
|
29
29
|
import '@commercetools-frontend/constants';
|
|
30
30
|
import '@commercetools/http-user-agent';
|
|
31
|
-
import './package-
|
|
31
|
+
import './package-184da930.esm.js';
|
|
32
32
|
|
|
33
33
|
const credentialsStorage = new CredentialsStorage();
|
|
34
34
|
const validateUrl = function () {
|
|
@@ -8,7 +8,7 @@ var chalk = require('chalk');
|
|
|
8
8
|
var prompts = require('prompts');
|
|
9
9
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
10
10
|
var credentialsStorage$1 = require('./credentials-storage-ea1c16dc.cjs.prod.js');
|
|
11
|
-
var graphqlRequests = require('./graphql-requests-
|
|
11
|
+
var graphqlRequests = require('./graphql-requests-b00291ee.cjs.prod.js');
|
|
12
12
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
13
13
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
14
14
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
@@ -30,7 +30,7 @@ require('graphql');
|
|
|
30
30
|
require('graphql-request');
|
|
31
31
|
require('@commercetools-frontend/constants');
|
|
32
32
|
require('@commercetools/http-user-agent');
|
|
33
|
-
require('./package-
|
|
33
|
+
require('./package-2840f9c5.cjs.prod.js');
|
|
34
34
|
|
|
35
35
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
36
36
|
|
|
@@ -16,7 +16,7 @@ var graphqlRequest = require('graphql-request');
|
|
|
16
16
|
var constants = require('@commercetools-frontend/constants');
|
|
17
17
|
var credentialsStorage$1 = require('./credentials-storage-fd195144.cjs.dev.js');
|
|
18
18
|
var createHttpUserAgent = require('@commercetools/http-user-agent');
|
|
19
|
-
var _package = require('./package-
|
|
19
|
+
var _package = require('./package-26661d83.cjs.dev.js');
|
|
20
20
|
|
|
21
21
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
22
22
|
|
package/dist/{graphql-requests-93fe3301.cjs.prod.js → graphql-requests-b00291ee.cjs.prod.js}
RENAMED
|
@@ -16,7 +16,7 @@ var graphqlRequest = require('graphql-request');
|
|
|
16
16
|
var constants = require('@commercetools-frontend/constants');
|
|
17
17
|
var credentialsStorage$1 = require('./credentials-storage-ea1c16dc.cjs.prod.js');
|
|
18
18
|
var createHttpUserAgent = require('@commercetools/http-user-agent');
|
|
19
|
-
var _package = require('./package-
|
|
19
|
+
var _package = require('./package-2840f9c5.cjs.prod.js');
|
|
20
20
|
|
|
21
21
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
22
22
|
|
|
@@ -14,7 +14,7 @@ import { GraphQLClient, ClientError } from 'graphql-request';
|
|
|
14
14
|
import { GRAPHQL_TARGETS, SUPPORTED_HEADERS } from '@commercetools-frontend/constants';
|
|
15
15
|
import { C as CredentialsStorage } from './credentials-storage-67deadc3.esm.js';
|
|
16
16
|
import createHttpUserAgent from '@commercetools/http-user-agent';
|
|
17
|
-
import { p as pkgJson } from './package-
|
|
17
|
+
import { p as pkgJson } from './package-184da930.esm.js';
|
|
18
18
|
|
|
19
19
|
const userAgent = createHttpUserAgent({
|
|
20
20
|
name: 'graphql-request',
|
|
@@ -15,7 +15,7 @@ var crypto = require('node:crypto');
|
|
|
15
15
|
var process = require('node:process');
|
|
16
16
|
var chalk = require('chalk');
|
|
17
17
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
18
|
-
var _package = require('./package-
|
|
18
|
+
var _package = require('./package-26661d83.cjs.dev.js');
|
|
19
19
|
var http = require('node:http');
|
|
20
20
|
var jwtDecode = require('jwt-decode');
|
|
21
21
|
var credentialsStorage$1 = require('./credentials-storage-fd195144.cjs.dev.js');
|
|
@@ -13,7 +13,7 @@ import crypto from 'node:crypto';
|
|
|
13
13
|
import process, { exit } from 'node:process';
|
|
14
14
|
import chalk from 'chalk';
|
|
15
15
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
16
|
-
import { p as pkgJson } from './package-
|
|
16
|
+
import { p as pkgJson } from './package-184da930.esm.js';
|
|
17
17
|
import http from 'node:http';
|
|
18
18
|
import jwtDecode from 'jwt-decode';
|
|
19
19
|
import { C as CredentialsStorage } from './credentials-storage-67deadc3.esm.js';
|
|
@@ -15,7 +15,7 @@ var crypto = require('node:crypto');
|
|
|
15
15
|
var process = require('node:process');
|
|
16
16
|
var chalk = require('chalk');
|
|
17
17
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
18
|
-
var _package = require('./package-
|
|
18
|
+
var _package = require('./package-2840f9c5.cjs.prod.js');
|
|
19
19
|
var http = require('node:http');
|
|
20
20
|
var jwtDecode = require('jwt-decode');
|
|
21
21
|
var credentialsStorage$1 = require('./credentials-storage-ea1c16dc.cjs.prod.js');
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
var pkgJson = {
|
|
2
|
+
name: "@commercetools-frontend/mc-scripts",
|
|
3
|
+
version: "27.7.0",
|
|
4
|
+
description: "Configuration and scripts for developing a MC application",
|
|
5
|
+
bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
|
+
repository: {
|
|
7
|
+
type: "git",
|
|
8
|
+
url: "https://github.com/commercetools/merchant-center-application-kit.git",
|
|
9
|
+
directory: "packages/mc-scripts"
|
|
10
|
+
},
|
|
11
|
+
homepage: "https://docs.commercetools.com/merchant-center-customizations",
|
|
12
|
+
keywords: [
|
|
13
|
+
"javascript",
|
|
14
|
+
"frontend",
|
|
15
|
+
"react",
|
|
16
|
+
"toolkit"
|
|
17
|
+
],
|
|
18
|
+
license: "MIT",
|
|
19
|
+
publishConfig: {
|
|
20
|
+
access: "public"
|
|
21
|
+
},
|
|
22
|
+
main: "dist/commercetools-frontend-mc-scripts.cjs.js",
|
|
23
|
+
module: "dist/commercetools-frontend-mc-scripts.esm.js",
|
|
24
|
+
preconstruct: {
|
|
25
|
+
entrypoints: [
|
|
26
|
+
"./index.ts",
|
|
27
|
+
"./application-runtime.ts",
|
|
28
|
+
"./cli.ts",
|
|
29
|
+
"./postcss.ts",
|
|
30
|
+
"./webpack.ts",
|
|
31
|
+
"./webpack-loaders/i18n-message-compilation-loader.ts"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
files: [
|
|
35
|
+
"bin",
|
|
36
|
+
"cli",
|
|
37
|
+
"dist",
|
|
38
|
+
"config",
|
|
39
|
+
"application-runtime",
|
|
40
|
+
"postcss",
|
|
41
|
+
"webpack",
|
|
42
|
+
"webpack-loaders",
|
|
43
|
+
"package.json",
|
|
44
|
+
"LICENSE",
|
|
45
|
+
"README.md"
|
|
46
|
+
],
|
|
47
|
+
bin: "./bin/cli.js",
|
|
48
|
+
browserslist: {
|
|
49
|
+
production: [
|
|
50
|
+
">1%",
|
|
51
|
+
"not op_mini all",
|
|
52
|
+
"not dead"
|
|
53
|
+
],
|
|
54
|
+
development: [
|
|
55
|
+
"last 2 firefox versions",
|
|
56
|
+
"last 2 chrome versions"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
dependencies: {
|
|
60
|
+
"@babel/core": "catalog:build",
|
|
61
|
+
"@babel/plugin-proposal-do-expressions": "catalog:build",
|
|
62
|
+
"@babel/runtime": "catalog:build",
|
|
63
|
+
"@babel/runtime-corejs3": "catalog:build",
|
|
64
|
+
"@commercetools-frontend/application-components": "workspace:^",
|
|
65
|
+
"@commercetools-frontend/application-config": "workspace:^",
|
|
66
|
+
"@commercetools-frontend/assets": "workspace:^",
|
|
67
|
+
"@commercetools-frontend/babel-preset-mc-app": "workspace:^",
|
|
68
|
+
"@commercetools-frontend/constants": "workspace:^",
|
|
69
|
+
"@commercetools-frontend/mc-dev-authentication": "workspace:^",
|
|
70
|
+
"@commercetools-frontend/mc-html-template": "workspace:^",
|
|
71
|
+
"@commercetools/http-user-agent": "catalog:",
|
|
72
|
+
"@emotion/babel-plugin": "catalog:build",
|
|
73
|
+
"@formatjs/cli-lib": "catalog:formatjs",
|
|
74
|
+
"@pmmmwh/react-refresh-webpack-plugin": "catalog:build",
|
|
75
|
+
"@rollup/plugin-graphql": "catalog:build",
|
|
76
|
+
"@rollup/pluginutils": "catalog:build",
|
|
77
|
+
"@svgr/babel-preset": "catalog:build",
|
|
78
|
+
"@svgr/core": "catalog:build",
|
|
79
|
+
"@svgr/webpack": "catalog:build",
|
|
80
|
+
"@types/prompts": "catalog:",
|
|
81
|
+
"@types/svgo": "catalog:",
|
|
82
|
+
"@types/webpack-bundle-analyzer": "catalog:",
|
|
83
|
+
"@vitejs/plugin-react": "catalog:build",
|
|
84
|
+
"@vitejs/plugin-react-swc": "catalog:build",
|
|
85
|
+
autoprefixer: "catalog:",
|
|
86
|
+
"babel-loader": "catalog:build",
|
|
87
|
+
"babel-plugin-formatjs": "catalog:build",
|
|
88
|
+
"babel-plugin-react-compiler": "catalog:build",
|
|
89
|
+
browserslist: "catalog:build",
|
|
90
|
+
chalk: "catalog:",
|
|
91
|
+
commander: "catalog:",
|
|
92
|
+
"core-js": "catalog:",
|
|
93
|
+
"css-loader": "catalog:build",
|
|
94
|
+
"css-minimizer-webpack-plugin": "catalog:build",
|
|
95
|
+
dotenv: "catalog:",
|
|
96
|
+
"dotenv-expand": "catalog:build",
|
|
97
|
+
"fs-extra": "catalog:",
|
|
98
|
+
glob: "catalog:",
|
|
99
|
+
graphql: "catalog:apollo",
|
|
100
|
+
"graphql-request": "catalog:",
|
|
101
|
+
"graphql-tag": "catalog:apollo",
|
|
102
|
+
"html-webpack-plugin": "catalog:build",
|
|
103
|
+
"json-loader": "catalog:build",
|
|
104
|
+
"jwt-decode": "catalog:",
|
|
105
|
+
lodash: "catalog:",
|
|
106
|
+
"mini-css-extract-plugin": "catalog:build",
|
|
107
|
+
moment: "catalog:",
|
|
108
|
+
"moment-locales-webpack-plugin": "catalog:build",
|
|
109
|
+
"node-fetch": "catalog:",
|
|
110
|
+
open: "catalog:",
|
|
111
|
+
postcss: "catalog:build",
|
|
112
|
+
"postcss-custom-media": "catalog:build",
|
|
113
|
+
"postcss-custom-properties": "catalog:build",
|
|
114
|
+
"postcss-import": "catalog:build",
|
|
115
|
+
"postcss-loader": "catalog:build",
|
|
116
|
+
"postcss-reporter": "catalog:build",
|
|
117
|
+
prettier: "catalog:lint",
|
|
118
|
+
prompts: "catalog:",
|
|
119
|
+
"querystring-es3": "catalog:",
|
|
120
|
+
"react-dev-utils": "catalog:build",
|
|
121
|
+
"react-refresh": "catalog:build",
|
|
122
|
+
"rollup-plugin-visualizer": "catalog:build",
|
|
123
|
+
sharp: "catalog:",
|
|
124
|
+
shelljs: "catalog:",
|
|
125
|
+
sirv: "catalog:",
|
|
126
|
+
"style-loader": "catalog:build",
|
|
127
|
+
"svg-url-loader": "catalog:build",
|
|
128
|
+
"terser-webpack-plugin": "catalog:build",
|
|
129
|
+
"thread-loader": "catalog:build",
|
|
130
|
+
url: "catalog:",
|
|
131
|
+
vite: "catalog:build",
|
|
132
|
+
"vite-bundle-analyzer": "catalog:build",
|
|
133
|
+
webpack: "catalog:build",
|
|
134
|
+
"webpack-bundle-analyzer": "catalog:build",
|
|
135
|
+
"webpack-dev-server": "catalog:build",
|
|
136
|
+
webpackbar: "catalog:build"
|
|
137
|
+
},
|
|
138
|
+
devDependencies: {
|
|
139
|
+
"@commercetools/composable-commerce-test-data": "catalog:",
|
|
140
|
+
"@commercetools/nimbus": "catalog:nimbus",
|
|
141
|
+
"@tsconfig/node22": "catalog:",
|
|
142
|
+
"@types/fs-extra": "catalog:",
|
|
143
|
+
"@types/lodash": "catalog:",
|
|
144
|
+
"@types/moment-locales-webpack-plugin": "catalog:",
|
|
145
|
+
"@types/node-fetch": "catalog:",
|
|
146
|
+
"@types/prettier": "catalog:",
|
|
147
|
+
"jest-mock": "catalog:test",
|
|
148
|
+
memfs: "catalog:test",
|
|
149
|
+
msw: "catalog:test",
|
|
150
|
+
puppeteer: "catalog:",
|
|
151
|
+
rimraf: "catalog:"
|
|
152
|
+
},
|
|
153
|
+
engines: {
|
|
154
|
+
node: "20.x || >=22.0.0"
|
|
155
|
+
},
|
|
156
|
+
peerDependencies: {
|
|
157
|
+
puppeteer: ">=20.0.0"
|
|
158
|
+
},
|
|
159
|
+
peerDependenciesMeta: {
|
|
160
|
+
puppeteer: {
|
|
161
|
+
optional: true
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
export { pkgJson as p };
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var pkgJson = {
|
|
4
|
+
name: "@commercetools-frontend/mc-scripts",
|
|
5
|
+
version: "27.7.0",
|
|
6
|
+
description: "Configuration and scripts for developing a MC application",
|
|
7
|
+
bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
8
|
+
repository: {
|
|
9
|
+
type: "git",
|
|
10
|
+
url: "https://github.com/commercetools/merchant-center-application-kit.git",
|
|
11
|
+
directory: "packages/mc-scripts"
|
|
12
|
+
},
|
|
13
|
+
homepage: "https://docs.commercetools.com/merchant-center-customizations",
|
|
14
|
+
keywords: [
|
|
15
|
+
"javascript",
|
|
16
|
+
"frontend",
|
|
17
|
+
"react",
|
|
18
|
+
"toolkit"
|
|
19
|
+
],
|
|
20
|
+
license: "MIT",
|
|
21
|
+
publishConfig: {
|
|
22
|
+
access: "public"
|
|
23
|
+
},
|
|
24
|
+
main: "dist/commercetools-frontend-mc-scripts.cjs.js",
|
|
25
|
+
module: "dist/commercetools-frontend-mc-scripts.esm.js",
|
|
26
|
+
preconstruct: {
|
|
27
|
+
entrypoints: [
|
|
28
|
+
"./index.ts",
|
|
29
|
+
"./application-runtime.ts",
|
|
30
|
+
"./cli.ts",
|
|
31
|
+
"./postcss.ts",
|
|
32
|
+
"./webpack.ts",
|
|
33
|
+
"./webpack-loaders/i18n-message-compilation-loader.ts"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
files: [
|
|
37
|
+
"bin",
|
|
38
|
+
"cli",
|
|
39
|
+
"dist",
|
|
40
|
+
"config",
|
|
41
|
+
"application-runtime",
|
|
42
|
+
"postcss",
|
|
43
|
+
"webpack",
|
|
44
|
+
"webpack-loaders",
|
|
45
|
+
"package.json",
|
|
46
|
+
"LICENSE",
|
|
47
|
+
"README.md"
|
|
48
|
+
],
|
|
49
|
+
bin: "./bin/cli.js",
|
|
50
|
+
browserslist: {
|
|
51
|
+
production: [
|
|
52
|
+
">1%",
|
|
53
|
+
"not op_mini all",
|
|
54
|
+
"not dead"
|
|
55
|
+
],
|
|
56
|
+
development: [
|
|
57
|
+
"last 2 firefox versions",
|
|
58
|
+
"last 2 chrome versions"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
dependencies: {
|
|
62
|
+
"@babel/core": "catalog:build",
|
|
63
|
+
"@babel/plugin-proposal-do-expressions": "catalog:build",
|
|
64
|
+
"@babel/runtime": "catalog:build",
|
|
65
|
+
"@babel/runtime-corejs3": "catalog:build",
|
|
66
|
+
"@commercetools-frontend/application-components": "workspace:^",
|
|
67
|
+
"@commercetools-frontend/application-config": "workspace:^",
|
|
68
|
+
"@commercetools-frontend/assets": "workspace:^",
|
|
69
|
+
"@commercetools-frontend/babel-preset-mc-app": "workspace:^",
|
|
70
|
+
"@commercetools-frontend/constants": "workspace:^",
|
|
71
|
+
"@commercetools-frontend/mc-dev-authentication": "workspace:^",
|
|
72
|
+
"@commercetools-frontend/mc-html-template": "workspace:^",
|
|
73
|
+
"@commercetools/http-user-agent": "catalog:",
|
|
74
|
+
"@emotion/babel-plugin": "catalog:build",
|
|
75
|
+
"@formatjs/cli-lib": "catalog:formatjs",
|
|
76
|
+
"@pmmmwh/react-refresh-webpack-plugin": "catalog:build",
|
|
77
|
+
"@rollup/plugin-graphql": "catalog:build",
|
|
78
|
+
"@rollup/pluginutils": "catalog:build",
|
|
79
|
+
"@svgr/babel-preset": "catalog:build",
|
|
80
|
+
"@svgr/core": "catalog:build",
|
|
81
|
+
"@svgr/webpack": "catalog:build",
|
|
82
|
+
"@types/prompts": "catalog:",
|
|
83
|
+
"@types/svgo": "catalog:",
|
|
84
|
+
"@types/webpack-bundle-analyzer": "catalog:",
|
|
85
|
+
"@vitejs/plugin-react": "catalog:build",
|
|
86
|
+
"@vitejs/plugin-react-swc": "catalog:build",
|
|
87
|
+
autoprefixer: "catalog:",
|
|
88
|
+
"babel-loader": "catalog:build",
|
|
89
|
+
"babel-plugin-formatjs": "catalog:build",
|
|
90
|
+
"babel-plugin-react-compiler": "catalog:build",
|
|
91
|
+
browserslist: "catalog:build",
|
|
92
|
+
chalk: "catalog:",
|
|
93
|
+
commander: "catalog:",
|
|
94
|
+
"core-js": "catalog:",
|
|
95
|
+
"css-loader": "catalog:build",
|
|
96
|
+
"css-minimizer-webpack-plugin": "catalog:build",
|
|
97
|
+
dotenv: "catalog:",
|
|
98
|
+
"dotenv-expand": "catalog:build",
|
|
99
|
+
"fs-extra": "catalog:",
|
|
100
|
+
glob: "catalog:",
|
|
101
|
+
graphql: "catalog:apollo",
|
|
102
|
+
"graphql-request": "catalog:",
|
|
103
|
+
"graphql-tag": "catalog:apollo",
|
|
104
|
+
"html-webpack-plugin": "catalog:build",
|
|
105
|
+
"json-loader": "catalog:build",
|
|
106
|
+
"jwt-decode": "catalog:",
|
|
107
|
+
lodash: "catalog:",
|
|
108
|
+
"mini-css-extract-plugin": "catalog:build",
|
|
109
|
+
moment: "catalog:",
|
|
110
|
+
"moment-locales-webpack-plugin": "catalog:build",
|
|
111
|
+
"node-fetch": "catalog:",
|
|
112
|
+
open: "catalog:",
|
|
113
|
+
postcss: "catalog:build",
|
|
114
|
+
"postcss-custom-media": "catalog:build",
|
|
115
|
+
"postcss-custom-properties": "catalog:build",
|
|
116
|
+
"postcss-import": "catalog:build",
|
|
117
|
+
"postcss-loader": "catalog:build",
|
|
118
|
+
"postcss-reporter": "catalog:build",
|
|
119
|
+
prettier: "catalog:lint",
|
|
120
|
+
prompts: "catalog:",
|
|
121
|
+
"querystring-es3": "catalog:",
|
|
122
|
+
"react-dev-utils": "catalog:build",
|
|
123
|
+
"react-refresh": "catalog:build",
|
|
124
|
+
"rollup-plugin-visualizer": "catalog:build",
|
|
125
|
+
sharp: "catalog:",
|
|
126
|
+
shelljs: "catalog:",
|
|
127
|
+
sirv: "catalog:",
|
|
128
|
+
"style-loader": "catalog:build",
|
|
129
|
+
"svg-url-loader": "catalog:build",
|
|
130
|
+
"terser-webpack-plugin": "catalog:build",
|
|
131
|
+
"thread-loader": "catalog:build",
|
|
132
|
+
url: "catalog:",
|
|
133
|
+
vite: "catalog:build",
|
|
134
|
+
"vite-bundle-analyzer": "catalog:build",
|
|
135
|
+
webpack: "catalog:build",
|
|
136
|
+
"webpack-bundle-analyzer": "catalog:build",
|
|
137
|
+
"webpack-dev-server": "catalog:build",
|
|
138
|
+
webpackbar: "catalog:build"
|
|
139
|
+
},
|
|
140
|
+
devDependencies: {
|
|
141
|
+
"@commercetools/composable-commerce-test-data": "catalog:",
|
|
142
|
+
"@commercetools/nimbus": "catalog:nimbus",
|
|
143
|
+
"@tsconfig/node22": "catalog:",
|
|
144
|
+
"@types/fs-extra": "catalog:",
|
|
145
|
+
"@types/lodash": "catalog:",
|
|
146
|
+
"@types/moment-locales-webpack-plugin": "catalog:",
|
|
147
|
+
"@types/node-fetch": "catalog:",
|
|
148
|
+
"@types/prettier": "catalog:",
|
|
149
|
+
"jest-mock": "catalog:test",
|
|
150
|
+
memfs: "catalog:test",
|
|
151
|
+
msw: "catalog:test",
|
|
152
|
+
puppeteer: "catalog:",
|
|
153
|
+
rimraf: "catalog:"
|
|
154
|
+
},
|
|
155
|
+
engines: {
|
|
156
|
+
node: "20.x || >=22.0.0"
|
|
157
|
+
},
|
|
158
|
+
peerDependencies: {
|
|
159
|
+
puppeteer: ">=20.0.0"
|
|
160
|
+
},
|
|
161
|
+
peerDependenciesMeta: {
|
|
162
|
+
puppeteer: {
|
|
163
|
+
optional: true
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
exports.pkgJson = pkgJson;
|