@eui/tools 6.21.24 → 6.21.26
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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.21.
|
|
1
|
+
6.21.26
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.21.26 (2025-01-09)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* adapted tsconfig injected for legacy v10 builds - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([ba17e147](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/ba17e1479692c767bbbe205d1dbae8ae416a580f))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.21.25 (2025-01-07)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* adapted for obsolete final v10 builds - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([5569db35](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/5569db35479103b4a4de86f903468e0aa10d36d5))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.21.24 (2025-01-07)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -9,6 +9,7 @@ const tools = require('../../utils/tools');
|
|
|
9
9
|
const innerPackages = require('./packages');
|
|
10
10
|
const innerProjects = require('./projects');
|
|
11
11
|
const innerRemotes = require('./remotes');
|
|
12
|
+
const innerGlobal = require('./global');
|
|
12
13
|
|
|
13
14
|
// CONFIGS skeletons
|
|
14
15
|
const {
|
|
@@ -42,6 +43,7 @@ const {
|
|
|
42
43
|
angularPackageDefV15Standalone,
|
|
43
44
|
angularElementProjectDef,
|
|
44
45
|
tsConfigDef,
|
|
46
|
+
tsConfigDefv10,
|
|
45
47
|
tsConfigSpecDef,
|
|
46
48
|
karmaConfDef,
|
|
47
49
|
} = require('./config-skeletons');
|
|
@@ -52,8 +54,18 @@ module.exports.checkConfigFiles = (isReset) => {
|
|
|
52
54
|
|
|
53
55
|
const rootPath = process.cwd();
|
|
54
56
|
|
|
57
|
+
const euiVersion = innerGlobal.getLocalEuiVersion();
|
|
58
|
+
const euiVersionNumber = parseInt(euiVersion);
|
|
59
|
+
|
|
55
60
|
const angularConfig = path.join(rootPath, 'angular.json');
|
|
56
61
|
|
|
62
|
+
let tsConfigDefGen;
|
|
63
|
+
if (euiVersionNumber === 10) {
|
|
64
|
+
tsConfigDefGen = tsConfigDefv10;
|
|
65
|
+
} else {
|
|
66
|
+
tsConfigDefGen = tsConfigDef;
|
|
67
|
+
}
|
|
68
|
+
|
|
57
69
|
if (!tools.isFileExists(angularConfig) || isReset) {
|
|
58
70
|
tools.logInfo('Creating angular.json');
|
|
59
71
|
tools.writeJsonFileSync(angularConfig, angularConfigDef);
|
|
@@ -65,15 +77,15 @@ module.exports.checkConfigFiles = (isReset) => {
|
|
|
65
77
|
|
|
66
78
|
if (!tools.isFileExists(tsConfigDev) || isReset) {
|
|
67
79
|
tools.logInfo('Creating tsconfig.json');
|
|
68
|
-
tools.writeJsonFileSync(tsConfigDev,
|
|
80
|
+
tools.writeJsonFileSync(tsConfigDev, tsConfigDefGen);
|
|
69
81
|
}
|
|
70
82
|
if (!tools.isFileExists(tsConfigBuild) || isReset) {
|
|
71
83
|
tools.logInfo('Creating tsconfig.build.json');
|
|
72
|
-
tools.writeJsonFileSync(tsConfigBuild,
|
|
84
|
+
tools.writeJsonFileSync(tsConfigBuild, tsConfigDefGen);
|
|
73
85
|
}
|
|
74
86
|
if (!tools.isFileExists(tsConfigBuildSpec) || isReset) {
|
|
75
87
|
tools.logInfo('Creating tsconfig.build.spec.json');
|
|
76
|
-
tools.writeJsonFileSync(tsConfigBuildSpec,
|
|
88
|
+
tools.writeJsonFileSync(tsConfigBuildSpec, tsConfigDefGen);
|
|
77
89
|
}
|
|
78
90
|
}
|
|
79
91
|
|
|
@@ -2162,6 +2162,30 @@ module.exports.angularElementProjectDef = {
|
|
|
2162
2162
|
};
|
|
2163
2163
|
|
|
2164
2164
|
|
|
2165
|
+
module.exports.tsConfigDefv10 = {
|
|
2166
|
+
"compileOnSave": false,
|
|
2167
|
+
"compilerOptions": {
|
|
2168
|
+
"baseUrl": ".",
|
|
2169
|
+
"sourceMap": true,
|
|
2170
|
+
"declaration": false,
|
|
2171
|
+
"target": "esnext",
|
|
2172
|
+
"module": "esnext",
|
|
2173
|
+
"moduleResolution": "node",
|
|
2174
|
+
"allowSyntheticDefaultImports": true,
|
|
2175
|
+
"emitDecoratorMetadata": true,
|
|
2176
|
+
"experimentalDecorators": true,
|
|
2177
|
+
"typeRoots": [
|
|
2178
|
+
"node_modules/@types"
|
|
2179
|
+
],
|
|
2180
|
+
"lib": [
|
|
2181
|
+
"esnext",
|
|
2182
|
+
"dom",
|
|
2183
|
+
"dom.iterable"
|
|
2184
|
+
],
|
|
2185
|
+
"paths": {}
|
|
2186
|
+
}
|
|
2187
|
+
};
|
|
2188
|
+
|
|
2165
2189
|
module.exports.tsConfigDef = {
|
|
2166
2190
|
"compileOnSave": false,
|
|
2167
2191
|
"compilerOptions": {
|