@plone/volto 18.0.0-alpha.22 → 18.0.0-alpha.23
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 +10 -0
- package/jest-extender-plugin.js +8 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,16 @@ myst:
|
|
|
17
17
|
|
|
18
18
|
<!-- towncrier release notes start -->
|
|
19
19
|
|
|
20
|
+
## 18.0.0-alpha.23 (2024-03-21)
|
|
21
|
+
|
|
22
|
+
### Feature
|
|
23
|
+
|
|
24
|
+
- Improve the usage of `RAZZLE_JEST_CONFIG`. @sneridagh [#5901](https://github.com/plone/volto/issues/5901)
|
|
25
|
+
|
|
26
|
+
### Documentation
|
|
27
|
+
|
|
28
|
+
- Updated testing and code quality with information on how to contribute to Volto core. @ichim-david [#5341](https://github.com/plone/volto/issues/5341)
|
|
29
|
+
|
|
20
30
|
## 18.0.0-alpha.22 (2024-03-19)
|
|
21
31
|
|
|
22
32
|
### Bugfix
|
package/jest-extender-plugin.js
CHANGED
|
@@ -10,9 +10,15 @@ module.exports = {
|
|
|
10
10
|
options: { razzleOptions, pluginOptions },
|
|
11
11
|
paths,
|
|
12
12
|
}) {
|
|
13
|
-
// If the RAZZLE_JEST_CONFIG env var exists,
|
|
14
|
-
// overrides
|
|
13
|
+
// If the RAZZLE_JEST_CONFIG env var exists,
|
|
14
|
+
// use it as the file with the Jest config overrides
|
|
15
15
|
if (process.env.RAZZLE_JEST_CONFIG) {
|
|
16
|
+
if (fs.existsSync(path.resolve(process.env.RAZZLE_JEST_CONFIG))) {
|
|
17
|
+
const jestConfigPath = path.resolve(process.env.RAZZLE_JEST_CONFIG);
|
|
18
|
+
const jestConfig = require(jestConfigPath);
|
|
19
|
+
config = { ...config, ...jestConfig };
|
|
20
|
+
return config;
|
|
21
|
+
}
|
|
16
22
|
if (
|
|
17
23
|
fs.existsSync(`${projectRootPath}/${process.env.RAZZLE_JEST_CONFIG}`)
|
|
18
24
|
) {
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
11
|
"license": "MIT",
|
|
12
|
-
"version": "18.0.0-alpha.
|
|
12
|
+
"version": "18.0.0-alpha.23",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "git@github.com:plone/volto.git"
|
|
@@ -236,9 +236,9 @@
|
|
|
236
236
|
"url": "^0.11.3",
|
|
237
237
|
"use-deep-compare-effect": "1.8.1",
|
|
238
238
|
"uuid": "^8.3.2",
|
|
239
|
-
"@plone/registry": "1.5.
|
|
240
|
-
"@plone/
|
|
241
|
-
"@plone/
|
|
239
|
+
"@plone/registry": "1.5.4",
|
|
240
|
+
"@plone/volto-slate": "18.0.0-alpha.10",
|
|
241
|
+
"@plone/scripts": "3.6.1"
|
|
242
242
|
},
|
|
243
243
|
"devDependencies": {
|
|
244
244
|
"@babel/core": "^7.0.0",
|