@eui/tools 5.3.16 → 5.3.19

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
- 5.3.16
1
+ 5.3.19
package/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ ## 5.3.19 (2022-06-21)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * injection of sources from remote package race condition - MWP-7700 [MWP-7700](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-7700) ([a394124c](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/a394124ca0124b8dd79004983073fa077a4d7258))
7
+
8
+ * * *
9
+ * * *
10
+ ## 5.3.18 (2022-06-20)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **other:**
15
+ * set sonar scanner to false on new remote creation - MWP-8187 [MWP-8187](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-8187) ([f52a6d25](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/f52a6d25e3b118a010b18fccbe0b198820b7e774))
16
+
17
+ * * *
18
+ * * *
19
+ ## 5.3.17 (2022-06-20)
20
+
21
+ ##### Bug Fixes
22
+
23
+ * **other:**
24
+ * csdr package init wrong declarations of routed package - MWP-8187 [MWP-8187](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-8187) ([aa939d6f](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/aa939d6fd6c21d865080f5fbcdb4a8958a7c2631))
25
+
26
+ * * *
27
+ * * *
1
28
  ## 5.3.16 (2022-06-20)
2
29
 
3
30
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "5.3.16",
3
+ "version": "5.3.19",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -14,4 +14,4 @@ import { Cmp1Component } from './components/cmp1/cmp1.component';
14
14
  exports: [
15
15
  ],
16
16
  })
17
- export class CommonModule { }
17
+ export class Module { }
@@ -2,7 +2,7 @@ import { NgModule } from '@angular/core';
2
2
  import { RouterModule, Routes } from '@angular/router';
3
3
  import { Cmp1Component } from './components/cmp1/cmp1.component';
4
4
 
5
- const routes: Routes = [
5
+ export const routes: Routes = [
6
6
  { path: '', component: Cmp1Component },
7
7
  ];
8
8
 
@@ -487,6 +487,7 @@ module.exports.registerCsdrPackage = (pkg, isRemote, rootPkgScope, rootPkgName)
487
487
  "translationScopes": "eui,csdr,cc,mywp",
488
488
  "skipLint": true,
489
489
  "skipTest": true,
490
+ "sonarScanner": false,
490
491
  "envTargetActive": true
491
492
  },
492
493
  "release": {
@@ -110,7 +110,7 @@ module.exports.injectExternalAppSources = (project) => {
110
110
 
111
111
  return Promise.resolve()
112
112
  .then(() => {
113
- return tools.rmdirFull(projectSrcPath, false);
113
+ return tools.rimraf(projectSrcPath);
114
114
  })
115
115
  .then(() => {
116
116
  tools.logInfo(`${appSourcesSrcPath} injecting in ${projectSrcPath}`);
@@ -26,6 +26,13 @@ module.exports.preBuild = (project, envTarget, build, configEnvTarget) => {
26
26
  return configUtils.angular.registerAngularProjectDef(project, build);
27
27
  })
28
28
 
29
+ // inject external app sources declaration
30
+ .then(() => {
31
+ if (project.appSources && project.appSources.external) {
32
+ return injectionUtils.externals.injectExternalAppSources(project);
33
+ }
34
+ })
35
+
29
36
  // inject project config if set as external config deps
30
37
  .then(() => {
31
38
  if (project.config) {
@@ -52,12 +59,6 @@ module.exports.preBuild = (project, envTarget, build, configEnvTarget) => {
52
59
  }
53
60
  })
54
61
 
55
- // inject external app sources declaration
56
- .then(() => {
57
- if (project.appSources && project.appSources.external) {
58
- return injectionUtils.externals.injectExternalAppSources(project);
59
- }
60
- })
61
62
 
62
63
  .then(() => {
63
64
  if (project.config && project.appSources && project.appSources.external && project.appSources.remapRoutesByEnvConfig) {