@eui/tools 6.21.94 → 6.21.95

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.
@@ -1 +1 @@
1
- 6.21.94
1
+ 6.21.95
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.21.95 (2025-07-04)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * adapted audit-styles forced to sdlc packages - remote migration scripts metadata - MWP-11955 [MWP-11955](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11955) ([b199af99](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/b199af99b1d49412866487513b33afef89239789))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.21.94 (2025-07-04)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.94",
3
+ "version": "6.21.95",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -760,7 +760,7 @@ module.exports.audit = (pkg) => {
760
760
  tools.logInfo('===> no forced gates flag detected ...');
761
761
  tools.logInfo('Checking if package is newly created -- all versions gates are checked in that case');
762
762
 
763
- if (metadataUtils.packageUtils.isNewPackageBuild(pkg)) {
763
+ if (metadataUtils.packageUtils.isNewPackageBuild(pkg) || pkg.sdlc) {
764
764
  gates = allNewGates;
765
765
  } else {
766
766
  if (euiVersionGates) {
@@ -91,6 +91,8 @@ module.exports.migrate = (pkg) => {
91
91
 
92
92
  currentRemoteConfig['msteams'] = { "channel": "pipeline-ui-mwp" };
93
93
 
94
+ currentRemoteConfig['migrated'] = true;
95
+
94
96
  remotesSDLCConfig[newRemoteName] = currentRemoteConfig;
95
97
 
96
98
  tools.writeJsonFileSync(remoteSDLCConfigFile, remotesSDLCConfig);
@@ -129,6 +131,56 @@ module.exports.migrate = (pkg) => {
129
131
  tools.copy(remoteMedatadataVersions, remoteMedatadataVersionsNew);
130
132
 
131
133
  tools.replaceInFileSync(remoteMedatadataVersionsNew, currentRemoteName, newRemoteName);
134
+
135
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '"DEV"', '"dev"');
136
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '"TST"', '"tst"');
137
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '"INT"', '"int"');
138
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '"ACC"', '"acc"');
139
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '"DLT"', '"dlt"');
140
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '"TRN"', '"trn"');
141
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '"PPD"', '"ppd"');
142
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '"PROD"', '"prd"');
143
+
144
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '-TST.', '-tst.');
145
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '-INT.', '-int.');
146
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '-ACC.', '-acc.');
147
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '-DLT.', '-dlt.');
148
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '-TRN.', '-trn.');
149
+ tools.replaceInFileSync(remoteMedatadataVersionsNew, '-PPD.', '-ppd.');
150
+
151
+
152
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"DEV"', '"dev"');
153
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"TST"', '"tst"');
154
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"INT"', '"int"');
155
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"ACC"', '"acc"');
156
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"DLT"', '"dlt"');
157
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"TRN"', '"trn"');
158
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"PPD"', '"ppd"');
159
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '"PROD"', '"prd"');
160
+
161
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '-TST.', '-tst.');
162
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '-INT.', '-int.');
163
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '-ACC.', '-acc.');
164
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '-DLT.', '-dlt.');
165
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '-TRN.', '-trn.');
166
+ tools.replaceInFileSync(remoteMedatadataHistoryNew, '-PPD.', '-ppd.');
167
+
168
+
169
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"DEV"', '"dev"');
170
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"TST"', '"tst"');
171
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"INT"', '"int"');
172
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"ACC"', '"acc"');
173
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"DLT"', '"dlt"');
174
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"TRN"', '"trn"');
175
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"PPD"', '"ppd"');
176
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '"PROD"', '"prd"');
177
+
178
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '-TST.', '-tst.');
179
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '-INT.', '-int.');
180
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '-ACC.', '-acc.');
181
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '-DLT.', '-dlt.');
182
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '-TRN.', '-trn.');
183
+ tools.replaceInFileSync(remoteMedatadataEnvsNew, '-PPD.', '-ppd.');
132
184
  })
133
185
  .catch((e) => {
134
186
  console.log(e);