@eui/tools 6.1.7 → 6.1.8
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/.version.properties +1 -1
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/scripts/csdr/config/projects.js +15 -9
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.1.
|
|
1
|
+
6.1.8
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 6.1.8 (2022-11-08)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* fetch project version when version is not found in deps composite - MWP-8946 [MWP-8946](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-8946) ([fc4e6688](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/fc4e66889cd92ac5174c96e9ecb88c4b0c8672f9))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 6.1.7 (2022-11-08)
|
|
2
11
|
|
|
3
12
|
##### Bug Fixes
|
package/package.json
CHANGED
|
@@ -232,18 +232,24 @@ const getEuiVersionCore = (project) => {
|
|
|
232
232
|
} else {
|
|
233
233
|
const jsonFileContnet = JSON.parse(tools.getFileContent(depsCompositeFile));
|
|
234
234
|
const deps = jsonFileContnet.dependencies;
|
|
235
|
-
const euiDepsBase = deps['@eui/deps-base'];
|
|
236
235
|
|
|
237
|
-
if (
|
|
238
|
-
|
|
236
|
+
if (!deps) {
|
|
237
|
+
version = 'DEFAULT';
|
|
239
238
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
239
|
+
} else {
|
|
240
|
+
const euiDepsBase = deps['@eui/deps-base'];
|
|
241
|
+
|
|
242
|
+
if (euiDepsBase) {
|
|
243
|
+
let euiVersion = euiDepsBase.split('.')[0];
|
|
244
244
|
|
|
245
|
-
|
|
246
|
-
|
|
245
|
+
if (euiVersion.substr(0,1) === '^') {
|
|
246
|
+
euiVersion = euiVersion.substr(1);
|
|
247
|
+
}
|
|
248
|
+
version = `${euiVersion}.x`;
|
|
249
|
+
|
|
250
|
+
if (version === '7.x') {
|
|
251
|
+
version = 'DEFAULT';
|
|
252
|
+
}
|
|
247
253
|
}
|
|
248
254
|
}
|
|
249
255
|
}
|