@plone/volto 19.0.0-alpha.17 → 19.0.0-alpha.18
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/CHANGELOG.md +11 -0
- package/package.json +7 -7
- package/razzle.config.js +3 -19
- package/src/helpers/Url/Url.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,17 @@ myst:
|
|
|
17
17
|
|
|
18
18
|
<!-- towncrier release notes start -->
|
|
19
19
|
|
|
20
|
+
## 19.0.0-alpha.18 (2025-11-30)
|
|
21
|
+
|
|
22
|
+
### Bugfix
|
|
23
|
+
|
|
24
|
+
- Fixed a TypeError in `flattenScales` that occurred when `image.scales` was missing. @pratyush07-hub [#7568](https://github.com/plone/volto/issues/7568)
|
|
25
|
+
- Moved hitorical amendment for the CssMinimizerPlugin to the Razzle fork, removed calc processing. @sneridagh [#7667](https://github.com/plone/volto/issues/7667)
|
|
26
|
+
|
|
27
|
+
### Internal
|
|
28
|
+
|
|
29
|
+
- Revert #7646 Makefile, removing --prod experiment. @sneridagh
|
|
30
|
+
|
|
20
31
|
## 19.0.0-alpha.17 (2025-11-21)
|
|
21
32
|
|
|
22
33
|
### Bugfix
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
11
|
"license": "MIT",
|
|
12
|
-
"version": "19.0.0-alpha.
|
|
12
|
+
"version": "19.0.0-alpha.18",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "git@github.com:plone/volto.git"
|
|
@@ -190,10 +190,10 @@
|
|
|
190
190
|
"url": "^0.11.3",
|
|
191
191
|
"use-deep-compare-effect": "1.8.1",
|
|
192
192
|
"uuid": "^8.3.2",
|
|
193
|
-
"@plone/
|
|
193
|
+
"@plone/registry": "3.0.0-alpha.8",
|
|
194
194
|
"@plone/volto-slate": "19.0.0-alpha.8",
|
|
195
|
-
"@plone/
|
|
196
|
-
"@plone/
|
|
195
|
+
"@plone/components": "4.0.0-alpha.4",
|
|
196
|
+
"@plone/scripts": "4.0.0-alpha.4"
|
|
197
197
|
},
|
|
198
198
|
"devDependencies": {
|
|
199
199
|
"@babel/core": "^7.28.5",
|
|
@@ -306,10 +306,10 @@
|
|
|
306
306
|
"webpack-bundle-analyzer": "4.10.1",
|
|
307
307
|
"webpack-dev-server": "4.11.1",
|
|
308
308
|
"webpack-node-externals": "3.0.0",
|
|
309
|
-
"@plone/types": "2.0.0-alpha.11",
|
|
310
309
|
"@plone/babel-preset-razzle": "^1.0.0-alpha.0",
|
|
311
|
-
"@plone/
|
|
312
|
-
"@plone/
|
|
310
|
+
"@plone/razzle": "1.0.0-alpha.0",
|
|
311
|
+
"@plone/types": "2.0.0-alpha.11",
|
|
312
|
+
"@plone/volto-coresandbox": "1.0.0"
|
|
313
313
|
},
|
|
314
314
|
"volta": {
|
|
315
315
|
"node": "20.9.0"
|
package/razzle.config.js
CHANGED
|
@@ -15,7 +15,6 @@ const {
|
|
|
15
15
|
const { AddonRegistry } = require('@plone/registry/addon-registry');
|
|
16
16
|
const CircularDependencyPlugin = require('circular-dependency-plugin');
|
|
17
17
|
const TerserPlugin = require('terser-webpack-plugin');
|
|
18
|
-
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
|
19
18
|
const MomentLocalesPlugin = require('moment-locales-webpack-plugin');
|
|
20
19
|
const AfterBuildPlugin = require('@fiverr/afterbuild-webpack-plugin');
|
|
21
20
|
|
|
@@ -116,26 +115,11 @@ const defaultModify = ({
|
|
|
116
115
|
},
|
|
117
116
|
});
|
|
118
117
|
|
|
119
|
-
// This is needed to override Razzle use of the unmaintained CleanCSS
|
|
120
|
-
// which does not have support for recently CSS features (container queries).
|
|
121
|
-
// Using the default provided (cssnano) by css-minimizer-webpack-plugin
|
|
122
|
-
// should be enough see:
|
|
123
|
-
// (https://github.com/clean-css/clean-css/discussions/1209)
|
|
124
118
|
// TODO: remove this before merging the Razzle fork into Volto 19
|
|
119
|
+
// @sneridagh: Tried to remove this now that we have forked Razzle
|
|
120
|
+
// but I cannot pinpoint where this comes from, and it seems undefined
|
|
121
|
+
// always.
|
|
125
122
|
delete options.webpackOptions.terserPluginOptions?.sourceMap;
|
|
126
|
-
if (!dev) {
|
|
127
|
-
config.optimization = Object.assign({}, config.optimization, {
|
|
128
|
-
minimizer: [
|
|
129
|
-
new TerserPlugin(options.webpackOptions.terserPluginOptions),
|
|
130
|
-
new CssMinimizerPlugin({
|
|
131
|
-
sourceMap: options.razzleOptions.enableSourceMaps,
|
|
132
|
-
minimizerOptions: {
|
|
133
|
-
sourceMap: options.razzleOptions.enableSourceMaps,
|
|
134
|
-
},
|
|
135
|
-
}),
|
|
136
|
-
],
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
123
|
|
|
140
124
|
config.plugins.unshift(
|
|
141
125
|
// restrict moment.js locales to supported languages
|
package/src/helpers/Url/Url.js
CHANGED