@eui/tools 6.3.36 → 6.3.38
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/scripts/csdr/init/global.js +9 -0
- package/scripts/csdr/init/remotes/15.x/full/options/definitions/dynamic-forms.json +4 -0
- package/scripts/csdr/init/remotes.js +6 -0
- package/scripts/csdr/sync/sync-utils.js +9 -1
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.3.
|
|
1
|
+
6.3.38
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.3.38 (2023-02-19)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* enable alternate registry sync and install - EUI-6448 [EUI-6448](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-6448) ([a6908dcb](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/a6908dcbba464c78162641bd1173df6b69688cbb))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.3.37 (2023-02-17)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* added dynamic forms for full remote skeleton injection - MWP-9204 [MWP-9204](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9204) ([22d0cd8a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/22d0cd8adbde4fd2422eb73bfd99e4c30dfa8736))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.3.36 (2023-02-15)
|
|
2
20
|
|
|
3
21
|
##### Bug Fixes
|
package/package.json
CHANGED
|
@@ -7,6 +7,10 @@ const path = require('path');
|
|
|
7
7
|
const tools = require('../../utils/tools');
|
|
8
8
|
const configUtils = require('../config/config-utils');
|
|
9
9
|
|
|
10
|
+
// ARGS
|
|
11
|
+
const { registry } = tools.getArgs();
|
|
12
|
+
|
|
13
|
+
|
|
10
14
|
|
|
11
15
|
module.exports.processLocalEuiVersions = () => {
|
|
12
16
|
tools.logTitle('Processing injections for local installed eUI versions if needed');
|
|
@@ -52,6 +56,11 @@ module.exports.processLocalEuiVersions = () => {
|
|
|
52
56
|
|
|
53
57
|
tools.logInfo(`Processing yarn.lock replacement for eUI version found : ${euiVersion}`);
|
|
54
58
|
|
|
59
|
+
if (registry) {
|
|
60
|
+
tools.logInfo('Alternate registry found...skipping yarn.lock remplacement');
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
|
|
55
64
|
const yResourcesFile = path.join(__dirname, 'resources', euiVersion, 'yarn.lock');
|
|
56
65
|
const yDestFile = path.join(process.cwd(), 'yarn.lock');
|
|
57
66
|
|
|
@@ -146,6 +146,7 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemote = true) => {
|
|
|
146
146
|
const optionZipkinDef = tools.getJsonFileContent(path.join(fullOptionsPath, 'definitions', 'zipkin.json'));
|
|
147
147
|
const optionDynatraceDef = tools.getJsonFileContent(path.join(fullOptionsPath, 'definitions', 'dynatrace.json'));
|
|
148
148
|
const optionParticipantDef = tools.getJsonFileContent(path.join(fullOptionsPath, 'definitions', 'participant.json'));
|
|
149
|
+
const optionDynamicFormsDef = tools.getJsonFileContent(path.join(fullOptionsPath, 'definitions', 'dynamic-forms.json'));
|
|
149
150
|
|
|
150
151
|
tools.logInfo(`copying full sources skeleton : ${fullCommonPath} ==> ${remoteSrcPath}`);
|
|
151
152
|
tools.copy(fullCommonPath, remoteSrcPath);
|
|
@@ -185,6 +186,11 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemote = true) => {
|
|
|
185
186
|
pushContent(optionDynatraceDef);
|
|
186
187
|
}
|
|
187
188
|
|
|
189
|
+
// dynamic-forms
|
|
190
|
+
if (remote.skeletonConfig.options.dynamicForms) {
|
|
191
|
+
pushContent(optionDynamicFormsDef);
|
|
192
|
+
}
|
|
193
|
+
|
|
188
194
|
// participant
|
|
189
195
|
if (remote.skeletonConfig.options.participant) {
|
|
190
196
|
tools.copy(optionParticipantPath, remoteSrcPath);
|
|
@@ -5,10 +5,13 @@ const path = require('path');
|
|
|
5
5
|
|
|
6
6
|
const initUtils = require('../init/init-utils');
|
|
7
7
|
const configUtils = require('../config/config-utils');
|
|
8
|
+
const installUtils = require('../install/install-utils');
|
|
8
9
|
|
|
9
10
|
const tools = require('../../utils/tools');
|
|
10
11
|
|
|
11
|
-
const { skipPull } = tools.getArgs();
|
|
12
|
+
const { skipPull, skipInstall } = tools.getArgs();
|
|
13
|
+
|
|
14
|
+
|
|
12
15
|
|
|
13
16
|
module.exports.sync = () => {
|
|
14
17
|
return Promise.resolve()
|
|
@@ -62,6 +65,11 @@ module.exports.sync = () => {
|
|
|
62
65
|
.then(() => {
|
|
63
66
|
return initUtils.global.processResolutionsForNodeVersion();
|
|
64
67
|
})
|
|
68
|
+
.then(() => {
|
|
69
|
+
if (!skipInstall) {
|
|
70
|
+
return installUtils.localDev.install();
|
|
71
|
+
}
|
|
72
|
+
})
|
|
65
73
|
.catch((e) => {
|
|
66
74
|
throw e;
|
|
67
75
|
})
|