tstyche 2.0.0-rc.0 → 2.0.0-rc.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.
- package/build/tstyche.js +8 -7
- package/package.json +4 -4
package/build/tstyche.js
CHANGED
|
@@ -708,6 +708,11 @@ class FileViewService {
|
|
|
708
708
|
this.#lines.push(describeNameText(name, this.#indent));
|
|
709
709
|
this.#indent++;
|
|
710
710
|
}
|
|
711
|
+
clear() {
|
|
712
|
+
this.#indent = 0;
|
|
713
|
+
this.#lines = [];
|
|
714
|
+
this.#messages = [];
|
|
715
|
+
}
|
|
711
716
|
endDescribe() {
|
|
712
717
|
this.#indent--;
|
|
713
718
|
}
|
|
@@ -717,11 +722,6 @@ class FileViewService {
|
|
|
717
722
|
getViewText(options) {
|
|
718
723
|
return fileViewText(this.#lines, options?.appendEmptyLine === true || this.hasErrors);
|
|
719
724
|
}
|
|
720
|
-
reset() {
|
|
721
|
-
this.#indent = 0;
|
|
722
|
-
this.#lines = [];
|
|
723
|
-
this.#messages = [];
|
|
724
|
-
}
|
|
725
725
|
}
|
|
726
726
|
|
|
727
727
|
class RuntimeReporter {
|
|
@@ -819,7 +819,8 @@ class RuntimeReporter {
|
|
|
819
819
|
this.#outputService.writeError(this.#fileView.getMessages());
|
|
820
820
|
this.#hasReportedError = true;
|
|
821
821
|
}
|
|
822
|
-
this.#fileView.
|
|
822
|
+
this.#fileView.clear();
|
|
823
|
+
this.#seenDeprecations.clear();
|
|
823
824
|
break;
|
|
824
825
|
}
|
|
825
826
|
case "describe:start": {
|
|
@@ -3376,7 +3377,7 @@ class TSTyche {
|
|
|
3376
3377
|
#selectService;
|
|
3377
3378
|
#storeService;
|
|
3378
3379
|
#taskRunner;
|
|
3379
|
-
static version = "2.0.0-rc.
|
|
3380
|
+
static version = "2.0.0-rc.1";
|
|
3380
3381
|
constructor(resolvedConfig, outputService, selectService, storeService) {
|
|
3381
3382
|
this.#resolvedConfig = resolvedConfig;
|
|
3382
3383
|
this.#outputService = outputService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tstyche",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.1",
|
|
4
4
|
"description": "The Essential Type Testing Tool.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"@biomejs/biome": "1.7.3",
|
|
63
63
|
"@rollup/plugin-typescript": "11.1.6",
|
|
64
64
|
"@types/mocha": "10.0.6",
|
|
65
|
-
"@types/node": "20.14.
|
|
66
|
-
"ajv": "8.
|
|
65
|
+
"@types/node": "20.14.1",
|
|
66
|
+
"ajv": "8.15.0",
|
|
67
67
|
"c8": "9.1.0",
|
|
68
|
-
"cspell": "8.8.
|
|
68
|
+
"cspell": "8.8.4",
|
|
69
69
|
"magic-string": "0.30.10",
|
|
70
70
|
"mocha": "10.4.0",
|
|
71
71
|
"pretty-ansi": "2.0.0",
|