@eui/tools 5.3.23 → 5.3.24
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
|
-
5.3.
|
|
1
|
+
5.3.24
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 5.3.24 (2022-06-21)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* prevent cleaning injected sources at build time - MWP-7700 [MWP-7700](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-7700) ([edda50d6](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/edda50d6d28c3760af0903ed55a9354f7e994bfd))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 5.3.23 (2022-06-21)
|
|
2
11
|
|
|
3
12
|
##### Chores
|
package/package.json
CHANGED
|
@@ -64,7 +64,7 @@ module.exports.injectExternalFeatures = (project) => {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
module.exports.injectExternalAppSources = (project) => {
|
|
67
|
+
module.exports.injectExternalAppSources = (project, build = false) => {
|
|
68
68
|
|
|
69
69
|
tools.logTitle(`Injecting project external application sources for : ${project.name}`);
|
|
70
70
|
|
|
@@ -106,11 +106,13 @@ module.exports.injectExternalAppSources = (project) => {
|
|
|
106
106
|
throw new Error('External features not found');
|
|
107
107
|
|
|
108
108
|
} else {
|
|
109
|
-
tools.logInfo(`Removing ${projectSrcPath} content`);
|
|
110
109
|
|
|
111
110
|
return Promise.resolve()
|
|
112
111
|
.then(() => {
|
|
113
|
-
|
|
112
|
+
if (!build) {
|
|
113
|
+
tools.logInfo(`Removing ${projectSrcPath} content`);
|
|
114
|
+
return tools.rimraf(projectSrcPath);
|
|
115
|
+
}
|
|
114
116
|
})
|
|
115
117
|
.then(() => {
|
|
116
118
|
tools.logInfo(`${appSourcesSrcPath} injecting in ${projectSrcPath}`);
|
|
@@ -29,7 +29,7 @@ module.exports.preBuild = (project, envTarget, build, configEnvTarget) => {
|
|
|
29
29
|
// inject external app sources declaration
|
|
30
30
|
.then(() => {
|
|
31
31
|
if (project.appSources && project.appSources.external) {
|
|
32
|
-
return injectionUtils.externals.injectExternalAppSources(project);
|
|
32
|
+
return injectionUtils.externals.injectExternalAppSources(project, build);
|
|
33
33
|
}
|
|
34
34
|
})
|
|
35
35
|
|