@eui/tools 4.21.4 → 4.21.7

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
- 4.21.4
1
+ 4.21.7
package/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ ## 4.21.7 (2022-03-22)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * href cleanup MWP-7583 [MWP-7583](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-7583) ([ee465a6e](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/ee465a6e9cdb31d6a044ad26658d7f00bee6c1df))
7
+
8
+ * * *
9
+ * * *
10
+ ## 4.21.6 (2022-03-21)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **other:**
15
+ * skip euiVersion detection on remote without dependencies - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([de495105](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/de495105ab6a6458ac925ee9126c5b7bc143ff06))
16
+
17
+ * * *
18
+ * * *
19
+ ## 4.21.5 (2022-03-21)
20
+
21
+ ##### Bug Fixes
22
+
23
+ * **other:**
24
+ * euiVersion detection - 7.x deps composite force to DEFAULT - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([cda9a602](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/cda9a6024e781357f269f90702bc94b9e4abc17d))
25
+
26
+ * * *
27
+ * * *
1
28
  ## 4.21.4 (2022-03-18)
2
29
 
3
30
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "4.21.4",
3
+ "version": "4.21.7",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -2,7 +2,6 @@ import { DOCUMENT } from '@angular/common';
2
2
  import { NgModule, Injector, NgZone, PLATFORM_ID } from '@angular/core';
3
3
  import { BrowserModule } from '@angular/platform-browser';
4
4
  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
5
- import { APP_BASE_HREF } from '@angular/common';
6
5
  import { Router } from '@angular/router';
7
6
  import { HttpClient, HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
8
7
  import { createCustomElement } from '@angular/elements';
@@ -101,7 +100,6 @@ export function openidConnectInterceptorFactory(config) {
101
100
  ModuleComponent,
102
101
  ],
103
102
  providers: [
104
- { provide: APP_BASE_HREF, useValue: `/${appConfig.global.baseUrl}` },
105
103
  reducerProvider,
106
104
  {
107
105
  provide: EUI_CONFIG_TOKEN,
@@ -251,7 +251,7 @@ module.exports.getLocalPackagesEuiVersion = () => {
251
251
  if (p.parent !== true && p.tsPackage !== false) {
252
252
  tools.logInfo(`checking ${p.name}`);
253
253
 
254
- let version = 'DEFAULT';
254
+ let version;
255
255
 
256
256
  if (p.build && p.build.euiVersion) {
257
257
  version = p.build.euiVersion;
@@ -273,13 +273,20 @@ module.exports.getLocalPackagesEuiVersion = () => {
273
273
  euiVersion = euiVersion.substr(1);
274
274
  }
275
275
  version = `${euiVersion}.x`;
276
+
277
+ if (version === '7.x') {
278
+ version = 'DEFAULT';
279
+ }
276
280
  }
277
281
  }
278
282
  }
279
283
 
280
- tools.logInfo(`---- version found : ${version}\n`);
281
-
282
- versionsFound.push(version);
284
+ if (version) {
285
+ tools.logInfo(`---- version found : ${version}\n`);
286
+ versionsFound.push(version);
287
+ } else {
288
+ tools.logInfo('---- version detection skipped');
289
+ }
283
290
  }
284
291
  })
285
292