@eui/tools 4.21.5 → 4.21.8

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.5
1
+ 4.21.8
package/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ ## 4.21.8 (2022-03-24)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * added eUI 14 for dart sass compilation of styles - EUI-5739 [EUI-5739](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-5739) ([a4f2f772](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/a4f2f772bdfc4f7e4ddcc21245172f7c8e5e6f97))
7
+
8
+ * * *
9
+ * * *
10
+ ## 4.21.7 (2022-03-22)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * 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))
16
+
17
+ * * *
18
+ * * *
19
+ ## 4.21.6 (2022-03-21)
20
+
21
+ ##### Bug Fixes
22
+
23
+ * **other:**
24
+ * 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))
25
+
26
+ * * *
27
+ * * *
1
28
  ## 4.21.5 (2022-03-21)
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.5",
3
+ "version": "4.21.8",
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;
@@ -281,9 +281,12 @@ module.exports.getLocalPackagesEuiVersion = () => {
281
281
  }
282
282
  }
283
283
 
284
- tools.logInfo(`---- version found : ${version}\n`);
285
-
286
- 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
+ }
287
290
  }
288
291
  })
289
292
 
@@ -169,7 +169,7 @@ const compileSassFileDartSass = (folder, filename) => {
169
169
  const compileSassFile = (pkg, folder, filename, isNodeSassTildeImporterActive) => {
170
170
  return Promise.resolve()
171
171
  .then(() => {
172
- if (pkg.build && pkg.build.euiVersion === '13.x') {
172
+ if (pkg.build && (pkg.build.euiVersion === '13.x' || pkg.build.euiVersion === '14.x')) {
173
173
  return compileSassFileDartSass(folder, filename);
174
174
  } else {
175
175
  return compileSassFileNodeSass(folder, filename, isNodeSassTildeImporterActive);