@eui/tools 6.21.77 → 6.21.79

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.77
1
+ 6.21.79
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.21.79 (2025-05-22)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * debug translation generation for MWP host - EUI-101999 [EUI-101999](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-101999) ([fe3e0af7](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/fe3e0af757217fde93f64c19131a5e24407ddc8d))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.21.78 (2025-05-22)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * debug i18n-compiled post build on project - EUI-10199 [EUI-10199](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-10199) ([d78dc309](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/d78dc3096b731d62085651cd6671daad84a3c154))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.21.77 (2025-05-22)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.77",
3
+ "version": "6.21.79",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -121,6 +121,15 @@ module.exports.angular = (
121
121
  return preBuildUtils.projects.preBuild(currentProject, envTarget, true, configEnvTarget);
122
122
  })
123
123
 
124
+ .then(() => {
125
+ const desti18ncompiledPath = path.join(currentProject.paths.rootPath, 'src', 'assets', 'i18n-compiled');
126
+ if (tools.isDirExists(desti18ncompiledPath)) {
127
+ tools.logTitle('Pre-build assets i18n-compiled folder content:');
128
+ const i18nfiles = tools.getFiles(desti18ncompiledPath);
129
+ console.log(i18nfiles);
130
+ }
131
+ })
132
+
124
133
  .then(() => {
125
134
  if (!skipLint) {
126
135
  tools.logInfo(`TS Linting application...`);
@@ -292,6 +301,15 @@ module.exports.angular = (
292
301
  }
293
302
  })
294
303
 
304
+ .then(() => {
305
+ const desti18ncompiledPath = path.join(currentProject.paths.rootPath, 'dist', 'assets', 'i18n-compiled');
306
+ if (tools.isDirExists(desti18ncompiledPath)) {
307
+ tools.logTitle('Post-build assets i18n-compiled folder content:');
308
+ const i18nfiles = tools.getFiles(desti18ncompiledPath);
309
+ console.log(i18nfiles);
310
+ }
311
+ })
312
+
295
313
  .catch((e) => {
296
314
  throw e;
297
315
  });
@@ -104,7 +104,11 @@ module.exports.generate = (inputScopes = 'opsys,cc,mywp,sygma,gem,cotg,eac', pro
104
104
 
105
105
  tools.logSuccess('All translations files generated.');
106
106
 
107
+ tools.logTitle('Post-build assets i18n-compiled folder content:');
108
+ const i18nfiles = tools.getFiles(destFolder);
109
+ console.log(i18nfiles);
107
110
 
111
+
108
112
  function addTranslation(file, lang) {
109
113
  if (fs.existsSync(file)) {
110
114
  let data = fs.readFileSync(file, 'utf-8');