@eui/tools 6.21.117 → 6.21.119

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.117
1
+ 6.21.119
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## 6.21.119 (2025-09-08)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * host pkg clone if sdlc - MWP-11955 [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([a2a42202](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/a2a4220227d8a69dccede051d3456f7ffdf70e81))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.21.118 (2025-09-05)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * adapted to handle script-eui-tools.json import for hybrid bitbucket / gitlab local install - MWP-11955 [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([1a8f7beb](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/1a8f7bebb810527bd92ba7799133bb3e7de93902))
16
+ * adapted to handle script-eui-tools.json import for hybrid bitbucket / gitlab local install ([7d006b89](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/7d006b89272d5b0182b7c6095c0632add1546e9d))
17
+
18
+ * * *
19
+ * * *
1
20
  ## 6.21.117 (2025-09-05)
2
21
 
3
22
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.117",
3
+ "version": "6.21.119",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -86,7 +86,7 @@ module.exports.cloneHostPackage = (prj) => {
86
86
  throw new Error('Invalid host package provided / unknown to CSDR config');
87
87
  }
88
88
  if (configUtils.global.isCsdr()) {
89
- return gitUtils.cloneAndCheckout(pkg.repository, path.join(process.cwd(), 'packages', pkg.name), 'master', false, false, true);
89
+ return gitUtils.cloneAndCheckout(pkg.repository, path.join(process.cwd(), 'packages', pkg.name), 'master', false, false, pkg.sdlc);
90
90
  } else {
91
91
  return gitUtils.cloneRepoStandalone(pkg.name, path.join(process.cwd(), 'packages', pkg.name));
92
92
  }
@@ -22,11 +22,15 @@ module.exports.importScripts = () => {
22
22
  projects.forEach((p) => {
23
23
  tools.logInfo(`Project : ${p.name}`);
24
24
 
25
- const scriptsFile = path.join(process.cwd(), p.folder, 'scripts.json');
25
+ let scriptsFile = path.join(process.cwd(), p.folder, 'scripts-eui-tools.json');
26
26
  if (!tools.isFileExists(scriptsFile)) {
27
- tools.logInfo('no scripts.json file found - skipping');
27
+ scriptsFile = path.join(process.cwd(), p.folder, 'scripts.json');
28
+ }
29
+
30
+ if (!tools.isFileExists(scriptsFile)) {
31
+ tools.logInfo('no scripts.json or scripts-eui-tools.json file found - skipping');
28
32
  } else {
29
- tools.logInfo('Processing scripts.json file');
33
+ tools.logInfo('Processing scripts-eui-tools.json file');
30
34
  const scriptsJson = require(scriptsFile);
31
35
  rootPackageJson.scripts = { ...rootPackageJson.scripts, ...scriptsJson };
32
36
  }