@testspectra/cli 1.1.8-rc.8 → 1.1.8-rc.9
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/.tsbuildinfo +1 -1
- package/dist/commands/add.js +2 -1
- package/dist/commands/init.js +2 -1
- package/dist/generator/__tests__/type-generator.test.js +38 -0
- package/dist/generator/type-generator.d.ts +5 -2
- package/dist/generator/type-generator.js +14 -17
- package/dist/linter/__tests__/shared-lib-boundary.test.js +15 -15
- package/dist/linter/discovery.d.ts +3 -3
- package/dist/linter/discovery.js +5 -5
- package/dist/runner/bridge.js +9 -0
- package/package.json +8 -8
- package/templates/default/package.json +2 -2
- package/templates/nx/.nx/workspace-data/70094CFD-E89B-57A1-9619-2FC5F4963C54.db-shm +0 -0
- package/templates/nx/.nx/workspace-data/70094CFD-E89B-57A1-9619-2FC5F4963C54.db-wal +0 -0
- package/templates/nx/.nx/workspace-data/d/daemon.log +202 -0
- package/templates/nx/.nx/workspace-data/file-map.json +90 -90
- package/templates/nx/.nx/workspace-data/project-graph.json +5 -6
- package/templates/nx/package.json +2 -2
- package/templates/nx/packages/matchers/e2e/project.json +2 -2
- package/templates/nx/packages/playground/e2e/project.json +2 -2
- package/templates/nx/shared/testing/project.json +1 -2
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"version": "6.0",
|
|
3
3
|
"nxVersion": "19.8.4",
|
|
4
4
|
"deps": {
|
|
5
|
-
"@testspectra/cli": "^1.1.8-rc.
|
|
6
|
-
"@testspectra/matchers": "^1.1.8-rc.
|
|
5
|
+
"@testspectra/cli": "^1.1.8-rc.9",
|
|
6
|
+
"@testspectra/matchers": "^1.1.8-rc.9",
|
|
7
7
|
"@types/node": "^20.14.0",
|
|
8
8
|
"@wdio/cli": "^9.2.8",
|
|
9
9
|
"@wdio/local-runner": "^9.2.8",
|
|
@@ -20,51 +20,51 @@
|
|
|
20
20
|
"fileMap": {
|
|
21
21
|
"nonProjectFiles": [
|
|
22
22
|
{
|
|
23
|
-
"file": "
|
|
24
|
-
"hash": "
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"file": "pnpm-workspace.yaml",
|
|
28
|
-
"hash": "11062973401223444734"
|
|
23
|
+
"file": "spectra.config.ts",
|
|
24
|
+
"hash": "5826567216431235375"
|
|
29
25
|
},
|
|
30
26
|
{
|
|
31
|
-
"file": ".
|
|
32
|
-
"hash": "
|
|
27
|
+
"file": "package.json",
|
|
28
|
+
"hash": "12899446852964037358"
|
|
33
29
|
},
|
|
34
30
|
{
|
|
35
|
-
"file": "
|
|
36
|
-
"hash": "
|
|
31
|
+
"file": ".cursorrules",
|
|
32
|
+
"hash": "5914400097935294858"
|
|
37
33
|
},
|
|
38
34
|
{
|
|
39
|
-
"file": "
|
|
40
|
-
"hash": "
|
|
35
|
+
"file": ".gitignore",
|
|
36
|
+
"hash": "1731686672878252345"
|
|
41
37
|
},
|
|
42
38
|
{
|
|
43
|
-
"file": ".
|
|
44
|
-
"hash": "
|
|
39
|
+
"file": "CLAUDE.md",
|
|
40
|
+
"hash": "9577234870771110688"
|
|
45
41
|
},
|
|
46
42
|
{
|
|
47
|
-
"file": "
|
|
48
|
-
"hash": "
|
|
43
|
+
"file": "pnpm-lock.yaml",
|
|
44
|
+
"hash": "5459540818199025768"
|
|
49
45
|
},
|
|
50
46
|
{
|
|
51
|
-
"file": "
|
|
52
|
-
"hash": "
|
|
47
|
+
"file": "pnpm-workspace.yaml",
|
|
48
|
+
"hash": "11062973401223444734"
|
|
53
49
|
},
|
|
54
50
|
{
|
|
55
51
|
"file": "nx.json",
|
|
56
52
|
"hash": "2058784385052146326"
|
|
57
53
|
},
|
|
58
54
|
{
|
|
59
|
-
"file": ".
|
|
60
|
-
"hash": "
|
|
55
|
+
"file": "tsconfig.json",
|
|
56
|
+
"hash": "8890589832440448254"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"file": ".vscode/extensions.json",
|
|
60
|
+
"hash": "6496079274348496909"
|
|
61
61
|
}
|
|
62
62
|
],
|
|
63
63
|
"projectFileMap": {
|
|
64
64
|
"matchers-e2e": [
|
|
65
65
|
{
|
|
66
66
|
"file": "packages/matchers/e2e/project.json",
|
|
67
|
-
"hash": "
|
|
67
|
+
"hash": "8584556520682172690"
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"file": "packages/matchers/e2e/specs/ApiInterception/TC-0008-fetch-mocking/mobile.test.ts",
|
|
@@ -307,72 +307,6 @@
|
|
|
307
307
|
"hash": "2736763753819703752"
|
|
308
308
|
}
|
|
309
309
|
],
|
|
310
|
-
"playground-e2e": [
|
|
311
|
-
{
|
|
312
|
-
"file": "packages/playground/e2e/project.json",
|
|
313
|
-
"hash": "6122062871794656679"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"file": "packages/playground/e2e/specs/Playground/TC-0001-form-controls/mobile.test.ts",
|
|
317
|
-
"hash": "4890867782031227471"
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"file": "packages/playground/e2e/specs/Playground/TC-0001-form-controls/spec.md",
|
|
321
|
-
"hash": "1594899313611085372"
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"file": "packages/playground/e2e/specs/Playground/TC-0001-form-controls/web.test.ts",
|
|
325
|
-
"hash": "1983735092902158167"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"file": "packages/playground/e2e/specs/Playground/TC-0002-toggle-elements/mobile.test.ts",
|
|
329
|
-
"hash": "11975331038121344625"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"file": "packages/playground/e2e/specs/Playground/TC-0002-toggle-elements/spec.md",
|
|
333
|
-
"hash": "12190577339537127331"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"file": "packages/playground/e2e/specs/Playground/TC-0002-toggle-elements/web.test.ts",
|
|
337
|
-
"hash": "12887248939991345892"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"file": "packages/playground/e2e/specs/Playground/hooks/after/mobile.hook.ts",
|
|
341
|
-
"hash": "14051783072589214011"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"file": "packages/playground/e2e/specs/Playground/hooks/after/web.hook.ts",
|
|
345
|
-
"hash": "14051783072589214011"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"file": "packages/playground/e2e/specs/Playground/hooks/afterEach/mobile.hook.ts",
|
|
349
|
-
"hash": "14051783072589214011"
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"file": "packages/playground/e2e/specs/Playground/hooks/afterEach/web.hook.ts",
|
|
353
|
-
"hash": "14051783072589214011"
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
"file": "packages/playground/e2e/specs/Playground/hooks/before/mobile.hook.ts",
|
|
357
|
-
"hash": "14051783072589214011"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"file": "packages/playground/e2e/specs/Playground/hooks/before/web.hook.ts",
|
|
361
|
-
"hash": "14051783072589214011"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"file": "packages/playground/e2e/specs/Playground/hooks/beforeEach/mobile.hook.ts",
|
|
365
|
-
"hash": "14051783072589214011"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"file": "packages/playground/e2e/specs/Playground/hooks/beforeEach/web.hook.ts",
|
|
369
|
-
"hash": "14051783072589214011"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"file": "packages/playground/e2e/specs/Playground/suite.md",
|
|
373
|
-
"hash": "17750886301217575279"
|
|
374
|
-
}
|
|
375
|
-
],
|
|
376
310
|
"shared-testing": [
|
|
377
311
|
{
|
|
378
312
|
"file": "shared/testing/fixtures/apiData.json",
|
|
@@ -424,7 +358,7 @@
|
|
|
424
358
|
},
|
|
425
359
|
{
|
|
426
360
|
"file": "shared/testing/project.json",
|
|
427
|
-
"hash": "
|
|
361
|
+
"hash": "7371378800661206349"
|
|
428
362
|
},
|
|
429
363
|
{
|
|
430
364
|
"file": "shared/testing/support/actions/fillCredentials/mobile.action.ts",
|
|
@@ -458,6 +392,72 @@
|
|
|
458
392
|
"file": "shared/testing/support/steps/verifyPlaygroundState/web.step.ts",
|
|
459
393
|
"hash": "7710645189151727546"
|
|
460
394
|
}
|
|
395
|
+
],
|
|
396
|
+
"playground-e2e": [
|
|
397
|
+
{
|
|
398
|
+
"file": "packages/playground/e2e/project.json",
|
|
399
|
+
"hash": "7483436778468358608"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"file": "packages/playground/e2e/specs/Playground/TC-0001-form-controls/mobile.test.ts",
|
|
403
|
+
"hash": "4890867782031227471"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"file": "packages/playground/e2e/specs/Playground/TC-0001-form-controls/spec.md",
|
|
407
|
+
"hash": "1594899313611085372"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"file": "packages/playground/e2e/specs/Playground/TC-0001-form-controls/web.test.ts",
|
|
411
|
+
"hash": "1983735092902158167"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"file": "packages/playground/e2e/specs/Playground/TC-0002-toggle-elements/mobile.test.ts",
|
|
415
|
+
"hash": "11975331038121344625"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"file": "packages/playground/e2e/specs/Playground/TC-0002-toggle-elements/spec.md",
|
|
419
|
+
"hash": "12190577339537127331"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"file": "packages/playground/e2e/specs/Playground/TC-0002-toggle-elements/web.test.ts",
|
|
423
|
+
"hash": "12887248939991345892"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"file": "packages/playground/e2e/specs/Playground/hooks/after/mobile.hook.ts",
|
|
427
|
+
"hash": "14051783072589214011"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"file": "packages/playground/e2e/specs/Playground/hooks/after/web.hook.ts",
|
|
431
|
+
"hash": "14051783072589214011"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"file": "packages/playground/e2e/specs/Playground/hooks/afterEach/mobile.hook.ts",
|
|
435
|
+
"hash": "14051783072589214011"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"file": "packages/playground/e2e/specs/Playground/hooks/afterEach/web.hook.ts",
|
|
439
|
+
"hash": "14051783072589214011"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"file": "packages/playground/e2e/specs/Playground/hooks/before/mobile.hook.ts",
|
|
443
|
+
"hash": "14051783072589214011"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"file": "packages/playground/e2e/specs/Playground/hooks/before/web.hook.ts",
|
|
447
|
+
"hash": "14051783072589214011"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"file": "packages/playground/e2e/specs/Playground/hooks/beforeEach/mobile.hook.ts",
|
|
451
|
+
"hash": "14051783072589214011"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"file": "packages/playground/e2e/specs/Playground/hooks/beforeEach/web.hook.ts",
|
|
455
|
+
"hash": "14051783072589214011"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"file": "packages/playground/e2e/specs/Playground/suite.md",
|
|
459
|
+
"hash": "17750886301217575279"
|
|
460
|
+
}
|
|
461
461
|
]
|
|
462
462
|
}
|
|
463
463
|
}
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"projectType": "application",
|
|
11
11
|
"sourceRoot": "packages/playground/e2e",
|
|
12
12
|
"tags": [
|
|
13
|
-
"
|
|
14
|
-
"
|
|
13
|
+
"testspectra:e2e",
|
|
14
|
+
"testspectra:scope:playground"
|
|
15
15
|
],
|
|
16
16
|
"targets": {
|
|
17
17
|
"e2e": {
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"projectType": "application",
|
|
70
70
|
"sourceRoot": "packages/matchers/e2e",
|
|
71
71
|
"tags": [
|
|
72
|
-
"
|
|
73
|
-
"
|
|
72
|
+
"testspectra:e2e",
|
|
73
|
+
"testspectra:scope:matchers"
|
|
74
74
|
],
|
|
75
75
|
"targets": {
|
|
76
76
|
"e2e": {
|
|
@@ -128,8 +128,7 @@
|
|
|
128
128
|
"projectType": "library",
|
|
129
129
|
"sourceRoot": "shared/testing",
|
|
130
130
|
"tags": [
|
|
131
|
-
"
|
|
132
|
-
"type:shared"
|
|
131
|
+
"testspectra:shared"
|
|
133
132
|
],
|
|
134
133
|
"targets": {
|
|
135
134
|
"type-check": {
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"postinstall": "spectra sync-types"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@testspectra/cli": "^1.1.8-rc.
|
|
16
|
-
"@testspectra/matchers": "^1.1.8-rc.
|
|
15
|
+
"@testspectra/cli": "^1.1.8-rc.9",
|
|
16
|
+
"@testspectra/matchers": "^1.1.8-rc.9",
|
|
17
17
|
"@types/node": "^20.14.0",
|
|
18
18
|
"@wdio/cli": "^9.2.8",
|
|
19
19
|
"@wdio/local-runner": "^9.2.8",
|