@eui/tools 6.11.17 → 6.11.19
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
|
-
6.11.
|
|
1
|
+
6.11.19
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.11.19 (2023-05-05)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* add hotfix flag if present to package version metadata for later parsing - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([60fecf8a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/60fecf8a32e34485d49927554e009f777e5198fa))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.11.18 (2023-05-05)
|
|
11
|
+
|
|
12
|
+
##### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* fetched locked dependencies on virtual remotes - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([1ec4baa5](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/1ec4baa518f11a3b93d39f2df047b44c6862f16d))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.11.17 (2023-04-28)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
package/sandbox.js
CHANGED
|
@@ -1222,13 +1222,29 @@ const versionUtils = require('./scripts/csdr/version/version-utils');
|
|
|
1222
1222
|
// console.log(e);
|
|
1223
1223
|
// })
|
|
1224
1224
|
|
|
1225
|
+
// Promise.resolve()
|
|
1226
|
+
// .then(() => {
|
|
1227
|
+
// const pkgName = 'mapar-administration-eui15-remote-el-ui';
|
|
1228
|
+
// const remote = configUtils.remotes.getRemote(pkgName);
|
|
1229
|
+
|
|
1230
|
+
// console.log(remote);
|
|
1231
|
+
// })
|
|
1232
|
+
// .catch((e) => {
|
|
1233
|
+
// console.log(e);
|
|
1234
|
+
// })
|
|
1235
|
+
|
|
1236
|
+
const fromVersion = '4.0.0-ACC.0';
|
|
1237
|
+
const toVersion = '4.0.0-ACC.1';
|
|
1238
|
+
const pkg = configUtils.remotes.getRemote('cc-pmm-participants-eui15-remote-el-ui');
|
|
1239
|
+
|
|
1225
1240
|
Promise.resolve()
|
|
1226
1241
|
.then(() => {
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
console.log(
|
|
1242
|
+
return metadataUtils.packageHistory.generateDiffReport(pkg, 'ACC', fromVersion, toVersion);
|
|
1243
|
+
})
|
|
1244
|
+
.then((diffMetadata) => {
|
|
1245
|
+
console.log(diffMetadata);
|
|
1231
1246
|
})
|
|
1232
1247
|
.catch((e) => {
|
|
1233
1248
|
console.log(e);
|
|
1249
|
+
process.exit(1);
|
|
1234
1250
|
})
|
|
@@ -110,7 +110,10 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemote = true) => {
|
|
|
110
110
|
|
|
111
111
|
envs.forEach((env) => {
|
|
112
112
|
if (remote.dependencies[env]) {
|
|
113
|
-
|
|
113
|
+
const lockedDeps = {
|
|
114
|
+
lockedDependencies: remote.dependencies[env]
|
|
115
|
+
};
|
|
116
|
+
tools.writeJsonFileSync(path.join(remotePath, `dependencies-composite-${env}.json`), lockedDeps);
|
|
114
117
|
}
|
|
115
118
|
});
|
|
116
119
|
|
|
@@ -37,7 +37,7 @@ module.exports.getMetadataSync = (pkg) => {
|
|
|
37
37
|
return tools.getJsonFileContent(path.join(DEVOPS_METADATA_PATH, pkg.devopsVersionsMetadataFile));
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
module.exports.storeMetadata = (pkg, pkgVersion, pkgCompositeDeps, duration, envTarget) => {
|
|
40
|
+
module.exports.storeMetadata = (pkg, pkgVersion, pkgCompositeDeps, duration, envTarget, branches) => {
|
|
41
41
|
return Promise.resolve()
|
|
42
42
|
.then(() => {
|
|
43
43
|
tools.logInfo('Storing package version history metadata...');
|
|
@@ -60,13 +60,19 @@ module.exports.storeMetadata = (pkg, pkgVersion, pkgCompositeDeps, duration, env
|
|
|
60
60
|
versions = generatedMetadata.versions;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
let isHotfixVersion = false;
|
|
64
|
+
if (branches) {
|
|
65
|
+
isHotfixVersion = branches.isHotfix;
|
|
66
|
+
}
|
|
67
|
+
|
|
63
68
|
const newVersionMetadata = {
|
|
64
69
|
name: pkg.name,
|
|
65
70
|
version: pkgVersion,
|
|
66
71
|
date: moment(new Date()).format("YYYYMMDD-HH:mm"),
|
|
67
72
|
npmPkg: pkg.npmPkg,
|
|
68
73
|
duration: duration,
|
|
69
|
-
envTarget: envTarget
|
|
74
|
+
envTarget: envTarget,
|
|
75
|
+
hotfix: isHotfixVersion,
|
|
70
76
|
};
|
|
71
77
|
|
|
72
78
|
if (pkg.remote) {
|
|
@@ -23,7 +23,7 @@ module.exports.storeMetadata = (pkg, pkgVersion, pkgMetadata, branches, pkgCompo
|
|
|
23
23
|
|
|
24
24
|
return Promise.resolve()
|
|
25
25
|
.then(() => {
|
|
26
|
-
return innerPackageVersions.storeMetadata(pkg, pkgVersion, pkgCompositeDeps, duration, envTarget);
|
|
26
|
+
return innerPackageVersions.storeMetadata(pkg, pkgVersion, pkgCompositeDeps, duration, envTarget, branches);
|
|
27
27
|
})
|
|
28
28
|
|
|
29
29
|
.then(() => {
|