@eui/tools 5.3.45 → 5.3.47
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.
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.3.
|
|
1
|
+
5.3.47
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 5.3.47 (2022-09-15)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* added rootEnv for specific envCycle strategy - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([5af51ec4](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/5af51ec481ed8750aeb211468865b043d960e6a7))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 5.3.46 (2022-09-15)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* memory leaks MWP-8671 [MWP-8671](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-8671) ([0fdd6154](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/0fdd6154924fc73ad31ac3e66414b1b8ce927c38))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 5.3.45 (2022-09-14)
|
|
2
20
|
|
|
3
21
|
##### Bug Fixes
|
package/package.json
CHANGED
package/sandbox.js
CHANGED
|
@@ -874,9 +874,34 @@ const versionUtils = require('./scripts/csdr/version/version-utils');
|
|
|
874
874
|
// })
|
|
875
875
|
|
|
876
876
|
|
|
877
|
+
// PROJECT VERSION CSDR BUILD TESTING (à la carte way === MWP / PMO MOBILE / SEDIA)
|
|
878
|
+
// --------------------------------------------------------------------------------
|
|
879
|
+
const project = configUtils.projects.getProject('pmo-mobile');
|
|
877
880
|
|
|
878
|
-
|
|
881
|
+
// let versionsMetadata;
|
|
882
|
+
// let envsMetadata;
|
|
883
|
+
|
|
884
|
+
return Promise.resolve()
|
|
885
|
+
// .then(() => {
|
|
886
|
+
// return metadataUtils.appVersions.getMetadata(project);
|
|
887
|
+
// })
|
|
888
|
+
// .then((metadata) => {
|
|
889
|
+
// versionsMetadata = metadata;
|
|
890
|
+
// })
|
|
891
|
+
// .then(() => {
|
|
892
|
+
// return metadataUtils.appEnvs.getMetadata(project);
|
|
893
|
+
// })
|
|
894
|
+
// .then((metadata) => {
|
|
895
|
+
// envsMetadata = metadata;
|
|
896
|
+
// })
|
|
897
|
+
// .then(() => {
|
|
898
|
+
// return versionUtils.common.getNewVersionDTAP('DEV', versionsMetadata, envsMetadata);
|
|
899
|
+
// })
|
|
879
900
|
.then(() => {
|
|
880
|
-
|
|
881
|
-
console.log(pkg);
|
|
901
|
+
return versionUtils.appEnvTarget.getNewVersion(project, 'DEV');
|
|
882
902
|
})
|
|
903
|
+
.then((version) => {
|
|
904
|
+
console.log(version);
|
|
905
|
+
})
|
|
906
|
+
|
|
907
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NgModule, Injector } from '@angular/core';
|
|
1
|
+
import { NgModule, Injector, DoBootstrap, ApplicationRef } from '@angular/core';
|
|
2
2
|
import { BrowserModule } from '@angular/platform-browser';
|
|
3
3
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
4
4
|
import { HttpClientModule } from '@angular/common/http';
|
|
@@ -79,12 +79,12 @@ import { ModuleComponent } from './module.component';
|
|
|
79
79
|
...DEFAULT_MAPPED_PROVIDERS,
|
|
80
80
|
],
|
|
81
81
|
})
|
|
82
|
-
export class AppModule {
|
|
82
|
+
export class AppModule implements DoBootstrap {
|
|
83
83
|
|
|
84
84
|
constructor(private injector: Injector) {
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
ngDoBootstrap() {
|
|
87
|
+
ngDoBootstrap(appRef: ApplicationRef): void {
|
|
88
88
|
const elementSampleEui = createCustomElement(ModuleComponent, { injector: this.injector });
|
|
89
89
|
try {
|
|
90
90
|
customElements.define(appConfig.global.elementName, elementSampleEui);
|
|
@@ -12,13 +12,13 @@ const getNewVersionForDev = (versionsMetadata, envsMetadata, rootEnv, currentVer
|
|
|
12
12
|
const lastIntMetadata = envsMetadata[rootEnv];
|
|
13
13
|
|
|
14
14
|
if (lastIntMetadata) {
|
|
15
|
-
tools.logInfo(
|
|
15
|
+
tools.logInfo(`Last ${rootEnv} metadata found`);
|
|
16
16
|
const rootVersion = semver.coerce(envsMetadata[rootEnv].version).raw;
|
|
17
17
|
version = semver.inc(rootVersion, 'major') + '-SNAPSHOT';
|
|
18
18
|
tools.logInfo(`base version : ${version}`);
|
|
19
19
|
|
|
20
20
|
} else {
|
|
21
|
-
tools.logInfo(
|
|
21
|
+
tools.logInfo(`No ${rootEnv} metadata found : initializing version`);
|
|
22
22
|
if (currentVersion) {
|
|
23
23
|
version = semver.coerce(currentVersion).raw + '-SNAPSHOT';
|
|
24
24
|
} else {
|