@eui/tools 6.2.8 → 6.2.10
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/init.js +10 -3
- package/scripts/csdr/init/remotes.js +2 -0
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.2.
|
|
1
|
+
6.2.10
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.2.10 (2022-11-11)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* adapted init parameters for CI virtual remotes build - MWP-9010 [MWP-9010](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9010) ([5a5e28de](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/5a5e28de787650552cd282d722f2a55424ff1a63))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.2.9 (2022-11-11)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* added default angular.json styles for 15.x remotes - EUI-6448 [EUI-6448](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-6448) ([6e562d65](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/6e562d65b81e90030b794199d516769dc66ce5ea))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.2.8 (2022-11-11)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ const configUtils = require('../config/config-utils');
|
|
|
8
8
|
// Getting arguments if they are provided for the CI/CD pipeline
|
|
9
9
|
const {
|
|
10
10
|
project, team, pkg, branch, configOnly, skipClone, skipInstall, reset, pkgOnly, prjOnly,
|
|
11
|
-
build, containerOnly, skipAppContainers, remote, euiVersion, remoteOnly
|
|
11
|
+
build, containerOnly, skipAppContainers, remote, euiVersion, remoteOnly, remoteBuild, virtual
|
|
12
12
|
} = tools.getArgs();
|
|
13
13
|
|
|
14
14
|
|
|
@@ -19,6 +19,8 @@ module.exports.init = () => {
|
|
|
19
19
|
team: team || 'all',
|
|
20
20
|
pkg: pkg || null,
|
|
21
21
|
remote: remote || null,
|
|
22
|
+
remoteBuild: remoteBuild || false,
|
|
23
|
+
virtual: virtual || false,
|
|
22
24
|
euiVersion: euiVersion || null,
|
|
23
25
|
branch: branch || 'develop',
|
|
24
26
|
configOnly: configOnly || false,
|
|
@@ -42,6 +44,12 @@ module.exports.init = () => {
|
|
|
42
44
|
initialResponse.project = null;
|
|
43
45
|
}
|
|
44
46
|
|
|
47
|
+
// swapping to remote build if virtual remote is pass to default gitlab call
|
|
48
|
+
if (initialResponse.remoteBuild && initialResponse.pkg && initialResponse.virtual) {
|
|
49
|
+
initialResponse.remote = initialResponse.pkg;
|
|
50
|
+
initialResponse.pkg = null;
|
|
51
|
+
}
|
|
52
|
+
|
|
45
53
|
// Storing the response for propagation
|
|
46
54
|
var finalResponse;
|
|
47
55
|
|
|
@@ -116,8 +124,7 @@ module.exports.init = () => {
|
|
|
116
124
|
if (finalResponse.euiVersion) {
|
|
117
125
|
return initUtils.remotes.generateVirtualRemote(remote, euiVersion);
|
|
118
126
|
} else {
|
|
119
|
-
|
|
120
|
-
process.exit(1);
|
|
127
|
+
throw new Error('When a remote is initialized, an "euiVersion" parameter must be specified');
|
|
121
128
|
}
|
|
122
129
|
}
|
|
123
130
|
})
|
|
@@ -60,6 +60,8 @@ module.exports.generateVirtualRemote = (remoteName, euiVersion) => {
|
|
|
60
60
|
const remotePath = path.join(process.cwd(), 'remotes', remote.fullName);
|
|
61
61
|
const remoteSkeletonPath = path.join(__dirname, 'remotes', euiVersion);
|
|
62
62
|
|
|
63
|
+
tools.logInfo(`Copying angular.json => ${remoteSkeletonPath} ==> ${remotePath}`);
|
|
64
|
+
|
|
63
65
|
tools.copy(remoteSkeletonPath, remotePath);
|
|
64
66
|
|
|
65
67
|
// adding the dependendies files
|