@eui/tools 6.21.78 → 6.21.80

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.78
1
+ 6.21.80
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.21.80 (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) ([ccbcd779](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/ccbcd779ff73ba6fa7f614d7a016d1d2df61ff61))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.21.79 (2025-05-22)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * 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))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.21.78 (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.78",
3
+ "version": "6.21.80",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -10,7 +10,7 @@ const tools = require('../../tools');
10
10
  const configUtils = require('../../../csdr/config/config-utils');
11
11
 
12
12
  // FETCH ARGS
13
- const { dryRun, scopes } = tools.getArgs();
13
+ const { dryRun, scopes, ci } = tools.getArgs();
14
14
 
15
15
 
16
16
  module.exports.generate = (inputScopes = 'opsys,cc,mywp,sygma,gem,cotg,eac', project) => {
@@ -58,16 +58,18 @@ module.exports.generate = (inputScopes = 'opsys,cc,mywp,sygma,gem,cotg,eac', pro
58
58
  }
59
59
  });
60
60
 
61
- configUtils.packages.getPackages().forEach((pkg) => {
62
- const localPath = configUtils.packages.getPackagePaths(pkg).root;
63
- console.log(localPath);
64
- packages.push(localPath);
65
- })
61
+ if (!ci) {
62
+ configUtils.packages.getPackages().forEach((pkg) => {
63
+ const localPath = configUtils.packages.getPackagePaths(pkg).root;
64
+ console.log(localPath);
65
+ packages.push(localPath);
66
+ })
67
+ }
66
68
 
67
69
  tools.logInfo(`langs: ${langs}`);
68
70
  tools.logInfo(`dest folder: ${destFolder}`);
69
71
  tools.logInfo(`total packages: ${packages.length}`);
70
- tools.logInfo(packages);
72
+ tools.logInfo(packages.join('\n'));
71
73
  })
72
74
 
73
75
  .then(() => {
@@ -99,11 +101,17 @@ module.exports.generate = (inputScopes = 'opsys,cc,mywp,sygma,gem,cotg,eac', pro
99
101
  }
100
102
  }
101
103
 
104
+ console.log(JSON.stringify(translations, null, 2));
105
+
102
106
  tools.logSuccess('Translation for lang ' + lang + ' done.');
103
107
  });
104
108
 
105
109
  tools.logSuccess('All translations files generated.');
106
110
 
111
+ tools.logTitle('Post-build assets i18n-compiled folder content:');
112
+ const i18nfiles = tools.getFiles(destFolder);
113
+ console.log(i18nfiles);
114
+
107
115
 
108
116
  function addTranslation(file, lang) {
109
117
  if (fs.existsSync(file)) {