@testspectra/cli 1.0.20 → 1.0.21
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/types/generator.js +2 -2
- package/package.json +1 -2
package/dist/types/generator.js
CHANGED
|
@@ -59,7 +59,7 @@ export class TypeGenerator {
|
|
|
59
59
|
for (const platform of platforms) {
|
|
60
60
|
const hierarchy = PLATFORM_HIERARCHY[platform];
|
|
61
61
|
let content = `// Auto-generated ambient declarations for TestSpectra [${platform.toUpperCase()}]\n`;
|
|
62
|
-
content += `//
|
|
62
|
+
content += `// Managed automatically by TestSpectra Language Service Plugin.\n\n`;
|
|
63
63
|
content += `/// <reference types="@wdio/globals/types" />\n`;
|
|
64
64
|
content += `/// <reference types="@wdio/mocha-framework" />\n`;
|
|
65
65
|
content += `/// <reference path="./fixtures.d.ts" />\n\n`;
|
|
@@ -271,7 +271,7 @@ export class TypeGenerator {
|
|
|
271
271
|
static generateFixturesDeclaration(cwd) {
|
|
272
272
|
const fixturesDirs = this.getEntityDirs(cwd, "fixtures");
|
|
273
273
|
let content = `// Auto-generated ambient fixture declarations for TestSpectra\n`;
|
|
274
|
-
content += `//
|
|
274
|
+
content += `// Managed automatically by TestSpectra Language Service Plugin.\n\n`;
|
|
275
275
|
content += `interface TestSpectraFixtures {\n`;
|
|
276
276
|
const declaredFixtures = new Set();
|
|
277
277
|
for (const fixturesDir of fixturesDirs) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testspectra/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"description": "TestSpectra Zero-Config Cross-Platform Test Runner CLI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@testspectra/matchers": "^1.0.0",
|
|
24
24
|
"chalk": "^5.3.0",
|
|
25
|
-
"chokidar": "^3.6.0",
|
|
26
25
|
"commander": "^12.1.0",
|
|
27
26
|
"dotenv": "^16.4.5",
|
|
28
27
|
"inquirer": "^9.3.2",
|