@eui/tools 6.21.27 → 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.
- package/.version.properties +1 -1
- package/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/scripts/csdr/config/angular.js +33 -2
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.21.
|
|
1
|
+
6.21.29
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
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
|
+
* * *
|
|
10
|
+
## 6.21.28 (2025-01-10)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* 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))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.21.27 (2025-01-09)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -54,15 +54,43 @@ module.exports.checkConfigFiles = (isReset) => {
|
|
|
54
54
|
|
|
55
55
|
const rootPath = process.cwd();
|
|
56
56
|
|
|
57
|
-
const
|
|
58
|
-
const
|
|
57
|
+
const remoteArg = tools.getArgs().remote;
|
|
58
|
+
const pkgArg = tools.getArgs().pkg;
|
|
59
|
+
|
|
60
|
+
let isVirtualRemote = false;
|
|
61
|
+
|
|
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
|
+
}
|
|
75
|
+
euiVersion = remote.euiVersion;
|
|
76
|
+
} else {
|
|
77
|
+
euiVersion = innerGlobal.getLocalEuiVersion();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
let euiVersionNumber;
|
|
81
|
+
|
|
82
|
+
if (euiVersion) {
|
|
83
|
+
euiVersionNumber = parseInt(euiVersion);
|
|
84
|
+
}
|
|
59
85
|
|
|
60
86
|
const angularConfig = path.join(rootPath, 'angular.json');
|
|
61
87
|
|
|
62
88
|
let tsConfigDefGen;
|
|
63
89
|
if (euiVersionNumber === 10) {
|
|
90
|
+
tools.logInfo('v10 found, specific injection of tsconfig');
|
|
64
91
|
tsConfigDefGen = tsConfigDefv10;
|
|
65
92
|
} else {
|
|
93
|
+
tools.logInfo('Injecting tsconfig ES2022 based (post v10)');
|
|
66
94
|
tsConfigDefGen = tsConfigDef;
|
|
67
95
|
}
|
|
68
96
|
|
|
@@ -71,6 +99,9 @@ module.exports.checkConfigFiles = (isReset) => {
|
|
|
71
99
|
tools.writeJsonFileSync(angularConfig, angularConfigDef);
|
|
72
100
|
}
|
|
73
101
|
|
|
102
|
+
tools.logInfo('tsconfig found:');
|
|
103
|
+
console.log(tsConfigDefGen);
|
|
104
|
+
|
|
74
105
|
const tsConfigDev = path.join(rootPath, 'tsconfig.json');
|
|
75
106
|
const tsConfigBuild = path.join(rootPath, 'tsconfig.build.json');
|
|
76
107
|
const tsConfigBuildSpec = path.join(rootPath, 'tsconfig.build.spec.json');
|