@itwin/build-tools 5.13.0-dev.1 → 5.13.0-dev.10
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.
- package/CHANGELOG.md +16 -1
- package/mocha-reporter/index.js +3 -3
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
# Change Log - @itwin/build-tools
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 10 Aug 2026 20:40:09 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 5.12.2
|
|
6
|
+
Mon, 10 Aug 2026 20:38:45 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
9
|
+
|
|
10
|
+
## 5.12.1
|
|
11
|
+
Mon, 10 Aug 2026 19:07:26 GMT
|
|
12
|
+
|
|
13
|
+
_Version update only_
|
|
14
|
+
|
|
15
|
+
## 5.12.0
|
|
16
|
+
Mon, 03 Aug 2026 12:25:49 GMT
|
|
17
|
+
|
|
18
|
+
_Version update only_
|
|
4
19
|
|
|
5
20
|
## 5.11.3
|
|
6
21
|
Wed, 15 Jul 2026 19:40:44 GMT
|
package/mocha-reporter/index.js
CHANGED
|
@@ -73,7 +73,7 @@ class BentleyMochaReporter extends Spec {
|
|
|
73
73
|
if (i + 1 < process.argv.length && process.argv[i + 1] === "chrome") {
|
|
74
74
|
this._chrome = true;
|
|
75
75
|
process.on("chrome-test-runner-done", () => {
|
|
76
|
-
this.confirmExit();
|
|
76
|
+
this.confirmExit(30);
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
break;
|
|
@@ -82,7 +82,7 @@ class BentleyMochaReporter extends Spec {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
confirmExit(seconds =
|
|
85
|
+
confirmExit(seconds = 10) {
|
|
86
86
|
// NB: By calling unref() on this timer, we stop it from keeping the process alive, so it will only fire if _something else_ is still keeping
|
|
87
87
|
// the process alive after n seconds. This also has the benefit of preventing the timer from showing up in wtfnode's dump of open handles.
|
|
88
88
|
setTimeout(() => {
|
|
@@ -126,7 +126,7 @@ class BentleyMochaReporter extends Spec {
|
|
|
126
126
|
// Detect hangs caused by tests that leave timers/other handles open - not possible in electron frontends.
|
|
127
127
|
if (!this._electron && !this._chrome) {
|
|
128
128
|
// Not running in Chrome or Electron, so check for open handles.
|
|
129
|
-
this.confirmExit(
|
|
129
|
+
this.confirmExit();
|
|
130
130
|
}
|
|
131
131
|
if (!this.stats.pending)
|
|
132
132
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/build-tools",
|
|
3
|
-
"version": "5.13.0-dev.
|
|
3
|
+
"version": "5.13.0-dev.10",
|
|
4
4
|
"description": "Bentley build tools",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"cpx2": "^8.0.0",
|
|
27
27
|
"cross-spawn": "^7.0.5",
|
|
28
28
|
"fs-extra": "^8.1.0",
|
|
29
|
-
"glob": "^10.5.0",
|
|
30
29
|
"mocha-junit-reporter": "^2.0.2",
|
|
31
30
|
"rimraf": "^6.0.1",
|
|
32
31
|
"tree-kill": "^1.2.2",
|