@eui/tools 4.21.0 → 4.21.1

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
- 4.21.0
1
+ 4.21.1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 4.21.1 (2022-03-17)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * disable remove of yarn.lock for pkg build - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([17326a12](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/17326a1248ed34d4fe85e63e9a881fc4924e916a))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 4.21.0 (2022-03-15)
2
11
 
3
12
  ##### New Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "4.21.0",
3
+ "version": "4.21.1",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
package/sandbox.js CHANGED
@@ -688,8 +688,18 @@ const translationUtils = require('./scripts/utils/pre-build/translations/transla
688
688
  // return compositeUtils.getDeps(prj, 'DEV');
689
689
  // })
690
690
 
691
+ // return Promise.resolve()
692
+ // .then(() => {
693
+ // const configOptions = configUtils.global.getConfigOptions();
694
+ // console.log(configOptions);
695
+ // })
696
+
691
697
  return Promise.resolve()
692
698
  .then(() => {
693
- const configOptions = configUtils.global.getConfigOptions();
694
- console.log(configOptions);
699
+ const fileContent = tools.getJsonFileContent(path.join(process.cwd(), 'packages', 'devops-metadata', 'cc-task-centre-eui10-remote-el-ui-versions-metadata.json'));
700
+ let out = '';
701
+ const versions = fileContent.versions.filter(v => v.duration !== undefined).map((v) => {
702
+ out += `${v.date.substring(0,8)},${v.duration/1000}\n`;
703
+ })
704
+ tools.writeFileContent(path.join(process.cwd(), 'extract.txt'), out);
695
705
  })
@@ -88,10 +88,10 @@ module.exports.init = (pkg) => {
88
88
  })
89
89
 
90
90
  // REMOVE YARN.LOCK
91
- .then(() => {
92
- utils.tools.logInfo('Removing yarn.lock');
93
- return utils.tools.remove(path.join(process.cwd(), 'yarn.lock'));
94
- })
91
+ // .then(() => {
92
+ // utils.tools.logInfo('Removing yarn.lock');
93
+ // return utils.tools.remove(path.join(process.cwd(), 'yarn.lock'));
94
+ // })
95
95
 
96
96
  .catch((e) => {
97
97
  throw e;