@eui/tools 6.21.76 → 6.21.78

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.76
1
+ 6.21.78
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.21.78 (2025-05-22)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * 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))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.21.77 (2025-05-22)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * adapted resolutions for v19 for eclaptop installation - EUI-10199 [EUI-10199](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-10199) ([5777d043](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/5777d0432c18acf1a4acbca12f6b78c13c025941))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.21.76 (2025-05-16)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.76",
3
+ "version": "6.21.78",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -8,7 +8,7 @@ const tools = require('../../utils/tools');
8
8
  const configUtils = require('../config/config-utils');
9
9
 
10
10
  // ARGS
11
- const { registry } = tools.getArgs();
11
+ const { registry, eclaptop } = tools.getArgs();
12
12
 
13
13
 
14
14
  const processResolutionsInjection = module.exports.processResolutionsInjection = (packageJsonPath, euiVersion) => {
@@ -22,7 +22,16 @@ const processResolutionsInjection = module.exports.processResolutionsInjection =
22
22
  tools.logInfo(`Processing resolutions replacement for eUI version found : ${euiVersion}`);
23
23
  const packageJsonFile = path.join(packageJsonPath, 'package.json');
24
24
  const packageJson = require(packageJsonFile);
25
- resolutionsJsonFile = path.join(__dirname, 'resources', euiVersion, 'resolutions.json');
25
+
26
+ if (eclaptop) {
27
+ tools.logInfo('EC Laptop parameter detected - resolutions-laptop.json will be used with forced esbuild dependencies versions');
28
+ resolutionsJsonFile = path.join(__dirname, 'resources', euiVersion, 'resolutions-eclaptop.json');
29
+ if (!tools.isFileExists(resolutionsJsonFile)) {
30
+ resolutionsJsonFile = path.join(__dirname, 'resources', euiVersion, 'resolutions.json');
31
+ }
32
+ } else {
33
+ resolutionsJsonFile = path.join(__dirname, 'resources', euiVersion, 'resolutions.json');
34
+ }
26
35
 
27
36
  if (tools.isFileExists(resolutionsJsonFile)) {
28
37
  const resolutionsJson = require(resolutionsJsonFile);
@@ -0,0 +1,14 @@
1
+ {
2
+ "js-yaml": ">=3.13.1",
3
+ "pdfjs-dist": "4.10.38",
4
+ "tar": ">=6.2.1",
5
+ "katex": ">=0.16.10",
6
+ "follow-redirects": ">=1.15.4",
7
+ "word-wrap": ">=1.2.4",
8
+ "postcss": ">=8.4.31",
9
+ "semver": ">=7.5.2",
10
+ "express": "4.21.2",
11
+ "path-to-regexp": "1.9.0",
12
+ "**/esbuild": "0.25.1",
13
+ "**/@esbuild/win32-x64": "0.25.1"
14
+ }
@@ -292,6 +292,15 @@ module.exports.angular = (
292
292
  }
293
293
  })
294
294
 
295
+ .then(() => {
296
+ const desti18ncompiledPath = path.join(currentProject.paths.rootPath, 'dist', 'assets', 'i18n-compiled');
297
+ if (tools.isDirExists(desti18ncompiledPath)) {
298
+ tools.logTitle('Post-build assets i18n-compiled folder content:');
299
+ const i18nfiles = tools.getFiles(desti18ncompiledPath);
300
+ console.log(i18nfiles);
301
+ }
302
+ })
303
+
295
304
  .catch((e) => {
296
305
  throw e;
297
306
  });