@eui/tools 4.21.6 → 4.21.9

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.6
1
+ 4.21.9
package/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ ## 4.21.9 (2022-03-25)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * enabled debug on git commit stage - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([39692e79](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/39692e7992573e4f9cf41c7c1675b7fb524b2489))
7
+
8
+ * * *
9
+ * * *
10
+ ## 4.21.8 (2022-03-24)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * 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))
16
+
17
+ * * *
18
+ * * *
19
+ ## 4.21.7 (2022-03-22)
20
+
21
+ ##### Chores
22
+
23
+ * **other:**
24
+ * 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))
25
+
26
+ * * *
27
+ * * *
1
28
  ## 4.21.6 (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.6",
3
+ "version": "4.21.9",
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,
@@ -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);
@@ -11,7 +11,7 @@ const { getPackageConfig } = require('./notification/config');
11
11
  // const versionUtils = require('./version-utils');
12
12
 
13
13
  // FETCH ARGS
14
- const { dryRun, git } = tools.getArgs();
14
+ const { dryRun, git, debug } = tools.getArgs();
15
15
 
16
16
 
17
17
  const getLastTag = (folder) => {
@@ -105,15 +105,19 @@ const commitAndPush = (branch, message, folder) => {
105
105
  } catch (e2) {
106
106
  tools.logError('ERROR');
107
107
  console.log('ERROR!!!');
108
+ if (debug) {
109
+ console.log(e2);
110
+ }
108
111
 
109
112
  try {
110
113
  tools.logInfo('Commit and push - second try - retrying pull push');
111
- // setTimeout(() => {
112
- execa.sync('git', ['pull', 'origin', branch], { cwd: folder });
113
- execa.sync('git', ['push', 'origin', branch], { cwd: folder });
114
- // }, 8000);
114
+ execa.sync('git', ['pull', 'origin', branch], { cwd: folder });
115
+ execa.sync('git', ['push', 'origin', branch], { cwd: folder });
115
116
 
116
117
  } catch (e3) {
118
+ if (debug) {
119
+ console.log(e3);
120
+ }
117
121
  throw new Error(`Failed to push ${message} to ${folder}`);
118
122
  }
119
123
  }