@eui/tools 6.21.28 → 6.21.29

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.21.28
1
+ 6.21.29
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.21.29 (2025-01-10)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * adapted version check for v10 remotes release (sedia) - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([a0017e06](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/a0017e06a7489fec4a591b1a29d4b2fddf450b5c))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.21.28 (2025-01-10)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.28",
3
+ "version": "6.21.29",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -54,18 +54,34 @@ module.exports.checkConfigFiles = (isReset) => {
54
54
 
55
55
  const rootPath = process.cwd();
56
56
 
57
- let euiVersion;
58
-
59
57
  const remoteArg = tools.getArgs().remote;
58
+ const pkgArg = tools.getArgs().pkg;
59
+
60
+ let isVirtualRemote = false;
60
61
 
61
- if (remoteArg) {
62
- const remote = innerRemotes.getRemote(remoteArg);
62
+ if (pkgArg) {
63
+ isVirtualRemote = innerRemotes.isVirtualRemote(pkgArg);
64
+ }
65
+
66
+ let euiVersion;
67
+
68
+ if (remoteArg || isVirtualRemote) {
69
+ let remote;
70
+ if (pkgArg) {
71
+ remote = innerRemotes.getRemote(pkgArg);
72
+ } else {
73
+ remote = innerRemotes.getRemote(remoteArg);
74
+ }
63
75
  euiVersion = remote.euiVersion;
64
76
  } else {
65
77
  euiVersion = innerGlobal.getLocalEuiVersion();
66
78
  }
67
79
 
68
- const euiVersionNumber = parseInt(euiVersion);
80
+ let euiVersionNumber;
81
+
82
+ if (euiVersion) {
83
+ euiVersionNumber = parseInt(euiVersion);
84
+ }
69
85
 
70
86
  const angularConfig = path.join(rootPath, 'angular.json');
71
87