@eui/tools 6.21.61 → 6.21.63
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.
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.21.
|
|
1
|
+
6.21.63
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.21.63 (2025-04-10)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* metadata diffs when no previous version if found for remote on new env build - EUI-10199 [EUI-10199](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-10199) ([075b8678](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/075b8678006b940dd739506b45da1c57bc4ad93c))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.21.62 (2025-04-08)
|
|
11
|
+
|
|
12
|
+
##### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* 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))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.21.61 (2025-04-07)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -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);
|
|
@@ -48,7 +48,7 @@ const getDiffBetweenBuildVersions = (pkg, fromBuildMetadata, toBuildMetadata) =>
|
|
|
48
48
|
|
|
49
49
|
if (!fromBuildMetadata) {
|
|
50
50
|
tools.logWarning('No previous metadata found for package...skipping');
|
|
51
|
-
return
|
|
51
|
+
return [];
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
return Promise.resolve()
|
|
@@ -102,7 +102,7 @@ const getDiffByEnvTarget = (pkg, envTarget) => {
|
|
|
102
102
|
|
|
103
103
|
if (!fromVersion || !toVersion) {
|
|
104
104
|
tools.logWarning('WARNING: could not find versions matching for generating diff report');
|
|
105
|
-
return
|
|
105
|
+
return [];
|
|
106
106
|
} else {
|
|
107
107
|
return getDiffBetweenBuildVersions(pkg, fromVersion, toVersion);
|
|
108
108
|
}
|