@eui/tools 6.21.79 → 6.21.81

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.79
1
+ 6.21.81
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.21.81 (2025-05-22)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * revert debug of translations - EUI-10199 [EUI-10199](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-10199) ([18fdb281](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/18fdb28141e11a1e1cffd7baffc54dc58d56c3dc))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.21.80 (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) ([ccbcd779](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/ccbcd779ff73ba6fa7f614d7a016d1d2df61ff61))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.21.79 (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.79",
3
+ "version": "6.21.81",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -121,15 +121,6 @@ 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
-
133
124
  .then(() => {
134
125
  if (!skipLint) {
135
126
  tools.logInfo(`TS Linting application...`);
@@ -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(() => {
@@ -104,11 +106,11 @@ module.exports.generate = (inputScopes = 'opsys,cc,mywp,sygma,gem,cotg,eac', pro
104
106
 
105
107
  tools.logSuccess('All translations files generated.');
106
108
 
107
- tools.logTitle('Post-build assets i18n-compiled folder content:');
108
- const i18nfiles = tools.getFiles(destFolder);
109
- console.log(i18nfiles);
109
+ // tools.logTitle('Post-build assets i18n-compiled folder content:');
110
+ // const i18nfiles = tools.getFiles(destFolder);
111
+ // console.log(i18nfiles);
112
+
110
113
 
111
-
112
114
  function addTranslation(file, lang) {
113
115
  if (fs.existsSync(file)) {
114
116
  let data = fs.readFileSync(file, 'utf-8');