@spryker/oryx-for-zed 3.5.1 → 3.6.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/CHANGELOG.md +13 -0
- package/lib/copy.js +11 -5
- package/lib/settings.js +2 -2
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
### 3.6.0
|
|
4
|
+
|
|
5
|
+
Released on 09.02.2026
|
|
6
|
+
|
|
7
|
+
- Fix paths for Spryker monorepo.
|
|
8
|
+
|
|
9
|
+
### 3.5.2
|
|
10
|
+
|
|
11
|
+
Released on 09.02.2026
|
|
12
|
+
|
|
13
|
+
- Replace `fs-extra` dependency with native Node.js `fs.promises` API.
|
|
14
|
+
- Fix symlink handling by using `verbatimSymlinks: true` option in copy operation.
|
|
15
|
+
|
|
3
16
|
### 3.5.1
|
|
4
17
|
|
|
5
18
|
Released on 05.09.2025
|
package/lib/copy.js
CHANGED
|
@@ -1,20 +1,26 @@
|
|
|
1
|
-
const fs = require('fs
|
|
1
|
+
const fs = require('fs');
|
|
2
2
|
const path = require('path');
|
|
3
3
|
const log = require('./log');
|
|
4
4
|
const settings = require('./settings');
|
|
5
5
|
|
|
6
6
|
const copyAssets = async () => {
|
|
7
|
-
const
|
|
7
|
+
const src = path.resolve(settings.paths.publicDir);
|
|
8
|
+
const dest = path.resolve(path.join('public/Zed', settings.paths.publicPath));
|
|
8
9
|
|
|
9
10
|
try {
|
|
10
11
|
log.task('Copy assets for backward compatibility after renaming assets folder');
|
|
11
12
|
log.step('copying assets...');
|
|
12
13
|
|
|
13
|
-
await fs.
|
|
14
|
+
await fs.promises.rm(dest, { recursive: true, force: true });
|
|
15
|
+
await fs.promises.cp(src, dest, {
|
|
16
|
+
recursive: true,
|
|
17
|
+
dereference: false,
|
|
18
|
+
verbatimSymlinks: true,
|
|
19
|
+
});
|
|
14
20
|
|
|
15
|
-
log.done('assets copied to: ',
|
|
21
|
+
log.done('assets copied to: ', dest);
|
|
16
22
|
} catch (err) {
|
|
17
|
-
console.error(err)
|
|
23
|
+
console.error(err);
|
|
18
24
|
}
|
|
19
25
|
};
|
|
20
26
|
|
package/lib/settings.js
CHANGED
|
@@ -19,8 +19,8 @@ let guiFolder = 'gui';
|
|
|
19
19
|
if (!fs.existsSync(path.resolve(bundlesPath, guiFolder))) {
|
|
20
20
|
log.step('spryker core: no-bundle-split layout detected');
|
|
21
21
|
|
|
22
|
-
bundlesPath = './
|
|
23
|
-
featuresPath = './
|
|
22
|
+
bundlesPath = './src/Spryker/';
|
|
23
|
+
featuresPath = './src/SprykerFeature/';
|
|
24
24
|
guiFolder = 'Gui';
|
|
25
25
|
}
|
|
26
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spryker/oryx-for-zed",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "Spryker ZED frontend automation tool",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"css-minimizer-webpack-plugin": "~4.2.2",
|
|
26
26
|
"dayjs": "~1.11.7",
|
|
27
27
|
"fast-glob": "~3.2.12",
|
|
28
|
-
"fs-extra": "~10.1.0",
|
|
29
28
|
"imports-loader": "~0.8.0",
|
|
30
29
|
"mini-css-extract-plugin": "~2.7.2",
|
|
31
30
|
"postcss": "~8.4.23",
|