@eui/tools 4.19.12 → 4.19.15
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 +1 -1
- package/CHANGELOG.md +27 -0
- package/package.json +1 -1
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/fallback.component.ts +11 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/module.component.ts +1 -1
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/module.ts +3 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/routing.module.ts +3 -1
- package/scripts/csdr/init/resources/13.x/resolutions.json +2 -12
- package/scripts/csdr/release/package/common.js +35 -0
- package/scripts/csdr/release/package/release-package.js +6 -0
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.19.
|
|
1
|
+
4.19.15
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
## 4.19.15 (2022-03-07)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* updated resolutions for v13 - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([a76d7cae](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/a76d7cae87e74c31665b29f6863163043ae4875a))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 4.19.14 (2022-02-22)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* minor changes MWP-7583 [MWP-7583](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-7583) ([2a344a9d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/2a344a9d5af0f60eedddf265c54acb54b76d4dfd))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
19
|
+
## 4.19.13 (2022-02-22)
|
|
20
|
+
|
|
21
|
+
##### Chores
|
|
22
|
+
|
|
23
|
+
* **other:**
|
|
24
|
+
* added appTarget pipeline variable output for remote - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([3b0a5c83](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/3b0a5c83c834a00ee9871ac4ab731c6cf29ab15f))
|
|
25
|
+
|
|
26
|
+
* * *
|
|
27
|
+
* * *
|
|
1
28
|
## 4.19.12 (2022-02-22)
|
|
2
29
|
|
|
3
30
|
##### Bug Fixes
|
package/package.json
CHANGED
package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/module.component.ts
CHANGED
|
@@ -61,7 +61,7 @@ export class ModuleComponent implements OnInit {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
public ngOnInit() {
|
|
64
|
-
this.router.
|
|
64
|
+
this.router.navigateByUrl(this.routerService.getUrl(), { replaceUrl: true });
|
|
65
65
|
this.loadData();
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -64,6 +64,7 @@ import {
|
|
|
64
64
|
} from '@csdr/integration';
|
|
65
65
|
import { RoutingModule } from './routing.module';
|
|
66
66
|
|
|
67
|
+
import { FallbackComponent } from './fallback.component';
|
|
67
68
|
import { ModuleComponent } from './module.component';
|
|
68
69
|
|
|
69
70
|
export function openidConnectInterceptorFactory(config) {
|
|
@@ -92,9 +93,11 @@ export function openidConnectInterceptorFactory(config) {
|
|
|
92
93
|
RoutingModule,
|
|
93
94
|
],
|
|
94
95
|
declarations: [
|
|
96
|
+
FallbackComponent,
|
|
95
97
|
ModuleComponent,
|
|
96
98
|
],
|
|
97
99
|
entryComponents: [
|
|
100
|
+
FallbackComponent,
|
|
98
101
|
ModuleComponent,
|
|
99
102
|
],
|
|
100
103
|
providers: [
|
|
@@ -8,15 +8,17 @@ import { CCRoute, ELEMENT_ROUTER_TOKEN, IRouterService } from '@csdr/integration
|
|
|
8
8
|
// TODO[REMOTE-SETUP] adapt to wrapped package import
|
|
9
9
|
// import { routes } from '@cc/task-manager';
|
|
10
10
|
import { appConfig } from '../config/index';
|
|
11
|
+
import { FallbackComponent } from './fallback.component';
|
|
11
12
|
import { ModuleComponent } from './module.component';
|
|
12
13
|
|
|
13
14
|
const prefixedRoutes: Routes = [
|
|
15
|
+
{ path: '', component: ModuleComponent },
|
|
14
16
|
{
|
|
15
17
|
path: appConfig.global.baseUrl,
|
|
16
18
|
// TODO[REMOTE-SETUP] adapt to wrapped package import
|
|
17
19
|
// children: routes,
|
|
18
20
|
},
|
|
19
|
-
{ path: '**', component:
|
|
21
|
+
{ path: '**', component: FallbackComponent },
|
|
20
22
|
];
|
|
21
23
|
|
|
22
24
|
// @dynamic
|
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"lodash": ">=4.17.21",
|
|
3
|
-
"handlebars": ">=4.7.7",
|
|
4
|
-
"mem": ">=4.3.0 <=8.1.1",
|
|
5
|
-
"https-proxy-agent": ">=2.2.3",
|
|
6
|
-
"minimatch": ">=3.0.4",
|
|
7
|
-
"acorn-globals": ">=6.0.0",
|
|
8
|
-
"open": ">=7.0.3",
|
|
9
|
-
"dot-prop": "6.0.1",
|
|
10
|
-
"serialize-javascript": ">=3.1.0",
|
|
11
|
-
"socket.io": ">=2.4.0",
|
|
12
|
-
"ssri": ">=8.0.1",
|
|
13
2
|
"@types/node": ">=14.14.10",
|
|
14
|
-
"
|
|
3
|
+
"https-proxy-agent": ">=2.2.3",
|
|
4
|
+
"mem": ">=4.3.0 <=8.1.1"
|
|
15
5
|
}
|
|
@@ -359,6 +359,41 @@ module.exports.storeMetadata = (pkg, version, pkgMetadata, pkgCompositeDeps, dur
|
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
|
|
362
|
+
module.exports.exportPipelineVariables = (pkg) => {
|
|
363
|
+
utils.tools.logBanner('EXPORT PIPELINE VARIABLES');
|
|
364
|
+
|
|
365
|
+
return Promise.resolve()
|
|
366
|
+
.then(() => {
|
|
367
|
+
if (pkg.remote) {
|
|
368
|
+
utils.tools.logTitle('Exporting pkg remote variables');
|
|
369
|
+
|
|
370
|
+
utils.tools.logInfo('Exporting APP_TARGET');
|
|
371
|
+
|
|
372
|
+
let appTarget = 'MWP_ONLY';
|
|
373
|
+
|
|
374
|
+
if (pkg.build && pkg.build.appTarget) {
|
|
375
|
+
appTarget = pkg.build.appTarget;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
utils.tools.logInfo(`appTarget generated : ${appTarget}`);
|
|
379
|
+
|
|
380
|
+
if (dryRun) {
|
|
381
|
+
utils.tools.logWarning('dryRun...skipping export');
|
|
382
|
+
} else {
|
|
383
|
+
utils.tools.logInfo('Exporting appTarget variable');
|
|
384
|
+
return utils.pipeline.setVariables(pkg.paths.rootDirectory, `export APP_TARGET=${pkg.build.appTarget}\n`);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
})
|
|
388
|
+
|
|
389
|
+
.catch((e) => {
|
|
390
|
+
throw e;
|
|
391
|
+
})
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
362
397
|
module.exports.generateDiffReport = (pkg, newVersion) => {
|
|
363
398
|
utils.tools.logBanner('GENERATE DIFF REPORT');
|
|
364
399
|
|
|
@@ -173,6 +173,12 @@ module.exports.run = () => {
|
|
|
173
173
|
})
|
|
174
174
|
|
|
175
175
|
|
|
176
|
+
// EXPORT ADDITIONAL PIPELINE VARIABLES
|
|
177
|
+
.then(() => {
|
|
178
|
+
return innerCommon.exportPipelineVariables(pkg);
|
|
179
|
+
})
|
|
180
|
+
|
|
181
|
+
|
|
176
182
|
// SEND SUCCESS NOTIFICATION
|
|
177
183
|
.then(() => {
|
|
178
184
|
return innerCommon.sendSuccessNotification(pkg, newVersion, pkgMetadata)
|