@lage-run/reporters 1.2.1 → 1.2.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.
- package/CHANGELOG.json +34 -1
- package/CHANGELOG.md +13 -2
- package/lib/ProgressReporter.js +8 -0
- package/package.json +4 -4
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,40 @@
|
|
|
2
2
|
"name": "@lage-run/reporters",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Mon, 08 May 2023
|
|
5
|
+
"date": "Mon, 08 May 2023 22:26:52 GMT",
|
|
6
|
+
"tag": "@lage-run/reporters_v1.2.2",
|
|
7
|
+
"version": "1.2.2",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "kchau@microsoft.com",
|
|
12
|
+
"package": "@lage-run/reporters",
|
|
13
|
+
"commit": "5a132808f166179bc316a279c9e11a13d3a39103",
|
|
14
|
+
"comment": "Fixed progress reporter"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@lage-run/reporters",
|
|
19
|
+
"comment": "Bump @lage-run/scheduler-types to v0.3.9",
|
|
20
|
+
"commit": "5a132808f166179bc316a279c9e11a13d3a39103"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@lage-run/reporters",
|
|
25
|
+
"comment": "Bump @lage-run/target-graph to v0.8.6",
|
|
26
|
+
"commit": "5a132808f166179bc316a279c9e11a13d3a39103"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@lage-run/reporters",
|
|
31
|
+
"comment": "Bump @lage-run/format-hrtime to v0.1.5",
|
|
32
|
+
"commit": "5a132808f166179bc316a279c9e11a13d3a39103"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"date": "Mon, 08 May 2023 16:33:24 GMT",
|
|
6
39
|
"tag": "@lage-run/reporters_v1.2.1",
|
|
7
40
|
"version": "1.2.1",
|
|
8
41
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
# Change Log - @lage-run/reporters
|
|
2
2
|
|
|
3
|
-
This log was last generated on Mon, 08 May 2023
|
|
3
|
+
This log was last generated on Mon, 08 May 2023 22:26:52 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.2.2
|
|
8
|
+
|
|
9
|
+
Mon, 08 May 2023 22:26:52 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Fixed progress reporter (kchau@microsoft.com)
|
|
14
|
+
- Bump @lage-run/scheduler-types to v0.3.9
|
|
15
|
+
- Bump @lage-run/target-graph to v0.8.6
|
|
16
|
+
- Bump @lage-run/format-hrtime to v0.1.5
|
|
17
|
+
|
|
7
18
|
## 1.2.1
|
|
8
19
|
|
|
9
|
-
Mon, 08 May 2023 16:33:
|
|
20
|
+
Mon, 08 May 2023 16:33:24 GMT
|
|
10
21
|
|
|
11
22
|
### Patches
|
|
12
23
|
|
package/lib/ProgressReporter.js
CHANGED
|
@@ -166,6 +166,14 @@ class ProgressReporter {
|
|
|
166
166
|
0,
|
|
167
167
|
0
|
|
168
168
|
];
|
|
169
|
+
if (wrappedTarget.status === "running") {
|
|
170
|
+
const reporterTask = this.tasks.get(wrappedTarget.target.id);
|
|
171
|
+
if (reporterTask) {
|
|
172
|
+
reporterTask.complete({
|
|
173
|
+
status: "fail"
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
}
|
|
169
177
|
this.print(`${target.label} ${colorFn(`${wrappedTarget.status === "running" ? "running - incomplete" : wrappedTarget.status}${hasDurations ? `, took ${(0, _formathrtime.formatDuration)((0, _formathrtime.hrToSeconds)(wrappedTarget.duration))}, queued for ${(0, _formathrtime.formatDuration)((0, _formathrtime.hrToSeconds)(queueDuration))}` : ""}`)}`);
|
|
170
178
|
}
|
|
171
179
|
this.print(`success: ${success.length}, skipped: ${skipped.length}, pending: ${pending.length}, aborted: ${aborted.length}, failed: ${failed.length}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lage-run/reporters",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Log reporters for Lage",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@lage-run/logger": "^1.3.0",
|
|
21
|
-
"@lage-run/scheduler-types": "^0.3.
|
|
22
|
-
"@lage-run/target-graph": "^0.8.
|
|
23
|
-
"@lage-run/format-hrtime": "^0.1.
|
|
21
|
+
"@lage-run/scheduler-types": "^0.3.9",
|
|
22
|
+
"@lage-run/target-graph": "^0.8.6",
|
|
23
|
+
"@lage-run/format-hrtime": "^0.1.5",
|
|
24
24
|
"@ms-cloudpack/task-reporter": "^0.3.2",
|
|
25
25
|
"chalk": "^4.0.0",
|
|
26
26
|
"ansi-regex": "^5.0.1",
|