@eui/tools 4.18.5 → 4.18.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.18.5
1
+ 4.18.9
package/CHANGELOG.md CHANGED
@@ -1,3 +1,40 @@
1
+ ## 4.18.9 (2022-01-17)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * better zipkin cleanup MWP-7583 [MWP-7583](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-7583) ([bd79b356](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/bd79b356f54a04d7d8611aa7ad4e11b8787adeae))
7
+
8
+ * * *
9
+ * * *
10
+ ## 4.18.8 (2022-01-13)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **build-sub-package:**
15
+ * ng-packager config deprecated inside package.json - EUI-5416 [EUI-5416](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-5416) ([5226eb1a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/5226eb1ab3ca33c3c3dd7cc67f790bc1b1997d4f))
16
+
17
+ * * *
18
+ * * *
19
+ ## 4.18.7 (2022-01-03)
20
+
21
+ ##### Chores
22
+
23
+ * **other:**
24
+ * quill cleanup MWP-7583 [MWP-7583](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-7583) ([f0916a9c](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/f0916a9cda61a182308f55b051d2d523feda21c8))
25
+ * add host-zone MWP-7583 [MWP-7583](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-7583) ([01cda40d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/01cda40db9d393c3ee8f24aa0a42239ad3f37c7a))
26
+
27
+ * * *
28
+ * * *
29
+ ## 4.18.6 (2021-12-15)
30
+
31
+ ##### Bug Fixes
32
+
33
+ * **other:**
34
+ * release app script wrong condition on branch - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([f3745bc1](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/f3745bc13749503726bfbdd11832e90401f59ba6))
35
+
36
+ * * *
37
+ * * *
1
38
  ## 4.18.5 (2021-12-15)
2
39
 
3
40
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "4.18.5",
3
+ "version": "4.18.9",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -2,6 +2,5 @@
2
2
  "@eui/deps-base": "^10.0.0",
3
3
 
4
4
  "@csdr/core": "^2.0.0",
5
- "@csdr/integration": "^2.0.0",
6
- "@csdr/zipkin-tracing": "^4.0.0"
5
+ "@csdr/integration": "^2.0.0"
7
6
  }
@@ -53,6 +53,7 @@ import {
53
53
  ELEMENT_ROUTER_TOKEN,
54
54
  I18N_SERVICE_HOST_TOKEN,
55
55
  I18nServiceMapping,
56
+ NG_ZONE_HOST_TOKEN,
56
57
  PUSH_NOTIFICATION_SERVICE_HOST_TOKEN,
57
58
  PushNotificationServiceMapping,
58
59
  USER_SERVICE_HOST_TOKEN,
@@ -150,6 +151,7 @@ export function openidConnectInterceptorFactory(config) {
150
151
  { provide: USER_SERVICE_HOST_TOKEN, useFactory: () => window['PROVIDERS']['UserService'] },
151
152
  { provide: UX_SERVICE_HOST_TOKEN, useFactory: () => window['PROVIDERS']['UxService'] },
152
153
  { provide: UX_APP_SHELL_SERVICE_HOST_TOKEN, useFactory: () => window['PROVIDERS']['UxAppShellService'] },
154
+ { provide: NG_ZONE_HOST_TOKEN, useFactory: () => window['PROVIDERS']['ngZone'] },
153
155
  // TODO[REMOTE-SETUP] uncomment if LanguageInterceptor or StorageService is used
154
156
  // { provide: StorageService, useFactory: () => window['PROVIDERS']['StorageService'] },
155
157
 
@@ -187,10 +189,11 @@ export function openidConnectInterceptorFactory(config) {
187
189
  storeService: StoreService,
188
190
  iI18nService: I18nService,
189
191
  hostUxService: any,
190
- hostUxAppShellService: any) => new UxAppShellServiceMapping(
191
- config, http, platformId, router, storeService, iI18nService, hostUxService, hostUxAppShellService),
192
+ hostUxAppShellService: any,
193
+ hostNgZone) => new UxAppShellServiceMapping(
194
+ config, http, platformId, router, storeService, iI18nService, hostUxService, hostUxAppShellService, hostNgZone),
192
195
  deps: [CONFIG_TOKEN, HttpClient, PLATFORM_ID, Router, StoreService, I18nService,
193
- UX_SERVICE_HOST_TOKEN, UX_APP_SHELL_SERVICE_HOST_TOKEN],
196
+ UX_SERVICE_HOST_TOKEN, UX_APP_SHELL_SERVICE_HOST_TOKEN, NG_ZONE_HOST_TOKEN],
194
197
  },
195
198
  { provide: ELEMENT_ROUTER_TOKEN, useFactory: () => window['PROVIDERS']['ELEMENT_ROUTER_TOKEN'], deps: [] },
196
199
  // TODO[REMOTE-SETUP] uncomment if zipkin is used
@@ -4,12 +4,4 @@ module.exports = {
4
4
  plugins: [
5
5
  new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
6
6
  ],
7
-
8
- // When importing a module whose path matches one of the following, just
9
- // assume a corresponding global variable exists and use that instead.
10
- // This is important because it allows us to avoid bundling all of our
11
- // dependencies, which allows browsers to cache those libraries between builds.
12
- externals: {
13
- 'quill': 'Quill',
14
- },
15
7
  }
@@ -556,7 +556,7 @@ const angularPackageSubEntryDef = {
556
556
  "builder": "@angular-devkit/build-angular:ng-packagr",
557
557
  "options": {
558
558
  "tsConfig": "packages/eui/packages/components/tsconfig.lib.json",
559
- "project": "packages/eui/packages/components/@subEntry.path@/package.json"
559
+ "project": "packages/eui/packages/components/@subEntry.path@/@subEntry.package.name@"
560
560
  },
561
561
  "configurations": {
562
562
  "production": {
@@ -766,7 +766,8 @@ module.exports.registerAngularPackageSubEntry = (subEntryName, subEntryPath) =>
766
766
 
767
767
  let projectDef = JSON.stringify(angularPackageSubEntryDef);
768
768
 
769
- const replacePath = tools.replaceAll(projectDef, '@subEntry.path@', subEntryPath);
769
+ let replacePath = tools.replaceAll(projectDef, '@subEntry.path@', subEntryPath)
770
+ replacePath = tools.replaceAll(replacePath, '@subEntry.package.name@', 'ng-package.json');
770
771
 
771
772
  jsonFile['projects'][subEntryName] = JSON.parse(replacePath);
772
773
 
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const { deepStrictEqual } = require('assert');
4
- const { toInteger } = require('lodash');
5
3
  // global
6
4
  const path = require('path');
7
5
 
@@ -340,7 +340,7 @@ module.exports.run = () => {
340
340
  .then(() => {
341
341
  // for env-target based builds, no need to merge anything back as it only contains a master branch for sources
342
342
  if (!envTarget) {
343
- if (isMaster) {
343
+ if (!isSnapshot && !isSupportBranch && !isSupportSnapshotBranch) {
344
344
  return utils.git.mergeMasterToDevelop(project, project.folder);
345
345
  }
346
346
  }
@@ -214,7 +214,7 @@ module.exports.buildSubEntry = (pkg, subEntry) => {
214
214
  return;
215
215
 
216
216
  } else {
217
- subEntryPath = subEntryPath.replace('/package.json', '');
217
+ subEntryPath = subEntryPath.replace('/ng-package.json', '');
218
218
  tools.logInfo(`${subEntryPath} found... injecting angular.json for sub entry`);
219
219
 
220
220
  return configUtils.angular.registerAngularPackageSubEntry(subEntry, subEntryPath);