@eui/tools 6.21.27 → 6.21.28

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.27
1
+ 6.21.28
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.21.28 (2025-01-10)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * adapted injection of root tsconfig for v10 remote (sedia) - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([da243c76](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/da243c7658bb7bc753f56320ab76baefcd8339b4))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.21.27 (2025-01-09)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.27",
3
+ "version": "6.21.28",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -54,15 +54,27 @@ module.exports.checkConfigFiles = (isReset) => {
54
54
 
55
55
  const rootPath = process.cwd();
56
56
 
57
- const euiVersion = innerGlobal.getLocalEuiVersion();
57
+ let euiVersion;
58
+
59
+ const remoteArg = tools.getArgs().remote;
60
+
61
+ if (remoteArg) {
62
+ const remote = innerRemotes.getRemote(remoteArg);
63
+ euiVersion = remote.euiVersion;
64
+ } else {
65
+ euiVersion = innerGlobal.getLocalEuiVersion();
66
+ }
67
+
58
68
  const euiVersionNumber = parseInt(euiVersion);
59
69
 
60
70
  const angularConfig = path.join(rootPath, 'angular.json');
61
71
 
62
72
  let tsConfigDefGen;
63
73
  if (euiVersionNumber === 10) {
74
+ tools.logInfo('v10 found, specific injection of tsconfig');
64
75
  tsConfigDefGen = tsConfigDefv10;
65
76
  } else {
77
+ tools.logInfo('Injecting tsconfig ES2022 based (post v10)');
66
78
  tsConfigDefGen = tsConfigDef;
67
79
  }
68
80
 
@@ -71,6 +83,9 @@ module.exports.checkConfigFiles = (isReset) => {
71
83
  tools.writeJsonFileSync(angularConfig, angularConfigDef);
72
84
  }
73
85
 
86
+ tools.logInfo('tsconfig found:');
87
+ console.log(tsConfigDefGen);
88
+
74
89
  const tsConfigDev = path.join(rootPath, 'tsconfig.json');
75
90
  const tsConfigBuild = path.join(rootPath, 'tsconfig.build.json');
76
91
  const tsConfigBuildSpec = path.join(rootPath, 'tsconfig.build.spec.json');