@eui/tools 6.21.60 → 6.21.62

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.60
1
+ 6.21.62
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.21.62 (2025-04-08)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * change the order of extra-routes process (from before before extra-locales to after) EUI-10199 [EUI-10199](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-10199) ([c051a74f](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/c051a74ff89eaa0e496eabb67a101888b8484da1))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.21.61 (2025-04-07)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * adapted workspace links refactoring for ACC/DLT - EUI-10199 [EUI-10199](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-10199) ([449f3009](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/449f300943cf2cd10d03c1df4580da10e4f74cc0))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.21.60 (2025-04-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.60",
3
+ "version": "6.21.62",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -242,22 +242,6 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemotesConfigFlag = tru
242
242
  }
243
243
  }
244
244
 
245
-
246
- // extra routes
247
- if (remote.skeletonConfig.extraUrls) {
248
- let extraUrlsConfigPlaceholder = '', extraUrlsRoutesPlaceholder = '', extraUrlsImportsPlaceholder = '';
249
- remote.skeletonConfig.extraUrls.forEach((url) => {
250
- extraUrlsConfigPlaceholder += `${url.name}: '${url.path}', `;
251
- extraUrlsRoutesPlaceholder += `{ path: appConfig.global.${url.name}, children: ${url.import} },`;
252
- extraUrlsImportsPlaceholder += `${url.import},`;
253
- });
254
-
255
- tools.replaceInPath(remoteSrcPath, '// EXTRA_URLS_CONFIG_PLACEHOLDER', extraUrlsConfigPlaceholder);
256
- tools.replaceInPath(remoteSrcPath, '// EXTRA_URLS_ROUTES_PLACEHOLDER', extraUrlsRoutesPlaceholder);
257
- tools.replaceInPath(remoteSrcPath, '// EXTRA_URLS_IMPORTS_PLACEHOLDER', extraUrlsImportsPlaceholder);
258
- }
259
-
260
-
261
245
  // checking options
262
246
 
263
247
  // if no options found, we inject default modules defs
@@ -313,6 +297,20 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemotesConfigFlag = tru
313
297
  pushContent(optionDynamicFormsDef);
314
298
  }
315
299
 
300
+ // extra routes
301
+ if (remote.skeletonConfig.extraUrls) {
302
+ let extraUrlsConfigPlaceholder = "", extraUrlsRoutesPlaceholder = "", extraUrlsImportsPlaceholder = "";
303
+ remote.skeletonConfig.extraUrls.forEach((url) => {
304
+ extraUrlsConfigPlaceholder += `${url.name}: '${url.path}', `;
305
+ extraUrlsRoutesPlaceholder += `{ path: appConfig.global.${url.name}, children: ${url.import} },`;
306
+ extraUrlsImportsPlaceholder += `${url.import},`;
307
+ });
308
+
309
+ tools.replaceInPath(remoteSrcPath, "// EXTRA_URLS_CONFIG_PLACEHOLDER", extraUrlsConfigPlaceholder);
310
+ tools.replaceInPath(remoteSrcPath, "// EXTRA_URLS_ROUTES_PLACEHOLDER", extraUrlsRoutesPlaceholder);
311
+ tools.replaceInPath(remoteSrcPath, "// EXTRA_URLS_IMPORTS_PLACEHOLDER", extraUrlsImportsPlaceholder);
312
+ }
313
+
316
314
  // participant
317
315
  if (remote.skeletonConfig.options.participant) {
318
316
  tools.copy(optionParticipantPath, remoteSrcPath);
@@ -747,8 +747,8 @@ const generateLinks = (project, routes, envTargetFinal) => {
747
747
  envTargetFinal === 'dev' ||
748
748
  envTargetFinal === 'test' ||
749
749
  envTargetFinal === 'int' ||
750
- // envTargetFinal === 'acc' ||
751
- // envTargetFinal === 'dlt' ||
750
+ envTargetFinal === 'acc' ||
751
+ envTargetFinal === 'dlt' ||
752
752
  // envTargetFinal === 'trn' ||
753
753
  // envTargetFinal === 'ppd' ||
754
754
  // envTargetFinal === 'prod' ||