@eui/tools 4.21.8 → 4.21.11

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.8
1
+ 4.21.11
package/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ ## 4.21.11 (2022-04-07)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * added resolutions for 10.x init version of eUI on project - EUI-4106 [EUI-4106](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4106) ([03026cab](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/03026cab986f39c82c5b1cef4e61c8015e4e23cc))
7
+
8
+ * * *
9
+ * * *
10
+ ## 4.21.10 (2022-03-26)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * forced resolutions to isbinary 4.0.8 due to wrong release of that package - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([f3026223](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/f3026223144d8a493800dcd9bb834b62df64509c))
16
+
17
+ * * *
18
+ * * *
19
+ ## 4.21.9 (2022-03-25)
20
+
21
+ ##### Chores
22
+
23
+ * **other:**
24
+ * enabled debug on git commit stage - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([39692e79](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/39692e7992573e4f9cf41c7c1675b7fb524b2489))
25
+
26
+ * * *
27
+ * * *
1
28
  ## 4.21.8 (2022-03-24)
2
29
 
3
30
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "4.21.8",
3
+ "version": "4.21.11",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -0,0 +1,6 @@
1
+ {
2
+ "sockjs-client": "1.5.2",
3
+ "https-proxy-agent": ">=2.2.3",
4
+ "@types/node": "14.14.10",
5
+ "mem": ">=4.3.0 <=8.1.1"
6
+ }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "@types/node": ">=14.14.10",
3
3
  "https-proxy-agent": ">=2.2.3",
4
- "mem": ">=4.3.0 <=8.1.1"
4
+ "mem": ">=4.3.0 <=8.1.1",
5
+ "isbinaryfile": "4.0.8"
5
6
  }
@@ -11,7 +11,7 @@ const { getPackageConfig } = require('./notification/config');
11
11
  // const versionUtils = require('./version-utils');
12
12
 
13
13
  // FETCH ARGS
14
- const { dryRun, git } = tools.getArgs();
14
+ const { dryRun, git, debug } = tools.getArgs();
15
15
 
16
16
 
17
17
  const getLastTag = (folder) => {
@@ -105,15 +105,19 @@ const commitAndPush = (branch, message, folder) => {
105
105
  } catch (e2) {
106
106
  tools.logError('ERROR');
107
107
  console.log('ERROR!!!');
108
+ if (debug) {
109
+ console.log(e2);
110
+ }
108
111
 
109
112
  try {
110
113
  tools.logInfo('Commit and push - second try - retrying pull push');
111
- // setTimeout(() => {
112
- execa.sync('git', ['pull', 'origin', branch], { cwd: folder });
113
- execa.sync('git', ['push', 'origin', branch], { cwd: folder });
114
- // }, 8000);
114
+ execa.sync('git', ['pull', 'origin', branch], { cwd: folder });
115
+ execa.sync('git', ['push', 'origin', branch], { cwd: folder });
115
116
 
116
117
  } catch (e3) {
118
+ if (debug) {
119
+ console.log(e3);
120
+ }
117
121
  throw new Error(`Failed to push ${message} to ${folder}`);
118
122
  }
119
123
  }