@eui/tools 5.3.87 → 5.3.89

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.87
1
+ 5.3.89
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 5.3.89 (2022-10-31)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * totally skip the external sources injection when not setup in project config - MWP-8915 [MWP-8915](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-8915) ([99bf16ca](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/99bf16cac5d7bbbfe61d0a474de2e0a5bee48dc0))
7
+
8
+ * * *
9
+ * * *
10
+ ## 5.3.88 (2022-10-31)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **other:**
15
+ * prevent injection when externalSources not setup - MWP-8915 [MWP-8915](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-8915) ([6094059c](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/6094059ca5094c4a363fc49cde083e348e00c7ee))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 5.3.87 (2022-10-28)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "5.3.87",
3
+ "version": "5.3.89",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -183,6 +183,11 @@ module.exports.injectExternalAppSources = (project, build = false) => {
183
183
 
184
184
  tools.logTitle(`Injecting project external application sources for : ${project.name}`);
185
185
 
186
+ if (!project.externalSources) {
187
+ tools.logInfo('No external app sources setup...skipping');
188
+ return;
189
+ }
190
+
186
191
  return Promise.resolve()
187
192
  .then(() => {
188
193
  if (!build) {
@@ -211,11 +216,6 @@ module.exports.injectExternalAppSources = (project, build = false) => {
211
216
  }
212
217
  })
213
218
  .then(() => {
214
- if (!project.externalSources) {
215
- tools.logInfo('No external app sources setup...skipping');
216
- return;
217
- }
218
-
219
219
  // in case of multiple injection are defined, we promise loop on each injection
220
220
  if (Array.isArray(project.externalSources)) {
221
221
  return Promise.resolve().then(() => {