@eui/tools 5.3.41 → 5.3.44
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
|
-
5.3.
|
|
1
|
+
5.3.44
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
## 5.3.44 (2022-09-08)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* backend timestamp of version failure as of node14 - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([6665f4e2](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/6665f4e2a0473268a8156b4cbe60e901ca0cbc06))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 5.3.43 (2022-09-07)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* adapted CSDR file replacement for config files for v14 replacement feature of CSDR apps - EUI-6398 [EUI-6398](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-6398) ([5a11343b](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/5a11343b53dd6ff2e6c25e8bea173e0983a0a6ce))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
19
|
+
## 5.3.42 (2022-09-06)
|
|
20
|
+
|
|
21
|
+
##### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **other:**
|
|
24
|
+
* v14 csdr angular generation for development with source maps - EUI-6398 [EUI-6398](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-6398) ([666ef173](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/666ef17395f0529051a53f28d2c1c04e686319fa))
|
|
25
|
+
|
|
26
|
+
* * *
|
|
27
|
+
* * *
|
|
1
28
|
## 5.3.41 (2022-09-06)
|
|
2
29
|
|
|
3
30
|
##### Chores
|
package/package.json
CHANGED
|
@@ -1010,6 +1010,12 @@ const angularProjectDefFullSkeletonV14 = {
|
|
|
1010
1010
|
|
|
1011
1011
|
|
|
1012
1012
|
const angularProjectDefConfiguration = {
|
|
1013
|
+
"buildOptimizer": false,
|
|
1014
|
+
"optimization": false,
|
|
1015
|
+
"vendorChunk": true,
|
|
1016
|
+
"extractLicenses": false,
|
|
1017
|
+
"sourceMap": true,
|
|
1018
|
+
"namedChunks": true,
|
|
1013
1019
|
"fileReplacements": [
|
|
1014
1020
|
{
|
|
1015
1021
|
"replace": "apps/@project.name@/src/assets/openid-login-config.json",
|
|
@@ -1034,6 +1040,23 @@ const angularProjectDefConfiguration = {
|
|
|
1034
1040
|
]
|
|
1035
1041
|
};
|
|
1036
1042
|
|
|
1043
|
+
|
|
1044
|
+
const angularProjectDefConfigurationLight = {
|
|
1045
|
+
"buildOptimizer": false,
|
|
1046
|
+
"optimization": false,
|
|
1047
|
+
"vendorChunk": true,
|
|
1048
|
+
"extractLicenses": false,
|
|
1049
|
+
"sourceMap": true,
|
|
1050
|
+
"namedChunks": true,
|
|
1051
|
+
"fileReplacements": [
|
|
1052
|
+
{
|
|
1053
|
+
"replace": "apps/@project.name@/src/environments/environment.ts",
|
|
1054
|
+
"with": "apps/@project.name@/src/environments/environment.@config.key@.ts"
|
|
1055
|
+
}
|
|
1056
|
+
]
|
|
1057
|
+
};
|
|
1058
|
+
|
|
1059
|
+
|
|
1037
1060
|
const angularProjectDefConfigurationOptimized = {
|
|
1038
1061
|
"fileReplacements": [
|
|
1039
1062
|
{
|
|
@@ -1076,6 +1099,31 @@ const angularProjectDefConfigurationOptimized = {
|
|
|
1076
1099
|
}
|
|
1077
1100
|
|
|
1078
1101
|
|
|
1102
|
+
const angularProjectDefConfigurationOptimizedLight = {
|
|
1103
|
+
"fileReplacements": [
|
|
1104
|
+
{
|
|
1105
|
+
"replace": "apps/@project.name@/src/environments/environment.ts",
|
|
1106
|
+
"with": "apps/@project.name@/src/environments/environment.@config.key@.ts"
|
|
1107
|
+
}
|
|
1108
|
+
],
|
|
1109
|
+
"optimization": true,
|
|
1110
|
+
"outputHashing": "all",
|
|
1111
|
+
"sourceMap": false,
|
|
1112
|
+
"extractCss": true,
|
|
1113
|
+
"namedChunks": true,
|
|
1114
|
+
"aot": true,
|
|
1115
|
+
"extractLicenses": true,
|
|
1116
|
+
"vendorChunk": false,
|
|
1117
|
+
"buildOptimizer": true,
|
|
1118
|
+
"budgets": [
|
|
1119
|
+
{
|
|
1120
|
+
"type": "initial",
|
|
1121
|
+
"maximumWarning": "2mb",
|
|
1122
|
+
"maximumError": "7mb"
|
|
1123
|
+
}
|
|
1124
|
+
]
|
|
1125
|
+
};
|
|
1126
|
+
|
|
1079
1127
|
const angularPackageDef = {
|
|
1080
1128
|
"root": "@path@/@module.name@",
|
|
1081
1129
|
"sourceRoot": "@path@/@module.name@/src",
|
|
@@ -1497,8 +1545,17 @@ module.exports.registerAngularProjectDef = (project, build = false) => {
|
|
|
1497
1545
|
// replacing custom configurations if provided
|
|
1498
1546
|
if (angularConfigFile.configurations && angularConfigFile.configurations.length > 0) {
|
|
1499
1547
|
tools.logInfo('Processing configurations injection');
|
|
1500
|
-
|
|
1501
|
-
|
|
1548
|
+
|
|
1549
|
+
let configurationDef, configurationDefOptimized;
|
|
1550
|
+
if (project.build && project.build.csdrFileReplacement) {
|
|
1551
|
+
tools.logInfo('Injecting light angular configuration - file replacement is handled by CSDR');
|
|
1552
|
+
configurationDef = JSON.stringify(angularProjectDefConfigurationLight);
|
|
1553
|
+
configurationDefOptimized = JSON.stringify(angularProjectDefConfigurationOptimizedLight);
|
|
1554
|
+
} else {
|
|
1555
|
+
tools.logInfo('Injecting angular configuration file replacement');
|
|
1556
|
+
configurationDef = JSON.stringify(angularProjectDefConfiguration);
|
|
1557
|
+
configurationDefOptimized = JSON.stringify(angularProjectDefConfigurationOptimized);
|
|
1558
|
+
}
|
|
1502
1559
|
|
|
1503
1560
|
angularConfigFile.configurations.forEach((conf) => {
|
|
1504
1561
|
const confKey = Object.keys(conf)[0];
|
|
@@ -130,7 +130,7 @@ const writePomXml = (pkg, newVersion, isSnapshot, isForceTimestamp = true) => {
|
|
|
130
130
|
// timestamp file is forced to have at least one file to commit, as snapshot release
|
|
131
131
|
// for backend can keep the same version until its latest
|
|
132
132
|
const tsversionFile = path.resolve(pkg.paths.pkgDirectory, '.tsversion');
|
|
133
|
-
fs.writeFileSync(tsversionFile, Date.now());
|
|
133
|
+
fs.writeFileSync(tsversionFile, Date.now().toString());
|
|
134
134
|
|
|
135
135
|
const versionFile = path.resolve(pkg.paths.pkgDirectory, '.version.properties');
|
|
136
136
|
fs.writeFileSync(versionFile, newVersion);
|