@eui/tools 5.3.18 → 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.18
1
+ 5.3.19
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
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
+ * * *
1
10
  ## 5.3.18 (2022-06-20)
2
11
 
3
12
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "5.3.18",
3
+ "version": "5.3.19",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -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) {