@testspectra/cli 1.0.51 → 1.0.54
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/dist/plugin.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import type ts from "typescript";
|
|
|
9
9
|
declare function init(modules: {
|
|
10
10
|
typescript: typeof ts;
|
|
11
11
|
}): {
|
|
12
|
-
create: (info: ts.server.PluginCreateInfo) =>
|
|
12
|
+
create: (info: ts.server.PluginCreateInfo) => any;
|
|
13
13
|
getExternalFiles: (project: ts.server.Project) => string[];
|
|
14
14
|
};
|
|
15
15
|
export default init;
|
package/dist/plugin.js
CHANGED
|
@@ -121,6 +121,9 @@ function init(modules) {
|
|
|
121
121
|
log(`Note: Recursive fs.watch not supported or failed: ${err?.message}`);
|
|
122
122
|
}
|
|
123
123
|
// 3. Proxy language service methods to detect file modifications / completions
|
|
124
|
+
if (!info.languageService) {
|
|
125
|
+
return Object.create(null);
|
|
126
|
+
}
|
|
124
127
|
const proxy = Object.create(null);
|
|
125
128
|
for (const k of Object.keys(info.languageService)) {
|
|
126
129
|
const x = info.languageService[k];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testspectra/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.54",
|
|
4
4
|
"description": "TestSpectra Zero-Config Cross-Platform Test Runner CLI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@clack/prompts": "^1.7.0",
|
|
24
|
-
"@testspectra/matchers": "^1.0.
|
|
24
|
+
"@testspectra/matchers": "^1.0.54",
|
|
25
25
|
"chalk": "^5.3.0",
|
|
26
26
|
"commander": "^12.1.0",
|
|
27
27
|
"dotenv": "^16.4.5",
|