@eui/tools 6.21.95 → 6.21.96

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.96
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.21.96 (2025-07-07)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * 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))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.21.95 (2025-07-04)
2
11
 
3
12
  ##### 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.96",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -53,6 +53,13 @@ module.exports.migrate = (pkg) => {
53
53
 
54
54
 
55
55
 
56
+
57
+ // REMOTE CREATION
58
+
59
+ if (!tools.isDirExists(remotesTriggerPath)) {
60
+ return;
61
+ }
62
+
56
63
  tools.logInfo('Duplicating remote config');
57
64
 
58
65
  const remotePrefix = `${pkg.npmPkg.split('/')[0].substr(1)}-${pkg.npmPkg.split('/')[1]}`;
@@ -96,7 +103,6 @@ module.exports.migrate = (pkg) => {
96
103
  remotesSDLCConfig[newRemoteName] = currentRemoteConfig;
97
104
 
98
105
  tools.writeJsonFileSync(remoteSDLCConfigFile, remotesSDLCConfig);
99
-
100
106
 
101
107
 
102
108
 
@@ -105,9 +111,7 @@ module.exports.migrate = (pkg) => {
105
111
 
106
112
  const remotesTriggerPath = path.join(process.cwd(), 'remotes-trigger');
107
113
 
108
- if (!tools.isDirExists(remotesTriggerPath)) {
109
- return;
110
- }
114
+
111
115
 
112
116
  tools.copydirFiles(path.join(__dirname, 'skeleton', 'remote-trigger'), path.join(remotesTriggerPath, newRemoteName));
113
117
  tools.replaceInFileSync(path.join(remotesTriggerPath, newRemoteName, '.gitlab-ci.yml'), '@module.remote.name@', newRemoteName);