@eui/tools 6.21.1 → 6.21.3

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.1
1
+ 6.21.3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.21.3 (2024-10-11)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **deps:**
6
+ * composite core taken from last ACC for TRN when no preprod env is set for SEDIA and non-MWP hosts - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([55f0ce7b](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/55f0ce7b6b927d9ae340ea1f32f0f7053e8f8117))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.21.2 (2024-10-07)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **audit:**
15
+ * styles audit remove newly created package check temporary as metadata are wrongly gathered for this case - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([b5ca5585](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/b5ca5585f5439857b1e37c5f8d19154e475181de))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.21.1 (2024-09-20)
2
20
 
3
21
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.1",
3
+ "version": "6.21.3",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -758,11 +758,11 @@ module.exports.audit = (pkg) => {
758
758
  gates = allNewGates;
759
759
  } else {
760
760
  tools.logInfo('===> no forced gates flag detected ...');
761
- tools.logInfo('Checking if package is newly created -- all versions gates are checked in that case');
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)) {
764
- gates = allNewGates;
765
- } else {
763
+ // if (metadataUtils.packageUtils.isNewPackageBuild(pkg)) {
764
+ // gates = allNewGates;
765
+ // } else {
766
766
  if (euiVersionGates) {
767
767
  tools.logInfo('eUI version gates found, applied to older packages where limited gates are set');
768
768
  gates = euiVersionGates;
@@ -770,7 +770,7 @@ module.exports.audit = (pkg) => {
770
770
  tools.logInfo('No gates found for local eUI version...');
771
771
  return;
772
772
  }
773
- }
773
+ // }
774
774
  }
775
775
 
776
776
  tools.logInfo(`Gates found : ${JSON.stringify(gates)}`);
@@ -228,12 +228,21 @@ module.exports.getCompositeDeps = (
228
228
  * overridden by : hotfixDependencies if any
229
229
  */
230
230
  if (envTarget === 'TRN') {
231
- return getCompositeDepsByEnv(
232
- compositePath,
233
- envTarget,
234
- envsMetadata,
235
- 'PROD', 'TRN'
236
- );
231
+ if (hasPreprod) {
232
+ return getCompositeDepsByEnv(
233
+ compositePath,
234
+ envTarget,
235
+ envsMetadata,
236
+ 'PROD', 'TRN'
237
+ );
238
+ } else {
239
+ return getCompositeDepsByEnv(
240
+ compositePath,
241
+ envTarget,
242
+ envsMetadata,
243
+ 'ACC', 'TRN'
244
+ );
245
+ }
237
246
  }
238
247
 
239
248
  /**