@eui/tools 6.16.4 → 6.16.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.
@@ -1 +1 @@
1
- 6.16.4
1
+ 6.16.5
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.16.5 (2024-03-25)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * force eUI 17 sub-pkg install for remotes - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([54c78a37](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/54c78a37a0e916995cfe9c21628232d16b9904ce))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.16.4 (2024-03-25)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.16.4",
3
+ "version": "6.16.5",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -77,6 +77,21 @@ const pkgInstall = (pkg, envTarget) => {
77
77
  // merging base+composite
78
78
  deps = { ...baseDeps, ...compositeDeps };
79
79
 
80
+
81
+ // parse eUI deps and explode the sub-packages (v17 issues)
82
+ // getting package eUI version
83
+ const euiVersion = configUtils.packages.getPackageEuiVersion(pkg);
84
+
85
+ // add sub-eUI packages for v17
86
+ if (euiVersion === '17.x') {
87
+ Object.keys(deps).forEach((dep) => {
88
+ if (dep === '@eui/deps-base') {
89
+ deps['@eui/components'] = deps[dep];
90
+ deps['@eui/showcase'] = deps[dep];
91
+ }
92
+ });
93
+ }
94
+
80
95
  // updating package json file before installation
81
96
  const pkgJsonFile = path.resolve(pkg.paths.root, 'package.json');
82
97
  const pkgJson = require(pkgJsonFile);
@@ -86,9 +101,6 @@ const pkgInstall = (pkg, envTarget) => {
86
101
  // store dependencies metadata for later fetch of remote deps installed for a particular version published
87
102
  pkgJson.remoteDependencies = deps;
88
103
 
89
- // getting package eUI version
90
- const euiVersion = configUtils.packages.getPackageEuiVersion(pkg);
91
-
92
104
  // checking for resolution updates according to eUI version used
93
105
  initUtils.global.initRemoteFilesAndResolutions(pkg.paths.root, euiVersion);
94
106