@commercetools-frontend/mc-scripts 20.11.0 → 20.13.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.
|
@@ -201,15 +201,16 @@ module.exports = function createWebpackConfigForDevelopment(options = {}) {
|
|
|
201
201
|
}, {
|
|
202
202
|
loader: require.resolve('@svgr/webpack'),
|
|
203
203
|
options: {
|
|
204
|
-
// NOTE: disable this and manually add `removeViewBox: false` in the SVGO plugins list
|
|
205
|
-
// See related PR: https://github.com/smooth-code/svgr/pull/137
|
|
206
204
|
icon: false,
|
|
207
205
|
svgoConfig: {
|
|
208
206
|
plugins: [{
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
207
|
+
// https://github.com/svg/svgo#default-preset
|
|
208
|
+
name: 'preset-default',
|
|
209
|
+
params: {
|
|
210
|
+
overrides: {
|
|
211
|
+
removeViewBox: false
|
|
212
|
+
}
|
|
213
|
+
}
|
|
213
214
|
}]
|
|
214
215
|
}
|
|
215
216
|
}
|
|
@@ -223,15 +223,16 @@ module.exports = function createWebpackConfigForProduction(options = {}) {
|
|
|
223
223
|
}, {
|
|
224
224
|
loader: require.resolve('@svgr/webpack'),
|
|
225
225
|
options: {
|
|
226
|
-
// NOTE: disable this and manually add `removeViewBox: false` in the SVGO plugins list
|
|
227
|
-
// See related PR: https://github.com/smooth-code/svgr/pull/137
|
|
228
226
|
icon: false,
|
|
229
227
|
svgoConfig: {
|
|
230
228
|
plugins: [{
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
229
|
+
// https://github.com/svg/svgo#default-preset
|
|
230
|
+
name: 'preset-default',
|
|
231
|
+
params: {
|
|
232
|
+
overrides: {
|
|
233
|
+
removeViewBox: false
|
|
234
|
+
}
|
|
235
|
+
}
|
|
235
236
|
}]
|
|
236
237
|
}
|
|
237
238
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/mc-scripts",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.13.0",
|
|
4
4
|
"description": "Configuration and scripts for developing a MC application",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -26,53 +26,53 @@
|
|
|
26
26
|
"build:bundles:watch": "yarn build -w"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@babel/runtime": "7.
|
|
30
|
-
"@babel/runtime-corejs3": "7.
|
|
31
|
-
"@commercetools-frontend/application-config": "20.
|
|
32
|
-
"@commercetools-frontend/assets": "20.
|
|
33
|
-
"@commercetools-frontend/babel-preset-mc-app": "20.
|
|
29
|
+
"@babel/runtime": "7.16.5",
|
|
30
|
+
"@babel/runtime-corejs3": "7.16.5",
|
|
31
|
+
"@commercetools-frontend/application-config": "20.12.3",
|
|
32
|
+
"@commercetools-frontend/assets": "20.12.3",
|
|
33
|
+
"@commercetools-frontend/babel-preset-mc-app": "20.12.3",
|
|
34
34
|
"@commercetools-frontend/mc-dev-authentication": "20.10.6",
|
|
35
|
-
"@commercetools-frontend/mc-html-template": "20.
|
|
36
|
-
"@pmmmwh/react-refresh-webpack-plugin": "0.5.
|
|
37
|
-
"@svgr/webpack": "
|
|
38
|
-
"autoprefixer": "10.
|
|
35
|
+
"@commercetools-frontend/mc-html-template": "20.12.3",
|
|
36
|
+
"@pmmmwh/react-refresh-webpack-plugin": "0.5.3",
|
|
37
|
+
"@svgr/webpack": "6.2.0",
|
|
38
|
+
"autoprefixer": "10.4.0",
|
|
39
39
|
"babel-loader": "8.2.3",
|
|
40
|
-
"browserslist": "4.
|
|
41
|
-
"core-js": "3.
|
|
40
|
+
"browserslist": "4.19.1",
|
|
41
|
+
"core-js": "3.20.0",
|
|
42
42
|
"css-loader": "5.2.7",
|
|
43
|
-
"css-minimizer-webpack-plugin": "3.
|
|
43
|
+
"css-minimizer-webpack-plugin": "3.3.0",
|
|
44
44
|
"dotenv": "10.0.0",
|
|
45
45
|
"dotenv-expand": "5.1.0",
|
|
46
46
|
"fs-extra": "10.0.0",
|
|
47
|
-
"graphql-tag": "^2.
|
|
47
|
+
"graphql-tag": "^2.12.6",
|
|
48
48
|
"html-webpack-plugin": "5.5.0",
|
|
49
49
|
"json-loader": "0.5.7",
|
|
50
50
|
"mini-css-extract-plugin": "1.6.2",
|
|
51
51
|
"moment-locales-webpack-plugin": "1.2.0",
|
|
52
52
|
"mri": "1.2.0",
|
|
53
|
-
"postcss": "8.
|
|
53
|
+
"postcss": "8.4.5",
|
|
54
54
|
"postcss-color-mod-function": "3.0.3",
|
|
55
55
|
"postcss-custom-media": "8.0.0",
|
|
56
56
|
"postcss-custom-properties": "11.0.0",
|
|
57
57
|
"postcss-import": "14.0.2",
|
|
58
|
-
"postcss-loader": "6.2.
|
|
58
|
+
"postcss-loader": "6.2.1",
|
|
59
59
|
"postcss-reporter": "7.0.4",
|
|
60
60
|
"react-dev-utils": "11.0.4",
|
|
61
|
-
"react-refresh": "0.
|
|
61
|
+
"react-refresh": "0.11.0",
|
|
62
62
|
"serve-handler": "6.1.3",
|
|
63
|
-
"shelljs": "0.8.
|
|
63
|
+
"shelljs": "0.8.5",
|
|
64
64
|
"style-loader": "3.3.1",
|
|
65
65
|
"svg-url-loader": "7.1.1",
|
|
66
|
-
"terser-webpack-plugin": "5.
|
|
66
|
+
"terser-webpack-plugin": "5.3.0",
|
|
67
67
|
"thread-loader": "3.0.4",
|
|
68
|
-
"webpack": "5.
|
|
68
|
+
"webpack": "5.65.0",
|
|
69
69
|
"webpack-bundle-analyzer": "4.5.0",
|
|
70
|
-
"webpack-dev-server": "4.
|
|
71
|
-
"webpackbar": "5.0.
|
|
70
|
+
"webpack-dev-server": "4.6.0",
|
|
71
|
+
"webpackbar": "5.0.2"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@babel/plugin-transform-runtime": "7.
|
|
75
|
-
"@babel/preset-env": "7.
|
|
74
|
+
"@babel/plugin-transform-runtime": "7.16.5",
|
|
75
|
+
"@babel/preset-env": "7.16.5",
|
|
76
76
|
"rimraf": "3.0.2"
|
|
77
77
|
},
|
|
78
78
|
"engines": {
|