@eui/tools 6.13.5 → 6.13.7
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 +16 -5
- package/scripts/csdr/init/resources/14.x/resolutions.json +2 -1
- package/scripts/csdr/init/resources/15.x/resolutions.json +2 -1
- package/scripts/csdr/init/resources/16.x/resolutions.json +1 -0
- package/scripts/csdr/init/resources/17.x/resolutions.json +3 -1
- package/scripts/csdr/install/composite-core.js +19 -3
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.13.
|
|
1
|
+
6.13.7
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.13.7 (2023-11-06)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* updated to forced deps for MWP releases v16 and v10 on multi-environments - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([04de9b3e](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/04de9b3eadaaf712368cb15459e3d34337d23034))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.13.6 (2023-10-26)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* added resolutions for v14 v15 v16 v17 for crypto-js 4.2.0 up forced usage - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([173f7e9a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/173f7e9a326bf88fde4da4cbf56a1d0257e140ef))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.13.5 (2023-10-23)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
package/sandbox.js
CHANGED
|
@@ -1344,12 +1344,23 @@ const publishUtils = require('./scripts/utils/publish/publish-utils');
|
|
|
1344
1344
|
// console.log(e);
|
|
1345
1345
|
// })
|
|
1346
1346
|
|
|
1347
|
+
// Promise.resolve()
|
|
1348
|
+
// .then(() => {
|
|
1349
|
+
// const util = require('./scripts/csdr/release/package/common');
|
|
1350
|
+
// const branches = util.getBranches();
|
|
1351
|
+
// console.log(branches);
|
|
1352
|
+
// })
|
|
1353
|
+
// .catch((e) => {
|
|
1354
|
+
// console.log(e);
|
|
1355
|
+
// })
|
|
1356
|
+
|
|
1347
1357
|
Promise.resolve()
|
|
1348
1358
|
.then(() => {
|
|
1349
|
-
const
|
|
1350
|
-
const
|
|
1351
|
-
|
|
1359
|
+
const prj = configUtils.projects.getCsdrProject('my-workplace-host');
|
|
1360
|
+
const envTarget = 'INT';
|
|
1361
|
+
return installUtils.projects.getDeps(prj, envTarget);
|
|
1352
1362
|
})
|
|
1353
|
-
|
|
1354
|
-
|
|
1363
|
+
|
|
1364
|
+
.then((compositeDeps) => {
|
|
1365
|
+
console.log(compositeDeps);
|
|
1355
1366
|
})
|
|
@@ -60,6 +60,8 @@ const getCompositeDepsByEnv = (compositePath, envTarget, compositeType, envsMeta
|
|
|
60
60
|
|
|
61
61
|
// if default composite type then we iterate over all detected composite files by env
|
|
62
62
|
if (compositeType === 'DEFAULT') {
|
|
63
|
+
let depsToResolve = false;
|
|
64
|
+
|
|
63
65
|
return Promise.resolve()
|
|
64
66
|
.then(() => {
|
|
65
67
|
tools.logTitle('Processing accumulated composites for ALL composite types');
|
|
@@ -69,13 +71,27 @@ const getCompositeDepsByEnv = (compositePath, envTarget, compositeType, envsMeta
|
|
|
69
71
|
filesByEnv.forEach((f) => {
|
|
70
72
|
tools.logInfo(`Parsing : ${f}`);
|
|
71
73
|
const compositeFile = path.join(process.cwd(), compositePath, f);
|
|
72
|
-
const fileDeps = tools.getJsonFileContent(compositeFile)
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
const fileDeps = tools.getJsonFileContent(compositeFile);
|
|
75
|
+
const deps = fileDeps.lockedDependencies || fileDeps.forcedCarretDependencies || {};
|
|
76
|
+
console.log(JSON.stringify(deps, null, 2));
|
|
77
|
+
returnedDeps = { ...returnedDeps, ...deps};
|
|
78
|
+
if (fileDeps.forcedCarretDependencies) {
|
|
79
|
+
depsToResolve = true;
|
|
80
|
+
}
|
|
75
81
|
});
|
|
76
82
|
|
|
77
83
|
return { ...prevEnvDeps, ...returnedDeps };
|
|
78
84
|
})
|
|
85
|
+
|
|
86
|
+
.then((deps) => {
|
|
87
|
+
if (depsToResolve) {
|
|
88
|
+
tools.logInfo('Resolving forced dependencies for env');
|
|
89
|
+
return innerCommon.getResolvedCarretDeps(deps, true, false);
|
|
90
|
+
} else {
|
|
91
|
+
return deps;
|
|
92
|
+
}
|
|
93
|
+
})
|
|
94
|
+
|
|
79
95
|
.then((deps) => {
|
|
80
96
|
tools.logInfo('Scanning resulting deps for RC detection (do avoid RC spreading up to non DEV envs)');
|
|
81
97
|
const depsToScan = Object.keys(deps);
|