@eui/tools 6.16.0 → 6.16.2

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.16.0
1
+ 6.16.2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.16.2 (2024-03-24)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * upgrade rimraf - EUI-8913 [EUI-8913](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-8913) ([340042af](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/340042afd3060264ee08ea4d4b72de1296728881))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.16.1 (2024-03-19)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **other:**
15
+ * excluding next package version for hotfix checks on versions gathering - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([6f1cff6e](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/6f1cff6e7163ec7f1cfbcaf62a119f866031f8ae))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.16.0 (2024-03-07)
2
20
 
3
21
  ##### New Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.16.0",
3
+ "version": "6.16.2",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -19,7 +19,7 @@
19
19
  "semver": "7.4.0",
20
20
  "cross-spawn": "6.0.5",
21
21
  "eol": "0.9.1",
22
- "rimraf": "3.0.2",
22
+ "rimraf": "^5.0.0",
23
23
  "ncp": "2.0.0",
24
24
  "moment": "2.29.4",
25
25
  "moment-timezone": "0.5.43",
package/sandbox.js CHANGED
@@ -1502,11 +1502,23 @@ const publishUtils = require('./scripts/utils/publish/publish-utils');
1502
1502
  // console.log(e);
1503
1503
  // })
1504
1504
 
1505
+ // Promise.resolve()
1506
+ // .then(() => {
1507
+ // const config = configUtils.global.getConfig();
1508
+ // console.log(config);
1509
+
1510
+ // const isSonarEnabled = metadataUtils.common.isSonarEnabled();
1511
+ // console.log(isSonarEnabled);
1512
+ // })
1513
+
1505
1514
  Promise.resolve()
1506
1515
  .then(() => {
1507
- const config = configUtils.global.getConfig();
1508
- console.log(config);
1516
+ const pkg = configUtils.packages.getPackage('eui-mobile-core', true);
1517
+ console.log(pkg);
1518
+
1519
+ const pkgVersions = metadataUtils.packageUtils.getPackageVersions(pkg);
1520
+ console.log(pkgVersions);
1509
1521
 
1510
- const isSonarEnabled = metadataUtils.common.isSonarEnabled();
1511
- console.log(isSonarEnabled);
1522
+ const versions = metadataUtils.packageUtils.getLastMajorVersion(pkg, '17', false, true);
1523
+ console.log(versions);
1512
1524
  })
@@ -41,7 +41,7 @@ const getPackageVersions = (module.exports.getPackageVersions = (pkg) => {
41
41
  version: v,
42
42
  major: v.split('.')[0],
43
43
  snapshot: v.indexOf('snapshot') > -1,
44
- hotfix: v.indexOf('snapshot') === -1 && v.indexOf('-rc.') === -1 && v.indexOf('-') > -1,
44
+ hotfix: v.indexOf('snapshot') === -1 && v.indexOf('-rc.') === -1 && v.indexOf('-next.') === -1 && v.indexOf('-') > -1,
45
45
  rc: v.indexOf('-rc.') > -1,
46
46
  date: json.time[v],
47
47
  };