@commercetools-frontend/mc-scripts 22.14.0 → 22.14.2
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 +5 -5
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +5 -5
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +5 -5
- package/dist/{build-a73f21aa.esm.js → build-62a661fc.esm.js} +4 -3
- package/dist/{build-d74a9d7d.cjs.prod.js → build-673ba497.cjs.prod.js} +4 -3
- package/dist/{build-26399454.cjs.dev.js → build-e15ef955.cjs.dev.js} +4 -3
- package/dist/{build-vite-9de4820c.esm.js → build-vite-878805aa.esm.js} +2 -1
- package/dist/{build-vite-1ba28dd8.cjs.prod.js → build-vite-b674f8bd.cjs.prod.js} +2 -1
- package/dist/{build-vite-e7a6315c.cjs.dev.js → build-vite-eaddf5a8.cjs.dev.js} +2 -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-747f95ee.cjs.prod.js → config-sync-b9af89d4.cjs.prod.js} +2 -2
- package/dist/{config-sync-75aa05d9.cjs.dev.js → config-sync-f157e99c.cjs.dev.js} +2 -2
- package/dist/{config-sync-56be7225.esm.js → config-sync-f299da5b.esm.js} +2 -2
- package/dist/{create-postcss-config-97275e32.esm.js → create-postcss-config-9c76060a.esm.js} +1 -1
- package/dist/{create-postcss-config-d90e70db.cjs.prod.js → create-postcss-config-9ca89418.cjs.prod.js} +1 -1
- package/dist/{create-postcss-config-cd0c19be.cjs.dev.js → create-postcss-config-a38f5519.cjs.dev.js} +1 -1
- package/dist/{create-webpack-config-for-development-5ed79749.cjs.dev.js → create-webpack-config-for-development-5a0ebbe2.cjs.dev.js} +36 -1
- package/dist/{create-webpack-config-for-development-4e195386.esm.js → create-webpack-config-for-development-a2a3c933.esm.js} +35 -1
- package/dist/{create-webpack-config-for-development-46f7e4a4.cjs.prod.js → create-webpack-config-for-development-aa4798fd.cjs.prod.js} +36 -1
- package/dist/{create-webpack-config-for-production-6da944a7.cjs.dev.js → create-webpack-config-for-production-248296c7.cjs.dev.js} +36 -1
- package/dist/{create-webpack-config-for-production-2049ad69.esm.js → create-webpack-config-for-production-32af2687.esm.js} +35 -1
- package/dist/{create-webpack-config-for-production-4d4c823d.cjs.prod.js → create-webpack-config-for-production-49a79bf6.cjs.prod.js} +36 -1
- package/dist/{credentials-storage-bd71d3bc.cjs.prod.js → credentials-storage-32a14cec.cjs.prod.js} +1 -1
- package/dist/{credentials-storage-c53859a4.cjs.dev.js → credentials-storage-8a24802f.cjs.dev.js} +1 -1
- package/dist/{credentials-storage-d960c354.esm.js → credentials-storage-beb2066f.esm.js} +1 -1
- package/dist/{login-f6ae1f0a.cjs.prod.js → login-1b1c4cf0.cjs.prod.js} +2 -2
- package/dist/{login-f94bbb06.cjs.dev.js → login-64bdd8eb.cjs.dev.js} +2 -2
- package/dist/{login-92dc6a4c.esm.js → login-6f67c0e1.esm.js} +2 -2
- package/dist/{package-89c70cf0.cjs.dev.js → package-3efd1a80.cjs.dev.js} +9 -9
- package/dist/{package-aa88ed64.cjs.prod.js → package-4ecafad2.cjs.prod.js} +9 -9
- package/dist/{package-b695b8e4.esm.js → package-b6c00a3a.esm.js} +9 -9
- package/dist/{start-b84603c1.cjs.dev.js → start-02fe8ce9.cjs.dev.js} +4 -3
- package/dist/{start-b48d2685.cjs.prod.js → start-7aa1d29a.cjs.prod.js} +4 -3
- package/dist/{start-1ac0ff3c.esm.js → start-e167b292.esm.js} +4 -3
- package/dist/{start-vite-3966d625.cjs.dev.js → start-vite-1eace36f.cjs.dev.js} +2 -1
- package/dist/{start-vite-cf0213a1.esm.js → start-vite-42ce74bc.esm.js} +2 -1
- package/dist/{start-vite-5c78605b.cjs.prod.js → start-vite-e1f2b31e.cjs.prod.js} +2 -1
- package/dist/{vite-plugin-svgr-a732f8df.cjs.prod.js → vite-plugin-svgr-12a557b9.cjs.dev.js} +35 -0
- package/dist/{vite-plugin-svgr-5eb1c511.cjs.dev.js → vite-plugin-svgr-e52c8492.cjs.prod.js} +35 -0
- package/dist/vite-plugin-svgr-e6f228d8.esm.js +84 -0
- package/package.json +9 -9
- 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/vite-plugin-svgr-5c953fe7.esm.js +0 -50
|
@@ -10,7 +10,7 @@ var path = require('path');
|
|
|
10
10
|
var cac = require('cac');
|
|
11
11
|
var dotenv = require('dotenv');
|
|
12
12
|
var dotenvExpand = require('dotenv-expand');
|
|
13
|
-
var _package = require('../../dist/package-
|
|
13
|
+
var _package = require('../../dist/package-3efd1a80.cjs.dev.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
16
16
|
|
|
@@ -56,7 +56,7 @@ async function run() {
|
|
|
56
56
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
57
57
|
console.log('');
|
|
58
58
|
}
|
|
59
|
-
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-
|
|
59
|
+
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-1eace36f.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-02fe8ce9.cjs.dev.js'); });
|
|
60
60
|
await startCommand.default();
|
|
61
61
|
});
|
|
62
62
|
|
|
@@ -77,7 +77,7 @@ async function run() {
|
|
|
77
77
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
78
78
|
console.log('');
|
|
79
79
|
}
|
|
80
|
-
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-
|
|
80
|
+
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-eaddf5a8.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-e15ef955.cjs.dev.js'); });
|
|
81
81
|
await buildCommand.default();
|
|
82
82
|
const shouldAlsoCompile = !options.buildOnly;
|
|
83
83
|
if (shouldAlsoCompile) {
|
|
@@ -126,7 +126,7 @@ async function run() {
|
|
|
126
126
|
|
|
127
127
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
128
128
|
process.env.NODE_ENV = 'production';
|
|
129
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
129
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-64bdd8eb.cjs.dev.js'); });
|
|
130
130
|
await loginCommand.default();
|
|
131
131
|
});
|
|
132
132
|
|
|
@@ -141,7 +141,7 @@ async function run() {
|
|
|
141
141
|
|
|
142
142
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
143
143
|
process.env.NODE_ENV = 'production';
|
|
144
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
144
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-f157e99c.cjs.dev.js'); });
|
|
145
145
|
await configSyncCommand.default(options);
|
|
146
146
|
});
|
|
147
147
|
cli.help();
|
|
@@ -10,7 +10,7 @@ var path = require('path');
|
|
|
10
10
|
var cac = require('cac');
|
|
11
11
|
var dotenv = require('dotenv');
|
|
12
12
|
var dotenvExpand = require('dotenv-expand');
|
|
13
|
-
var _package = require('../../dist/package-
|
|
13
|
+
var _package = require('../../dist/package-4ecafad2.cjs.prod.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
16
16
|
|
|
@@ -56,7 +56,7 @@ async function run() {
|
|
|
56
56
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
57
57
|
console.log('');
|
|
58
58
|
}
|
|
59
|
-
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-
|
|
59
|
+
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-e1f2b31e.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-7aa1d29a.cjs.prod.js'); });
|
|
60
60
|
await startCommand.default();
|
|
61
61
|
});
|
|
62
62
|
|
|
@@ -77,7 +77,7 @@ async function run() {
|
|
|
77
77
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
78
78
|
console.log('');
|
|
79
79
|
}
|
|
80
|
-
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-
|
|
80
|
+
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-b674f8bd.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-673ba497.cjs.prod.js'); });
|
|
81
81
|
await buildCommand.default();
|
|
82
82
|
const shouldAlsoCompile = !options.buildOnly;
|
|
83
83
|
if (shouldAlsoCompile) {
|
|
@@ -126,7 +126,7 @@ async function run() {
|
|
|
126
126
|
|
|
127
127
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
128
128
|
process.env.NODE_ENV = 'production';
|
|
129
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
129
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-1b1c4cf0.cjs.prod.js'); });
|
|
130
130
|
await loginCommand.default();
|
|
131
131
|
});
|
|
132
132
|
|
|
@@ -141,7 +141,7 @@ async function run() {
|
|
|
141
141
|
|
|
142
142
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
143
143
|
process.env.NODE_ENV = 'production';
|
|
144
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
144
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-b9af89d4.cjs.prod.js'); });
|
|
145
145
|
await configSyncCommand.default(options);
|
|
146
146
|
});
|
|
147
147
|
cli.help();
|
|
@@ -6,7 +6,7 @@ import path from 'path';
|
|
|
6
6
|
import { cac } from 'cac';
|
|
7
7
|
import dotenv from 'dotenv';
|
|
8
8
|
import dotenvExpand from 'dotenv-expand';
|
|
9
|
-
import { p as pkgJson } from '../../dist/package-
|
|
9
|
+
import { p as pkgJson } from '../../dist/package-b6c00a3a.esm.js';
|
|
10
10
|
|
|
11
11
|
const cli = cac('mc-scripts');
|
|
12
12
|
|
|
@@ -42,7 +42,7 @@ async function run() {
|
|
|
42
42
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
43
43
|
console.log('');
|
|
44
44
|
}
|
|
45
|
-
const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-
|
|
45
|
+
const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-42ce74bc.esm.js') : await import('../../dist/start-e167b292.esm.js');
|
|
46
46
|
await startCommand.default();
|
|
47
47
|
});
|
|
48
48
|
|
|
@@ -63,7 +63,7 @@ async function run() {
|
|
|
63
63
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
64
64
|
console.log('');
|
|
65
65
|
}
|
|
66
|
-
const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-
|
|
66
|
+
const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-878805aa.esm.js') : await import('../../dist/build-62a661fc.esm.js');
|
|
67
67
|
await buildCommand.default();
|
|
68
68
|
const shouldAlsoCompile = !options.buildOnly;
|
|
69
69
|
if (shouldAlsoCompile) {
|
|
@@ -112,7 +112,7 @@ async function run() {
|
|
|
112
112
|
|
|
113
113
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
114
114
|
process.env.NODE_ENV = 'production';
|
|
115
|
-
const loginCommand = await import('../../dist/login-
|
|
115
|
+
const loginCommand = await import('../../dist/login-6f67c0e1.esm.js');
|
|
116
116
|
await loginCommand.default();
|
|
117
117
|
});
|
|
118
118
|
|
|
@@ -127,7 +127,7 @@ async function run() {
|
|
|
127
127
|
|
|
128
128
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
129
129
|
process.env.NODE_ENV = 'production';
|
|
130
|
-
const configSyncCommand = await import('../../dist/config-sync-
|
|
130
|
+
const configSyncCommand = await import('../../dist/config-sync-f299da5b.esm.js');
|
|
131
131
|
await configSyncCommand.default(options);
|
|
132
132
|
});
|
|
133
133
|
cli.help();
|
|
@@ -8,7 +8,7 @@ import formatWebpackMessages from 'react-dev-utils/formatWebpackMessages';
|
|
|
8
8
|
import printBuildError from 'react-dev-utils/printBuildError';
|
|
9
9
|
import webpack from 'webpack';
|
|
10
10
|
import { packageLocation } from '@commercetools-frontend/assets';
|
|
11
|
-
import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-
|
|
11
|
+
import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-32af2687.esm.js';
|
|
12
12
|
import { p as paths } from './paths-ded20ae1.esm.js';
|
|
13
13
|
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
14
14
|
import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
@@ -24,6 +24,7 @@ import '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
|
24
24
|
import '@babel/runtime-corejs3/core-js-stable/instance/ends-with';
|
|
25
25
|
import '@babel/runtime-corejs3/core-js-stable/number/is-integer';
|
|
26
26
|
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
27
|
+
import 'crypto';
|
|
27
28
|
import 'css-minimizer-webpack-plugin';
|
|
28
29
|
import 'html-webpack-plugin';
|
|
29
30
|
import 'mini-css-extract-plugin';
|
|
@@ -36,9 +37,9 @@ import '@babel/runtime-corejs3/core-js-stable/instance/bind';
|
|
|
36
37
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
37
38
|
import '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
38
39
|
import 'fs';
|
|
39
|
-
import './create-postcss-config-
|
|
40
|
+
import './create-postcss-config-9c76060a.esm.js';
|
|
40
41
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
41
|
-
import './package-
|
|
42
|
+
import './package-b6c00a3a.esm.js';
|
|
42
43
|
import './has-jsx-runtime-e3ecb09b.esm.js';
|
|
43
44
|
import './vendors-to-transpile-7dc84a72.esm.js';
|
|
44
45
|
import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
@@ -10,7 +10,7 @@ var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
|
|
|
10
10
|
var printBuildError = require('react-dev-utils/printBuildError');
|
|
11
11
|
var webpack = require('webpack');
|
|
12
12
|
var assets = require('@commercetools-frontend/assets');
|
|
13
|
-
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-
|
|
13
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-49a79bf6.cjs.prod.js');
|
|
14
14
|
var paths = require('./paths-854af5ef.cjs.prod.js');
|
|
15
15
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
16
16
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -26,6 +26,7 @@ require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
|
26
26
|
require('@babel/runtime-corejs3/core-js-stable/instance/ends-with');
|
|
27
27
|
require('@babel/runtime-corejs3/core-js-stable/number/is-integer');
|
|
28
28
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
29
|
+
require('crypto');
|
|
29
30
|
require('css-minimizer-webpack-plugin');
|
|
30
31
|
require('html-webpack-plugin');
|
|
31
32
|
require('mini-css-extract-plugin');
|
|
@@ -38,9 +39,9 @@ require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
|
38
39
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
39
40
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
40
41
|
require('fs');
|
|
41
|
-
require('./create-postcss-config-
|
|
42
|
+
require('./create-postcss-config-9ca89418.cjs.prod.js');
|
|
42
43
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
43
|
-
require('./package-
|
|
44
|
+
require('./package-4ecafad2.cjs.prod.js');
|
|
44
45
|
require('./has-jsx-runtime-c3202df5.cjs.prod.js');
|
|
45
46
|
require('./vendors-to-transpile-04a49d40.cjs.prod.js');
|
|
46
47
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
@@ -10,7 +10,7 @@ var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
|
|
|
10
10
|
var printBuildError = require('react-dev-utils/printBuildError');
|
|
11
11
|
var webpack = require('webpack');
|
|
12
12
|
var assets = require('@commercetools-frontend/assets');
|
|
13
|
-
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-
|
|
13
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-248296c7.cjs.dev.js');
|
|
14
14
|
var paths = require('./paths-d1febc82.cjs.dev.js');
|
|
15
15
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
16
16
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -26,6 +26,7 @@ require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
|
26
26
|
require('@babel/runtime-corejs3/core-js-stable/instance/ends-with');
|
|
27
27
|
require('@babel/runtime-corejs3/core-js-stable/number/is-integer');
|
|
28
28
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
29
|
+
require('crypto');
|
|
29
30
|
require('css-minimizer-webpack-plugin');
|
|
30
31
|
require('html-webpack-plugin');
|
|
31
32
|
require('mini-css-extract-plugin');
|
|
@@ -38,9 +39,9 @@ require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
|
38
39
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
39
40
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
40
41
|
require('fs');
|
|
41
|
-
require('./create-postcss-config-
|
|
42
|
+
require('./create-postcss-config-a38f5519.cjs.dev.js');
|
|
42
43
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
43
|
-
require('./package-
|
|
44
|
+
require('./package-3efd1a80.cjs.dev.js');
|
|
44
45
|
require('./has-jsx-runtime-aa5d21ee.cjs.dev.js');
|
|
45
46
|
require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
|
|
46
47
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
@@ -8,10 +8,11 @@ import { build } from 'vite';
|
|
|
8
8
|
import { packageLocation } from '@commercetools-frontend/assets';
|
|
9
9
|
import { generateTemplate } from '@commercetools-frontend/mc-html-template';
|
|
10
10
|
import { p as paths } from './paths-ded20ae1.esm.js';
|
|
11
|
-
import { v as vitePluginSvgr } from './vite-plugin-svgr-
|
|
11
|
+
import { v as vitePluginSvgr } from './vite-plugin-svgr-e6f228d8.esm.js';
|
|
12
12
|
import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
13
13
|
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
14
14
|
import 'fs';
|
|
15
|
+
import 'crypto';
|
|
15
16
|
import '@rollup/pluginutils';
|
|
16
17
|
|
|
17
18
|
// This script/function is injected into the `index.html` and used by Vite
|
|
@@ -10,10 +10,11 @@ var vite = require('vite');
|
|
|
10
10
|
var assets = require('@commercetools-frontend/assets');
|
|
11
11
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
12
12
|
var paths = require('./paths-854af5ef.cjs.prod.js');
|
|
13
|
-
var vitePluginSvgr = require('./vite-plugin-svgr-
|
|
13
|
+
var vitePluginSvgr = require('./vite-plugin-svgr-e52c8492.cjs.prod.js');
|
|
14
14
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
15
15
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
16
16
|
require('fs');
|
|
17
|
+
require('crypto');
|
|
17
18
|
require('@rollup/pluginutils');
|
|
18
19
|
|
|
19
20
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -10,10 +10,11 @@ var vite = require('vite');
|
|
|
10
10
|
var assets = require('@commercetools-frontend/assets');
|
|
11
11
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
12
12
|
var paths = require('./paths-d1febc82.cjs.dev.js');
|
|
13
|
-
var vitePluginSvgr = require('./vite-plugin-svgr-
|
|
13
|
+
var vitePluginSvgr = require('./vite-plugin-svgr-12a557b9.cjs.dev.js');
|
|
14
14
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
15
15
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
16
16
|
require('fs');
|
|
17
|
+
require('crypto');
|
|
17
18
|
require('@rollup/pluginutils');
|
|
18
19
|
|
|
19
20
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "22.14.
|
|
8
|
+
var version = "22.14.2";
|
|
9
9
|
|
|
10
10
|
// These exports are deprecated.
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "22.14.
|
|
8
|
+
var version = "22.14.2";
|
|
9
9
|
|
|
10
10
|
// These exports are deprecated.
|
|
11
11
|
|
|
@@ -10,7 +10,7 @@ var chalk = require('chalk');
|
|
|
10
10
|
var omit = require('lodash/omit');
|
|
11
11
|
var prompts = require('prompts');
|
|
12
12
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
13
|
-
var credentialsStorage$2 = require('./credentials-storage-
|
|
13
|
+
var credentialsStorage$2 = require('./credentials-storage-32a14cec.cjs.prod.js');
|
|
14
14
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
15
15
|
var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
|
|
16
16
|
var _Object$getOwnPropertyDescriptors = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors');
|
|
@@ -27,7 +27,7 @@ var graphql = require('graphql');
|
|
|
27
27
|
var graphqlRequest = require('graphql-request');
|
|
28
28
|
var constants = require('@commercetools-frontend/constants');
|
|
29
29
|
require('@commercetools/http-user-agent');
|
|
30
|
-
require('./package-
|
|
30
|
+
require('./package-4ecafad2.cjs.prod.js');
|
|
31
31
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
32
32
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
33
33
|
require('@babel/runtime-corejs3/core-js-stable/date/now');
|
|
@@ -10,7 +10,7 @@ var chalk = require('chalk');
|
|
|
10
10
|
var omit = require('lodash/omit');
|
|
11
11
|
var prompts = require('prompts');
|
|
12
12
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
13
|
-
var credentialsStorage$2 = require('./credentials-storage-
|
|
13
|
+
var credentialsStorage$2 = require('./credentials-storage-8a24802f.cjs.dev.js');
|
|
14
14
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
15
15
|
var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
|
|
16
16
|
var _Object$getOwnPropertyDescriptors = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors');
|
|
@@ -27,7 +27,7 @@ var graphql = require('graphql');
|
|
|
27
27
|
var graphqlRequest = require('graphql-request');
|
|
28
28
|
var constants = require('@commercetools-frontend/constants');
|
|
29
29
|
require('@commercetools/http-user-agent');
|
|
30
|
-
require('./package-
|
|
30
|
+
require('./package-3efd1a80.cjs.dev.js');
|
|
31
31
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
32
32
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
33
33
|
require('@babel/runtime-corejs3/core-js-stable/date/now');
|
|
@@ -8,7 +8,7 @@ import chalk from 'chalk';
|
|
|
8
8
|
import omit from 'lodash/omit';
|
|
9
9
|
import prompts from 'prompts';
|
|
10
10
|
import { sanitizeSvg, processConfig } from '@commercetools-frontend/application-config';
|
|
11
|
-
import { C as CredentialsStorage, u as userAgent } from './credentials-storage-
|
|
11
|
+
import { C as CredentialsStorage, u as userAgent } from './credentials-storage-beb2066f.esm.js';
|
|
12
12
|
import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
13
13
|
import _Object$getOwnPropertyDescriptor from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor';
|
|
14
14
|
import _Object$getOwnPropertyDescriptors from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors';
|
|
@@ -25,7 +25,7 @@ import { print } from 'graphql';
|
|
|
25
25
|
import { GraphQLClient, ClientError } from 'graphql-request';
|
|
26
26
|
import { GRAPHQL_TARGETS } from '@commercetools-frontend/constants';
|
|
27
27
|
import '@commercetools/http-user-agent';
|
|
28
|
-
import './package-
|
|
28
|
+
import './package-b6c00a3a.esm.js';
|
|
29
29
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
30
30
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
31
31
|
import '@babel/runtime-corejs3/core-js-stable/date/now';
|
package/dist/{create-postcss-config-97275e32.esm.js → create-postcss-config-9c76060a.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
|
|
2
2
|
import path from 'path';
|
|
3
|
-
import { p as pkgJson } from './package-
|
|
3
|
+
import { p as pkgJson } from './package-b6c00a3a.esm.js';
|
|
4
4
|
|
|
5
5
|
// This function aims to return the same result as `require.resolve`.
|
|
6
6
|
// However, resolving a path to a `.css` file does not return the real
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var _package = require('./package-
|
|
5
|
+
var _package = require('./package-4ecafad2.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
8
|
|
package/dist/{create-postcss-config-cd0c19be.cjs.dev.js → create-postcss-config-a38f5519.cjs.dev.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var _package = require('./package-
|
|
5
|
+
var _package = require('./package-3efd1a80.cjs.dev.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -13,6 +13,7 @@ var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
|
|
|
13
13
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
14
14
|
var _endsWithInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/ends-with');
|
|
15
15
|
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
16
|
+
var crypto = require('crypto');
|
|
16
17
|
var path = require('path');
|
|
17
18
|
var ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
|
|
18
19
|
var HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
@@ -24,7 +25,7 @@ var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
|
24
25
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
25
26
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
26
27
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
27
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
28
|
+
var createPostcssConfig = require('./create-postcss-config-a38f5519.cjs.dev.js');
|
|
28
29
|
var hasJsxRuntime = require('./has-jsx-runtime-aa5d21ee.cjs.dev.js');
|
|
29
30
|
var paths = require('./paths-d1febc82.cjs.dev.js');
|
|
30
31
|
var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
|
|
@@ -43,6 +44,7 @@ var _filterInstanceProperty__default = /*#__PURE__*/_interopDefault(_filterInsta
|
|
|
43
44
|
var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
|
|
44
45
|
var _endsWithInstanceProperty__default = /*#__PURE__*/_interopDefault(_endsWithInstanceProperty);
|
|
45
46
|
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
|
|
47
|
+
var crypto__default = /*#__PURE__*/_interopDefault(crypto);
|
|
46
48
|
var path__default = /*#__PURE__*/_interopDefault(path);
|
|
47
49
|
var ReactRefreshWebpackPlugin__default = /*#__PURE__*/_interopDefault(ReactRefreshWebpackPlugin);
|
|
48
50
|
var HtmlWebpackPlugin__default = /*#__PURE__*/_interopDefault(HtmlWebpackPlugin);
|
|
@@ -273,6 +275,39 @@ function createWebpackConfigForDevelopment() {
|
|
|
273
275
|
removeViewBox: false
|
|
274
276
|
}
|
|
275
277
|
}
|
|
278
|
+
},
|
|
279
|
+
// Avoid collisions with ids in other SVGs,
|
|
280
|
+
// which was causing incorrect masking, gradient directions, etc
|
|
281
|
+
// this is an ongoing issue with both SVGR and SVGO,
|
|
282
|
+
// https://github.com/svg/svgo/issues/913#issuecomment-369373572
|
|
283
|
+
// see SVGR issues:
|
|
284
|
+
// https://github.com/gregberge/svgr/issues/322
|
|
285
|
+
// https://github.com/gregberge/svgr/issues/210
|
|
286
|
+
// see SVGO issues:
|
|
287
|
+
// https://github.com/svg/svgo/issues/674
|
|
288
|
+
// https://github.com/svg/svgo/issues/1746
|
|
289
|
+
//
|
|
290
|
+
// Initially, a naive counter was implemented based on this github comment:
|
|
291
|
+
// https://github.com/svg/svgo/issues/1746#issuecomment-1803600573
|
|
292
|
+
// But while that implementation insured id’s that are unique,
|
|
293
|
+
// it did not work in cases where the id is both declared and referenced in the same file,
|
|
294
|
+
// because the refernce gets a separate unique ID (a different number from the counter).
|
|
295
|
+
//
|
|
296
|
+
// The current implementation is based on this github comment:
|
|
297
|
+
// https://github.com/svg/svgo/issues/913#issuecomment-369373572
|
|
298
|
+
// Generates a hash of the filepath of the svg file, resulting in a prefix which is:
|
|
299
|
+
// - Short,
|
|
300
|
+
// - With characters valid for IDs,
|
|
301
|
+
// - The same within a file,
|
|
302
|
+
// - And different in different files.
|
|
303
|
+
{
|
|
304
|
+
name: 'prefixIds',
|
|
305
|
+
params: {
|
|
306
|
+
delim: '',
|
|
307
|
+
prefix: (_, info) => "svg".concat(crypto__default["default"].createHash('shake256', {
|
|
308
|
+
outputLength: 6
|
|
309
|
+
}).update(info.path || '').digest('hex'))
|
|
310
|
+
}
|
|
276
311
|
}]
|
|
277
312
|
}
|
|
278
313
|
}
|
|
@@ -11,6 +11,7 @@ import _filterInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
|
|
|
11
11
|
import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
12
12
|
import _endsWithInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/ends-with';
|
|
13
13
|
import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
14
|
+
import crypto from 'crypto';
|
|
14
15
|
import path from 'path';
|
|
15
16
|
import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin';
|
|
16
17
|
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
@@ -22,7 +23,7 @@ import _createClass from '@babel/runtime-corejs3/helpers/esm/createClass';
|
|
|
22
23
|
import _Object$assign from '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
23
24
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
24
25
|
import { replaceHtmlPlaceholders } from '@commercetools-frontend/mc-html-template';
|
|
25
|
-
import { c as createPostcssConfig } from './create-postcss-config-
|
|
26
|
+
import { c as createPostcssConfig } from './create-postcss-config-9c76060a.esm.js';
|
|
26
27
|
import { h as hasJsxRuntime } from './has-jsx-runtime-e3ecb09b.esm.js';
|
|
27
28
|
import { p as paths } from './paths-ded20ae1.esm.js';
|
|
28
29
|
import { v as vendorsToTranspile } from './vendors-to-transpile-7dc84a72.esm.js';
|
|
@@ -249,6 +250,39 @@ function createWebpackConfigForDevelopment() {
|
|
|
249
250
|
removeViewBox: false
|
|
250
251
|
}
|
|
251
252
|
}
|
|
253
|
+
},
|
|
254
|
+
// Avoid collisions with ids in other SVGs,
|
|
255
|
+
// which was causing incorrect masking, gradient directions, etc
|
|
256
|
+
// this is an ongoing issue with both SVGR and SVGO,
|
|
257
|
+
// https://github.com/svg/svgo/issues/913#issuecomment-369373572
|
|
258
|
+
// see SVGR issues:
|
|
259
|
+
// https://github.com/gregberge/svgr/issues/322
|
|
260
|
+
// https://github.com/gregberge/svgr/issues/210
|
|
261
|
+
// see SVGO issues:
|
|
262
|
+
// https://github.com/svg/svgo/issues/674
|
|
263
|
+
// https://github.com/svg/svgo/issues/1746
|
|
264
|
+
//
|
|
265
|
+
// Initially, a naive counter was implemented based on this github comment:
|
|
266
|
+
// https://github.com/svg/svgo/issues/1746#issuecomment-1803600573
|
|
267
|
+
// But while that implementation insured id’s that are unique,
|
|
268
|
+
// it did not work in cases where the id is both declared and referenced in the same file,
|
|
269
|
+
// because the refernce gets a separate unique ID (a different number from the counter).
|
|
270
|
+
//
|
|
271
|
+
// The current implementation is based on this github comment:
|
|
272
|
+
// https://github.com/svg/svgo/issues/913#issuecomment-369373572
|
|
273
|
+
// Generates a hash of the filepath of the svg file, resulting in a prefix which is:
|
|
274
|
+
// - Short,
|
|
275
|
+
// - With characters valid for IDs,
|
|
276
|
+
// - The same within a file,
|
|
277
|
+
// - And different in different files.
|
|
278
|
+
{
|
|
279
|
+
name: 'prefixIds',
|
|
280
|
+
params: {
|
|
281
|
+
delim: '',
|
|
282
|
+
prefix: (_, info) => "svg".concat(crypto.createHash('shake256', {
|
|
283
|
+
outputLength: 6
|
|
284
|
+
}).update(info.path || '').digest('hex'))
|
|
285
|
+
}
|
|
252
286
|
}]
|
|
253
287
|
}
|
|
254
288
|
}
|
|
@@ -13,6 +13,7 @@ var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
|
|
|
13
13
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
14
14
|
var _endsWithInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/ends-with');
|
|
15
15
|
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
16
|
+
var crypto = require('crypto');
|
|
16
17
|
var path = require('path');
|
|
17
18
|
var ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
|
|
18
19
|
var HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
@@ -24,7 +25,7 @@ var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
|
24
25
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
25
26
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
26
27
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
27
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
28
|
+
var createPostcssConfig = require('./create-postcss-config-9ca89418.cjs.prod.js');
|
|
28
29
|
var hasJsxRuntime = require('./has-jsx-runtime-c3202df5.cjs.prod.js');
|
|
29
30
|
var paths = require('./paths-854af5ef.cjs.prod.js');
|
|
30
31
|
var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.cjs.prod.js');
|
|
@@ -43,6 +44,7 @@ var _filterInstanceProperty__default = /*#__PURE__*/_interopDefault(_filterInsta
|
|
|
43
44
|
var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
|
|
44
45
|
var _endsWithInstanceProperty__default = /*#__PURE__*/_interopDefault(_endsWithInstanceProperty);
|
|
45
46
|
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
|
|
47
|
+
var crypto__default = /*#__PURE__*/_interopDefault(crypto);
|
|
46
48
|
var path__default = /*#__PURE__*/_interopDefault(path);
|
|
47
49
|
var ReactRefreshWebpackPlugin__default = /*#__PURE__*/_interopDefault(ReactRefreshWebpackPlugin);
|
|
48
50
|
var HtmlWebpackPlugin__default = /*#__PURE__*/_interopDefault(HtmlWebpackPlugin);
|
|
@@ -273,6 +275,39 @@ function createWebpackConfigForDevelopment() {
|
|
|
273
275
|
removeViewBox: false
|
|
274
276
|
}
|
|
275
277
|
}
|
|
278
|
+
},
|
|
279
|
+
// Avoid collisions with ids in other SVGs,
|
|
280
|
+
// which was causing incorrect masking, gradient directions, etc
|
|
281
|
+
// this is an ongoing issue with both SVGR and SVGO,
|
|
282
|
+
// https://github.com/svg/svgo/issues/913#issuecomment-369373572
|
|
283
|
+
// see SVGR issues:
|
|
284
|
+
// https://github.com/gregberge/svgr/issues/322
|
|
285
|
+
// https://github.com/gregberge/svgr/issues/210
|
|
286
|
+
// see SVGO issues:
|
|
287
|
+
// https://github.com/svg/svgo/issues/674
|
|
288
|
+
// https://github.com/svg/svgo/issues/1746
|
|
289
|
+
//
|
|
290
|
+
// Initially, a naive counter was implemented based on this github comment:
|
|
291
|
+
// https://github.com/svg/svgo/issues/1746#issuecomment-1803600573
|
|
292
|
+
// But while that implementation insured id’s that are unique,
|
|
293
|
+
// it did not work in cases where the id is both declared and referenced in the same file,
|
|
294
|
+
// because the refernce gets a separate unique ID (a different number from the counter).
|
|
295
|
+
//
|
|
296
|
+
// The current implementation is based on this github comment:
|
|
297
|
+
// https://github.com/svg/svgo/issues/913#issuecomment-369373572
|
|
298
|
+
// Generates a hash of the filepath of the svg file, resulting in a prefix which is:
|
|
299
|
+
// - Short,
|
|
300
|
+
// - With characters valid for IDs,
|
|
301
|
+
// - The same within a file,
|
|
302
|
+
// - And different in different files.
|
|
303
|
+
{
|
|
304
|
+
name: 'prefixIds',
|
|
305
|
+
params: {
|
|
306
|
+
delim: '',
|
|
307
|
+
prefix: (_, info) => "svg".concat(crypto__default["default"].createHash('shake256', {
|
|
308
|
+
outputLength: 6
|
|
309
|
+
}).update(info.path || '').digest('hex'))
|
|
310
|
+
}
|
|
276
311
|
}]
|
|
277
312
|
}
|
|
278
313
|
}
|