@eui/tools 6.21.106 → 6.21.108

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.106
1
+ 6.21.108
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.21.108 (2025-08-12)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * add moduleIdNew for remote on sdlc - MWP-11955 [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([0116530e](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/0116530e40c66ccfe05228f0f4cf745c1efddaae))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.21.107 (2025-08-12)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * adapted sdlc-migrate script - MWP-11955 [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([bc48c11f](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/bc48c11f96abd1b149f4526e60448943e8c635a7))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.21.106 (2025-08-06)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.106",
3
+ "version": "6.21.108",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -173,38 +173,41 @@ module.exports.migrate = (pkg) => {
173
173
  tools.replaceInFileSync(remoteMedatadataVersionsNew, '-PPD.', '-ppd.');
174
174
 
175
175
 
176
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '"DEV"', '"dev"');
177
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '"TST"', '"tst"');
178
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '"INT"', '"int"');
179
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '"ACC"', '"acc"');
180
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '"DLT"', '"dlt"');
181
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '"TRN"', '"trn"');
182
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '"PPD"', '"ppd"');
183
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '"PROD"', '"prd"');
184
-
185
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '-TST.', '-tst.');
186
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '-INT.', '-int.');
187
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '-ACC.', '-acc.');
188
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '-DLT.', '-dlt.');
189
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '-TRN.', '-trn.');
190
- tools.replaceInFileSync(remoteMedatadataHistoryNew, '-PPD.', '-ppd.');
176
+ if (tools.isFileExists(remoteMedatadataHistoryNew)) {
177
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"DEV"', '"dev"');
178
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"TST"', '"tst"');
179
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"INT"', '"int"');
180
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"ACC"', '"acc"');
181
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"DLT"', '"dlt"');
182
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"TRN"', '"trn"');
183
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"PPD"', '"ppd"');
184
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"PROD"', '"prd"');
185
+
186
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '-TST.', '-tst.');
187
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '-INT.', '-int.');
188
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '-ACC.', '-acc.');
189
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '-DLT.', '-dlt.');
190
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '-TRN.', '-trn.');
191
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '-PPD.', '-ppd.');
192
+ }
191
193
 
192
-
193
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '"DEV"', '"dev"');
194
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '"TST"', '"tst"');
195
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '"INT"', '"int"');
196
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '"ACC"', '"acc"');
197
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '"DLT"', '"dlt"');
198
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '"TRN"', '"trn"');
199
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '"PPD"', '"ppd"');
200
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '"PROD"', '"prd"');
201
-
202
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '-TST.', '-tst.');
203
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '-INT.', '-int.');
204
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '-ACC.', '-acc.');
205
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '-DLT.', '-dlt.');
206
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '-TRN.', '-trn.');
207
- tools.replaceInFileSync(remoteMedatadataEnvsNew, '-PPD.', '-ppd.');
194
+ if (tools.isFileExists(remoteMedatadataEnvsNew)) {
195
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"DEV"', '"dev"');
196
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"TST"', '"tst"');
197
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"INT"', '"int"');
198
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"ACC"', '"acc"');
199
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"DLT"', '"dlt"');
200
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"TRN"', '"trn"');
201
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"PPD"', '"ppd"');
202
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"PROD"', '"prd"');
203
+
204
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '-TST.', '-tst.');
205
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '-INT.', '-int.');
206
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '-ACC.', '-acc.');
207
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '-DLT.', '-dlt.');
208
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '-TRN.', '-trn.');
209
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '-PPD.', '-ppd.');
210
+ }
208
211
  })
209
212
  .catch((e) => {
210
213
  console.log(e);
@@ -83,6 +83,9 @@ Promise.resolve()
83
83
  elementTag: route.data.elementTag,
84
84
  iframe: route.data.iframe,
85
85
  }
86
+ if (route.data.moduleIdNew) {
87
+ remote.moduleIdNew = route.data.moduleIdNew;
88
+ }
86
89
  }
87
90
  }
88
91
 
@@ -377,6 +377,9 @@ const getProjectRoutes = (project, routesDefs) => {
377
377
 
378
378
  if (remoteDef) {
379
379
  newAppRoute.angularRouteDef.data.moduleId = remoteDef.moduleId;
380
+ if (remoteDef.moduleIdNew) {
381
+ newAppRoute.angularRouteDef.data.moduleIdNew = remoteDef.moduleIdNew;
382
+ }
380
383
  newAppRoute.angularRouteDef.data.elementTag = remoteDef.elementTag;
381
384
  newAppRoute.angularRouteDef.data.iframe = remoteDef.iframe;
382
385
  newAppRoute.remote = true;
@@ -428,6 +431,9 @@ const generateAngularRoutes = (project, routes) => {
428
431
  if (route.data.moduleId) {
429
432
  routeContent += ` moduleId: '${route.data.moduleId}',\n`;
430
433
  }
434
+ if (route.data.moduleIdNew) {
435
+ routeContent += ` moduleIdNew: '${route.data.moduleIdNew}',\n`;
436
+ }
431
437
  if (route.data.elementTag) {
432
438
  routeContent += ` elementTag: '${route.data.elementTag}',\n`;
433
439
  }