@eui/tools 6.21.114 → 6.21.116

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.114
1
+ 6.21.116
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.21.116 (2025-09-05)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * debug clone error - MWP-11955 [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([4343f81c](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/4343f81c61c0e4c3014121023b376f0dfe6a044b))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.21.115 (2025-09-05)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * adapted for git sdlc cloning - MWP-11955 [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([0f2de905](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/0f2de9050af3faa26f182478f49e0fa56bd789b0))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.21.114 (2025-09-04)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.114",
3
+ "version": "6.21.116",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -335,9 +335,12 @@ const cloneRepo = (repoUri, folder, forced = false, shallow = false, externalRep
335
335
 
336
336
  .then(() => {
337
337
  if (!tools.isDirExists(folder)) {
338
- tools.logInfo(`Cloning ${repoUri} in folder "${folder}" ...`);
338
+ tools.logInfo(`Cloning ${repoUri} in folder "${folder}" ... / sdlc=${sdlc}`);
339
339
 
340
- const auth = process.env.gituser && process.env.gitpassword ? `${process.env.gituser}:${process.env.gitpassword}@` : '';
340
+ let auth = process.env.gituser && process.env.gitpassword ? `${process.env.gituser}:${process.env.gitpassword}@` : '';
341
+ if (sdlc) {
342
+ auth = process.env.gituser_sdlc && process.env.gitpassword_sdlc ? `${process.env.gituser_sdlc}:${process.env.gitpassword_sdlc}@` : '';
343
+ }
341
344
  const gitHost = getGitHost(externalRepo, sdlc);
342
345
 
343
346
  if (shallow) {
@@ -358,6 +361,7 @@ const cloneRepo = (repoUri, folder, forced = false, shallow = false, externalRep
358
361
  if (!build) {
359
362
  console.log(e);
360
363
  }
364
+ console.log(e);
361
365
  throw new Error(`Error trying to clone ${repoUri} into ${folder}`);
362
366
  })
363
367
  }
@@ -3,7 +3,7 @@
3
3
  const path = require('path');
4
4
  const tools = require('../tools');
5
5
 
6
- let { subgroup, remoteNpmPkg } = tools.getArgs();
6
+ let { subgroup, remoteNpmPkg, remoteName } = tools.getArgs();
7
7
 
8
8
 
9
9
  module.exports.migrate = (pkg) => {
@@ -78,6 +78,12 @@ module.exports.migrate = (pkg) => {
78
78
  remotePrefix = `${remoteNpmPkg.split('/')[0].substr(1)}-${remoteNpmPkg.split('/')[1]}`;
79
79
  }
80
80
 
81
+ if (remoteName) {
82
+ remotePrefix = remoteName;
83
+ }
84
+
85
+ console.log(remotePrefix);
86
+
81
87
  // getting eUI version for package
82
88
  const depsJson = require(path.join(pkg.paths.root, 'dependencies-composite.json'));
83
89
  const euiVersion = depsJson['@eui/deps-base'].substr(1,2);