@eui/tools 6.9.1 → 6.9.2

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.9.1
1
+ 6.9.2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.9.2 (2023-03-15)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * added subRouteUrl param for remote details injection - MWP-9204 [MWP-9204](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9204) ([4e511e64](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/4e511e6446b009dd88c7e85717c0f6af379d1d3a))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.9.1 (2023-03-14)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.9.1",
3
+ "version": "6.9.2",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -12,7 +12,7 @@ import { ModuleComponent } from './module.component';
12
12
  const elementRoutes: Routes = [
13
13
  { path: '', component: ModuleComponent },
14
14
  {
15
- path: appConfig.global.baseUrl,
15
+ path: `${appConfig.global.baseUrl}@sub.route.url@`,
16
16
  children: routes,
17
17
  },
18
18
  { path: '**', component: FallbackComponent },
@@ -256,6 +256,9 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemote = true) => {
256
256
  tools.logInfo('Replacing skeleton config tokens');
257
257
  tools.replaceInPath(remoteSrcPath, '@remote.name@', remote.name);
258
258
  tools.replaceInPath(remoteSrcPath, '@base.url@', remote.skeletonConfig.baseUrl);
259
+ if (remote.skeletonConfig.subRouteUrl) {
260
+ tools.replaceInPath(remoteSrcPath, '@sub.route.url@', remote.skeletonConfig.subRouteUrl);
261
+ }
259
262
  tools.replaceInPath(remoteSrcPath, '@element.name@', remote.skeletonConfig.elementName);
260
263
  tools.replaceInPath(remoteSrcPath, '@store.name@', remote.skeletonConfig.storeName);
261
264
  tools.replaceInPath(remoteSrcPath, '@root.common.module@', remote.skeletonConfig.rootCommonModule);