@eui/tools 6.11.4 → 6.11.6
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 +18 -0
- package/package.json +1 -1
- package/sandbox.js +2 -2
- package/scripts/csdr/config/remotes.js +9 -0
- package/scripts/csdr/init/resources/10.x/resolutions.json +2 -1
- package/scripts/csdr/metadata/package.js +4 -4
- package/scripts/csdr/release/package/release-ui.js +1 -0
- package/scripts/csdr/release/package/release-virtual-remote.js +6 -3
- package/scripts/utils/build/package/element.js +8 -3
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.11.
|
|
1
|
+
6.11.6
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.11.6 (2023-04-18)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* adapted virtual remotes release and msteams notifications - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([a508f7bf](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/a508f7bf46290dafcdbaf18890e18e914a9b9ee7))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.11.5 (2023-04-17)
|
|
11
|
+
|
|
12
|
+
##### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* adapted eUI10 resolutions - v10 UI packages failing - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([dc9235ef](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/dc9235ef2b710c81e585a5b058f97215ec10a00a))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.11.4 (2023-04-17)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
package/sandbox.js
CHANGED
|
@@ -1224,8 +1224,8 @@ const versionUtils = require('./scripts/csdr/version/version-utils');
|
|
|
1224
1224
|
|
|
1225
1225
|
Promise.resolve()
|
|
1226
1226
|
.then(() => {
|
|
1227
|
-
const pkgName = '
|
|
1228
|
-
const remote = configUtils.remotes.
|
|
1227
|
+
const pkgName = 'mapar-administration-eui15-remote-el-ui';
|
|
1228
|
+
const remote = configUtils.remotes.getRemote(pkgName);
|
|
1229
1229
|
|
|
1230
1230
|
console.log(remote);
|
|
1231
1231
|
})
|
|
@@ -50,6 +50,15 @@ module.exports.getRemote = (remoteName) => {
|
|
|
50
50
|
...remoteConfig,
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
// check notification method
|
|
54
|
+
if (remote.notification) {
|
|
55
|
+
if (remote.notification.client === 'MSTEAMS') {
|
|
56
|
+
remote.msteamsActive = true;
|
|
57
|
+
} else {
|
|
58
|
+
remote.msteamsActive = false;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
53
62
|
if (!remote.dependencies.composite) {
|
|
54
63
|
throw new Error('The remote config does not contains the manadatory "composite" dependencies');
|
|
55
64
|
}
|
|
@@ -341,7 +341,7 @@ module.exports.unlockPackage = (pkg) => {
|
|
|
341
341
|
})
|
|
342
342
|
|
|
343
343
|
.catch((e) => {
|
|
344
|
-
|
|
344
|
+
tools.logError('Unable to unlock package => package will be auto-unlock at next build 10m after the current one');
|
|
345
345
|
})
|
|
346
346
|
}
|
|
347
347
|
|
|
@@ -363,11 +363,11 @@ module.exports.isPackageLocked = (pkg) => {
|
|
|
363
363
|
|
|
364
364
|
tools.logInfo(`checking diff current date from locked date : ${diff}`);
|
|
365
365
|
|
|
366
|
-
if (diff >
|
|
367
|
-
tools.logInfo(`>
|
|
366
|
+
if (diff > 10) {
|
|
367
|
+
tools.logInfo(`> 10m => ok forcing unlock`);
|
|
368
368
|
return false;
|
|
369
369
|
} else {
|
|
370
|
-
tools.logInfo(`<
|
|
370
|
+
tools.logInfo(`< 10m => keep lock`);
|
|
371
371
|
return true;
|
|
372
372
|
}
|
|
373
373
|
|
|
@@ -140,15 +140,18 @@ module.exports.run = () => {
|
|
|
140
140
|
.then(() => {
|
|
141
141
|
return innerCommon.sendSuccessNotification(pkg, newVersion, pkgMetadata)
|
|
142
142
|
.then(() => {
|
|
143
|
-
innerCommon.close(pkg);
|
|
143
|
+
return innerCommon.close(pkg);
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
|
|
147
|
+
// SEND ERROR NOTIFICATION
|
|
147
148
|
.catch((e) => {
|
|
148
149
|
return innerCommon.sendErrorNotification(pkg, e, pkgMetadata)
|
|
149
150
|
.then(() => {
|
|
150
|
-
innerCommon.close(pkg);
|
|
151
|
+
return innerCommon.close(pkg);
|
|
152
|
+
})
|
|
153
|
+
.then(() => {
|
|
151
154
|
process.exit(1);
|
|
152
|
-
})
|
|
155
|
+
})
|
|
153
156
|
})
|
|
154
157
|
}
|
|
@@ -10,7 +10,7 @@ const configUtils = require('../../../csdr/config/config-utils');
|
|
|
10
10
|
const preBuildUtils = require('../../pre-build/pre-build-utils');
|
|
11
11
|
const remotesUtils = require('../../remotes/remotes-utils');
|
|
12
12
|
|
|
13
|
-
let { configuration, baseHref, dryRun, statsJson, sourceMap, build } = tools.getArgs();
|
|
13
|
+
let { configuration, baseHref, dryRun, statsJson, sourceMap, build, skipCompile } = tools.getArgs();
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
module.exports.build = (pkg, isMaster) => {
|
|
@@ -78,8 +78,13 @@ module.exports.build = (pkg, isMaster) => {
|
|
|
78
78
|
tools.logInfo(`running Angular BUILD with args: ${args} on`);
|
|
79
79
|
console.log(pkg.paths.root);
|
|
80
80
|
|
|
81
|
-
if (!
|
|
82
|
-
|
|
81
|
+
if (!skipCompile) {
|
|
82
|
+
if (build && pkg.msteamsActive) {
|
|
83
|
+
return tools.runNodeScriptProcessOutput(args, pkg.paths.root);
|
|
84
|
+
|
|
85
|
+
} else {
|
|
86
|
+
return execa('node', args, { cwd: pkg.paths.root, stdio: 'inherit' });
|
|
87
|
+
}
|
|
83
88
|
}
|
|
84
89
|
})
|
|
85
90
|
|