@spryker/oryx-for-zed 3.5.0 → 3.5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ### 3.5.2
4
+
5
+ Released on 09.02.2026
6
+
7
+ - Replace `fs-extra` dependency with native Node.js `fs.promises` API.
8
+ - Fix symlink handling by using `verbatimSymlinks: true` option in copy operation.
9
+
10
+ ### 3.5.1
11
+
12
+ Released on 05.09.2025
13
+
14
+ - Fix spryker feature path.
15
+
3
16
  ### 3.5.0
4
17
 
5
18
  Released on 07.04.2025
package/lib/copy.js CHANGED
@@ -1,20 +1,26 @@
1
- const fs = require('fs-extra');
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 backCompatibilityPublicDir = path.resolve(path.join('public/Zed', settings.paths.publicPath));
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.copy(settings.paths.publicDir, backCompatibilityPublicDir);
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: ', backCompatibilityPublicDir);
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
@@ -13,7 +13,7 @@ const ecoDir = path.resolve('./vendor/spryker-eco');
13
13
  const sdkDir = path.resolve('./vendor/spryker-sdk');
14
14
 
15
15
  let bundlesPath = './vendor/spryker/';
16
- let featuresPath = './vendor/spryker/';
16
+ let featuresPath = './vendor/spryker-feature/';
17
17
  let guiFolder = 'gui';
18
18
 
19
19
  if (!fs.existsSync(path.resolve(bundlesPath, guiFolder))) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spryker/oryx-for-zed",
3
- "version": "3.5.0",
3
+ "version": "3.5.2",
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",