@spryker/oryx-for-zed 3.4.3 → 3.4.5

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,29 @@
1
1
  # Changelog
2
2
 
3
+ ### 3.4.5
4
+
5
+ Released on 10.01.2025
6
+
7
+ - Fix entrypoint for features.
8
+
9
+ # Changelog
10
+
11
+ ### 3.4.4
12
+
13
+ Released on 09.01.2025
14
+
15
+ - Adjusted configuration so webpack can search for entrypoints inside feature modules.
16
+
17
+ # Changelog
18
+
19
+ ### 3.4.3
20
+
21
+ Released on 13.12.2024
22
+
23
+ - Bump webpack 5.88.2 => 5.94.0.
24
+
25
+ # Changelog
26
+
3
27
  ### 3.4.2
4
28
 
5
29
  Released on 19.03.2024
package/lib/settings.js CHANGED
@@ -13,16 +13,19 @@ 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
17
  let guiFolder = 'gui';
17
18
 
18
19
  if (!fs.existsSync(path.resolve(bundlesPath, guiFolder))) {
19
20
  log.step('spryker core: no-bundle-split layout detected');
20
21
 
21
22
  bundlesPath = './vendor/spryker/spryker/Bundles/';
23
+ featuresPath = './vendor/spryker/spryker/Features/';
22
24
  guiFolder = 'Gui';
23
25
  }
24
26
 
25
27
  const bundlesDir = path.resolve(bundlesPath);
28
+ const featuresDir = path.resolve(featuresPath);
26
29
  const guiPath = path.join(bundlesPath, guiFolder);
27
30
 
28
31
  const settings = {
@@ -44,19 +47,20 @@ const settings = {
44
47
  bundlesDir,
45
48
  ecoDir,
46
49
  sdkDir,
50
+ featuresPath,
47
51
  },
48
52
 
49
53
  runtimeEntryName: 'spryker-zed-gui-commons',
50
54
 
51
55
  entry: {
52
- dirs: [bundlesDir, ecoDir, sdkDir],
56
+ dirs: [bundlesDir, ecoDir, sdkDir, featuresDir],
53
57
  patterns: ['**/Zed/**/*.entry.js'],
54
58
  description: 'looking for entry points...',
55
59
  defineName: p => path.basename(p, '.entry.js'),
56
60
  },
57
61
 
58
62
  resolveModules: {
59
- dirs: [bundlesDir],
63
+ dirs: [bundlesDir, featuresDir],
60
64
  patterns: ['**/Zed/node_modules'],
61
65
  description: 'resolving core modules deps...',
62
66
  },
@@ -67,6 +67,7 @@ async function getConfiguration(settings) {
67
67
  'node_modules',
68
68
  settings.paths.sourcePath,
69
69
  settings.paths.bundlesPath,
70
+ settings.paths.featuresPath,
70
71
  ],
71
72
  extensions: ['.js', '.css', '.scss'],
72
73
  alias: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spryker/oryx-for-zed",
3
- "version": "3.4.3",
3
+ "version": "3.4.5",
4
4
  "description": "Spryker ZED frontend automation tool",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,4 +42,4 @@
42
42
  "@babel/core": "~7.23.2",
43
43
  "@babel/preset-env": "~7.23.2"
44
44
  }
45
- }
45
+ }