@eui/tools 6.12.39 → 6.12.40

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.12.39
1
+ 6.12.40
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.12.40 (2023-08-11)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * route-replacement allow static route import - EUO-7860 [EUO-7860](https://webgate.ec.europa.eu/CITnet/jira/browse/EUO-7860) ([45263ee5](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/45263ee59e90a466f7bbf438ac55071109460940))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.12.39 (2023-08-10)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.12.39",
3
+ "version": "6.12.40",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -6,7 +6,7 @@ const tools = require('../../tools');
6
6
  const gitUtils = require('../../git-utils');
7
7
  const configUtils = require('../../../csdr/config/config-utils');
8
8
 
9
-
9
+ const { skipPull } = tools.getArgs();
10
10
 
11
11
  const injectExternalAppSourcesCore = (project, build = false, injectedNpmPkg, injectedFolder, euiVersion) => {
12
12
 
@@ -379,6 +379,9 @@ module.exports.injectExternalFeatures = (project) => {
379
379
 
380
380
 
381
381
  module.exports.injectExternalMock = (project) => {
382
+ if (skipPull) {
383
+ return;
384
+ }
382
385
 
383
386
  tools.logTitle(`Injecting project external mock for : ${project.name}`);
384
387
 
@@ -631,7 +631,7 @@ const generateLinks = (project, routes, envTargetFinal) => {
631
631
  if (project.name.indexOf('playground') > 0) {
632
632
  const routePathInInputRoutes = routes.filter(r => r.angularRouteDef.path === defRoute.path)[0];
633
633
 
634
- if (!routePathInInputRoutes) {
634
+ if (!routePathInInputRoutes && !link.static) {
635
635
  defRoute.disabled = true;
636
636
  } else {
637
637
  tools.logInfo(`[${defRoute.url}] --> route found in input routes - enabled`);