@eui/tools 6.21.95 → 6.21.97

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.95
1
+ 6.21.97
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.21.97 (2025-07-08)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * migrate script - MWP-11955 [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([1481823f](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/1481823fe61febe25631b62415a4e131208d651d))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.21.96 (2025-07-07)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * adapted remote migration creation not to be launch by default - MWP-11955 [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([0f5d5403](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/0f5d54031dd3eba8d5f5c14127b7da6610eadd59))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.21.95 (2025-07-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.95",
3
+ "version": "6.21.97",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -53,6 +53,15 @@ module.exports.migrate = (pkg) => {
53
53
 
54
54
 
55
55
 
56
+
57
+ // REMOTE CREATION
58
+
59
+ const remotesTriggerPath = path.join(process.cwd(), 'remotes-trigger');
60
+
61
+ if (!tools.isDirExists(remotesTriggerPath)) {
62
+ return;
63
+ }
64
+
56
65
  tools.logInfo('Duplicating remote config');
57
66
 
58
67
  const remotePrefix = `${pkg.npmPkg.split('/')[0].substr(1)}-${pkg.npmPkg.split('/')[1]}`;
@@ -96,18 +105,12 @@ module.exports.migrate = (pkg) => {
96
105
  remotesSDLCConfig[newRemoteName] = currentRemoteConfig;
97
106
 
98
107
  tools.writeJsonFileSync(remoteSDLCConfigFile, remotesSDLCConfig);
99
-
100
108
 
101
109
 
102
110
 
103
111
 
104
112
  tools.logInfo('Initializing remote trigger repository');
105
-
106
- const remotesTriggerPath = path.join(process.cwd(), 'remotes-trigger');
107
113
 
108
- if (!tools.isDirExists(remotesTriggerPath)) {
109
- return;
110
- }
111
114
 
112
115
  tools.copydirFiles(path.join(__dirname, 'skeleton', 'remote-trigger'), path.join(remotesTriggerPath, newRemoteName));
113
116
  tools.replaceInFileSync(path.join(remotesTriggerPath, newRemoteName, '.gitlab-ci.yml'), '@module.remote.name@', newRemoteName);