@eui/tools 6.21.99 → 6.21.100
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 +10 -0
- package/package.json +1 -1
- package/scripts/csdr/release/package/release-ui.js +4 -0
- package/scripts/utils/migrate/migrate-utils.js +11 -5
- /package/scripts/utils/migrate/skeleton/{19.x → package}/.euirc-config.json +0 -0
- /package/scripts/utils/migrate/skeleton/{19.x → package}/.gitignore_TO_REPLACE +0 -0
- /package/scripts/utils/migrate/skeleton/{19.x → package}/.gitlab-ci.yml +0 -0
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.21.
|
|
1
|
+
6.21.100
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 6.21.100 (2025-07-09)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* adapted migration to handle v18 remote with v19 - MWP-11955" [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([2b71c0b1](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/2b71c0b18b20653bf3d9635533305bb34cd49392))
|
|
7
|
+
* adapted migration to handle v18 remote with v19 ([3cb23964](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/3cb23964c5cff7e05a81be20c2167b4820e0c417))
|
|
8
|
+
|
|
9
|
+
* * *
|
|
10
|
+
* * *
|
|
1
11
|
## 6.21.99 (2025-07-08)
|
|
2
12
|
|
|
3
13
|
##### Chores
|
package/package.json
CHANGED
|
@@ -25,6 +25,10 @@ module.exports.run = () => {
|
|
|
25
25
|
// fetching package from config based on default arg
|
|
26
26
|
const pkg = configUtils.packages.getPackage();
|
|
27
27
|
|
|
28
|
+
if (pkg.sdlc) {
|
|
29
|
+
throw new Error('SDLC migrated package, skipping release');
|
|
30
|
+
}
|
|
31
|
+
|
|
28
32
|
// checking if the package can be retrieved from args
|
|
29
33
|
if (!pkg.name) {
|
|
30
34
|
utils.tools.logError('ERROR : "package" NOT PROVIDED as argument !!!');
|
|
@@ -47,13 +47,12 @@ module.exports.migrate = (pkg) => {
|
|
|
47
47
|
|
|
48
48
|
tools.logInfo('Adapting files for SDLC repository');
|
|
49
49
|
|
|
50
|
-
tools.copydirFiles(path.join(__dirname, 'skeleton', '
|
|
50
|
+
tools.copydirFiles(path.join(__dirname, 'skeleton', 'package'), pkg.paths.root);
|
|
51
51
|
|
|
52
52
|
tools.move(path.join(pkg.paths.root, '.gitignore_TO_REPLACE'), path.join(pkg.paths.root, '.gitignore'));
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
|
|
57
56
|
// REMOTE CREATION
|
|
58
57
|
|
|
59
58
|
const remotesTriggerPath = path.join(process.cwd(), 'remotes-trigger');
|
|
@@ -66,8 +65,15 @@ module.exports.migrate = (pkg) => {
|
|
|
66
65
|
|
|
67
66
|
const remotePrefix = `${pkg.npmPkg.split('/')[0].substr(1)}-${pkg.npmPkg.split('/')[1]}`;
|
|
68
67
|
|
|
69
|
-
|
|
70
|
-
const
|
|
68
|
+
// getting eUI version for package
|
|
69
|
+
const depsJson = require(path.join(pkg.paths.root, 'dependencies-composite.json'));
|
|
70
|
+
const euiVersion = depsJson['@eui/deps-base'].substr(1,2);
|
|
71
|
+
|
|
72
|
+
tools.logInfo(`eUI version found for package : ${euiVersion}`);
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
const currentRemoteName = `${remotePrefix}-eui${euiVersion}-remote-el-ui`;
|
|
76
|
+
const newRemoteName = `${remotePrefix}-remote-eui${euiVersion}`;
|
|
71
77
|
|
|
72
78
|
console.log('Current remote : ', currentRemoteName);
|
|
73
79
|
console.log('New remote : ', newRemoteName);
|
|
@@ -96,7 +102,7 @@ module.exports.migrate = (pkg) => {
|
|
|
96
102
|
|
|
97
103
|
delete currentRemoteConfig['slack'];
|
|
98
104
|
|
|
99
|
-
currentRemoteConfig['npmPkg'] = currentRemoteConfig['npmPkg'].replace(
|
|
105
|
+
currentRemoteConfig['npmPkg'] = currentRemoteConfig['npmPkg'].replace(`eui${euiVersion}-remote-el`, `remote-eui${euiVersion}`);
|
|
100
106
|
|
|
101
107
|
currentRemoteConfig['msteams'] = { "channel": "pipeline-ui-mwp" };
|
|
102
108
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|