@testspectra/cli 1.1.8-rc.8 → 1.1.10
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/README.md +11 -8
- package/dist/.tsbuildinfo +1 -1
- package/dist/commands/__tests__/doctor-filter.test.d.ts +1 -0
- package/dist/commands/__tests__/doctor-filter.test.js +37 -0
- package/dist/commands/__tests__/test-error-streaming.test.d.ts +1 -0
- package/dist/commands/__tests__/test-error-streaming.test.js +85 -0
- package/dist/commands/__tests__/test-scaffolding.test.d.ts +1 -0
- package/dist/commands/__tests__/test-scaffolding.test.js +32 -0
- package/dist/commands/__tests__/upgrade.test.d.ts +1 -0
- package/dist/commands/__tests__/upgrade.test.js +95 -0
- package/dist/commands/add.js +5 -4
- package/dist/commands/devices.js +1 -0
- package/dist/commands/docs.d.ts +4 -0
- package/dist/commands/docs.js +17 -0
- package/dist/commands/doctor.d.ts +9 -1
- package/dist/commands/doctor.js +17 -3
- package/dist/commands/init.js +7 -160
- package/dist/commands/install.js +5 -0
- package/dist/commands/license.js +1 -0
- package/dist/commands/run.d.ts +2 -0
- package/dist/commands/run.js +22 -0
- package/dist/commands/test.d.ts +13 -0
- package/dist/commands/test.js +115 -21
- package/dist/commands/upgrade.d.ts +12 -0
- package/dist/commands/upgrade.js +197 -0
- package/dist/config/schema.d.ts +53 -0
- package/dist/config/schema.js +2 -0
- package/dist/generator/__tests__/tsconfig-isolation.test.js +2 -1
- package/dist/generator/__tests__/type-generator.test.js +38 -0
- package/dist/generator/architecture-doc-generator.d.ts +14 -0
- package/dist/generator/architecture-doc-generator.js +80 -0
- package/dist/generator/index.d.ts +1 -0
- package/dist/generator/index.js +1 -0
- package/dist/generator/tsconfig-generator.js +1 -1
- package/dist/generator/type-generator.d.ts +5 -2
- package/dist/generator/type-generator.js +14 -17
- package/dist/index.js +59 -16
- package/dist/linter/__tests__/shared-lib-boundary.test.js +15 -15
- package/dist/linter/discovery.d.ts +3 -3
- package/dist/linter/discovery.js +7 -7
- package/dist/linter/schemas/spec.schema.d.ts +6 -6
- package/dist/runner/bridge.d.ts +1 -1
- package/dist/runner/bridge.js +67 -16
- package/dist/runner/reporter.d.ts +1 -0
- package/dist/runner/reporter.js +12 -6
- package/dist/utils/__tests__/dev-server-manager.test.d.ts +1 -0
- package/dist/utils/__tests__/dev-server-manager.test.js +72 -0
- package/dist/utils/background-update-check.d.ts +1 -0
- package/dist/utils/background-update-check.js +43 -0
- package/dist/utils/dependency-updates.d.ts +15 -0
- package/dist/utils/dependency-updates.js +107 -0
- package/dist/utils/dev-server-manager.d.ts +40 -0
- package/dist/utils/dev-server-manager.js +257 -0
- package/dist/utils/update-notifier.d.ts +2 -0
- package/dist/utils/update-notifier.js +67 -0
- package/package.json +10 -9
- package/templates/default/package.json +2 -2
- package/templates/docs/ARCHITECTURE.default.md +26 -0
- package/templates/docs/ARCHITECTURE.nx.md +147 -0
- package/templates/nx/.nx/workspace-data/70094CFD-E89B-57A1-9619-2FC5F4963C54.db +0 -0
- 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 +947 -0
- package/templates/nx/.nx/workspace-data/d/server-process.json +1 -1
- package/templates/nx/.nx/workspace-data/file-map.json +172 -186
- package/templates/nx/.nx/workspace-data/lockfile.hash +1 -1
- package/templates/nx/.nx/workspace-data/nx_files.nxt +0 -0
- package/templates/nx/.nx/workspace-data/parsed-lock-file.json +81 -130
- package/templates/nx/.nx/workspace-data/project-graph.json +90 -144
- package/templates/nx/.nx/workspace-data/source-maps.json +336 -0
- package/templates/nx/package.json +3 -3
- package/templates/nx/packages/matchers/e2e/project.json +2 -2
- package/templates/nx/packages/playground/e2e/project.json +2 -2
- package/templates/nx/pnpm-lock.yaml +191 -214
- package/templates/nx/shared/testing/project.json +1 -2
- package/templates/nx/spectra.config.ts +13 -0
- package/templates/react-component/package.json +3 -3
- package/templates/react-component/page-objects/BadgeComponent/web.ts +4 -4
- package/templates/react-component/page-objects/ButtonComponent/web.ts +3 -3
- package/templates/react-component/page-objects/InputComponent/web.ts +1 -1
- package/templates/react-component/specs/ButtonComponent/TC-0001-button-rendering-and-click/web.test.tsx +0 -3
- package/templates/react-component/specs/ButtonComponent/TC-0004-disabled-button-not-clickable/web.test.tsx +0 -9
- package/templates/react-component/specs/ButtonComponent/TC-0005-button-renders-icon/web.test.tsx +1 -1
- package/templates/react-component/specs/InputComponent/TC-0003-input-typing-and-clear/web.test.tsx +4 -8
- package/templates/react-component/spectra.config.ts +0 -10
- package/templates/react-component/src/components/Badge/Badge.tsx +3 -3
- package/templates/react-component/src/components/Button/Button.tsx +5 -3
- package/templates/react-component/src/components/Input/Input.tsx +2 -3
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
{
|
|
2
|
+
"packages/matchers/e2e": {
|
|
3
|
+
"root": [
|
|
4
|
+
"packages/matchers/e2e/project.json",
|
|
5
|
+
"nx/core/project-json"
|
|
6
|
+
],
|
|
7
|
+
"name": [
|
|
8
|
+
"packages/matchers/e2e/project.json",
|
|
9
|
+
"nx/core/project-json"
|
|
10
|
+
],
|
|
11
|
+
"$schema": [
|
|
12
|
+
"packages/matchers/e2e/project.json",
|
|
13
|
+
"nx/core/project-json"
|
|
14
|
+
],
|
|
15
|
+
"projectType": [
|
|
16
|
+
"packages/matchers/e2e/project.json",
|
|
17
|
+
"nx/core/project-json"
|
|
18
|
+
],
|
|
19
|
+
"sourceRoot": [
|
|
20
|
+
"packages/matchers/e2e/project.json",
|
|
21
|
+
"nx/core/project-json"
|
|
22
|
+
],
|
|
23
|
+
"tags": [
|
|
24
|
+
"packages/matchers/e2e/project.json",
|
|
25
|
+
"nx/core/project-json"
|
|
26
|
+
],
|
|
27
|
+
"tags.testspectra:e2e": [
|
|
28
|
+
"packages/matchers/e2e/project.json",
|
|
29
|
+
"nx/core/project-json"
|
|
30
|
+
],
|
|
31
|
+
"tags.testspectra:scope:matchers": [
|
|
32
|
+
"packages/matchers/e2e/project.json",
|
|
33
|
+
"nx/core/project-json"
|
|
34
|
+
],
|
|
35
|
+
"targets": [
|
|
36
|
+
"packages/matchers/e2e/project.json",
|
|
37
|
+
"nx/core/project-json"
|
|
38
|
+
],
|
|
39
|
+
"targets.e2e": [
|
|
40
|
+
"packages/matchers/e2e/project.json",
|
|
41
|
+
"nx/core/project-json"
|
|
42
|
+
],
|
|
43
|
+
"targets.e2e.executor": [
|
|
44
|
+
"packages/matchers/e2e/project.json",
|
|
45
|
+
"nx/core/project-json"
|
|
46
|
+
],
|
|
47
|
+
"targets.e2e.options": [
|
|
48
|
+
"packages/matchers/e2e/project.json",
|
|
49
|
+
"nx/core/project-json"
|
|
50
|
+
],
|
|
51
|
+
"targets.e2e.configurations": [
|
|
52
|
+
"packages/matchers/e2e/project.json",
|
|
53
|
+
"nx/core/project-json"
|
|
54
|
+
],
|
|
55
|
+
"targets.e2e.options.command": [
|
|
56
|
+
"packages/matchers/e2e/project.json",
|
|
57
|
+
"nx/core/project-json"
|
|
58
|
+
],
|
|
59
|
+
"targets.e2e.options.cwd": [
|
|
60
|
+
"packages/matchers/e2e/project.json",
|
|
61
|
+
"nx/core/project-json"
|
|
62
|
+
],
|
|
63
|
+
"targets.e2e.configurations.android": [
|
|
64
|
+
"packages/matchers/e2e/project.json",
|
|
65
|
+
"nx/core/project-json"
|
|
66
|
+
],
|
|
67
|
+
"targets.e2e.configurations.android.command": [
|
|
68
|
+
"packages/matchers/e2e/project.json",
|
|
69
|
+
"nx/core/project-json"
|
|
70
|
+
],
|
|
71
|
+
"targets.e2e.configurations.ios": [
|
|
72
|
+
"packages/matchers/e2e/project.json",
|
|
73
|
+
"nx/core/project-json"
|
|
74
|
+
],
|
|
75
|
+
"targets.e2e.configurations.ios.command": [
|
|
76
|
+
"packages/matchers/e2e/project.json",
|
|
77
|
+
"nx/core/project-json"
|
|
78
|
+
],
|
|
79
|
+
"targets.e2e.configurations.headless": [
|
|
80
|
+
"packages/matchers/e2e/project.json",
|
|
81
|
+
"nx/core/project-json"
|
|
82
|
+
],
|
|
83
|
+
"targets.e2e.configurations.headless.command": [
|
|
84
|
+
"packages/matchers/e2e/project.json",
|
|
85
|
+
"nx/core/project-json"
|
|
86
|
+
],
|
|
87
|
+
"targets.type-check": [
|
|
88
|
+
"packages/matchers/e2e/project.json",
|
|
89
|
+
"nx/core/project-json"
|
|
90
|
+
],
|
|
91
|
+
"targets.type-check.executor": [
|
|
92
|
+
"packages/matchers/e2e/project.json",
|
|
93
|
+
"nx/core/project-json"
|
|
94
|
+
],
|
|
95
|
+
"targets.type-check.options": [
|
|
96
|
+
"packages/matchers/e2e/project.json",
|
|
97
|
+
"nx/core/project-json"
|
|
98
|
+
],
|
|
99
|
+
"targets.type-check.options.command": [
|
|
100
|
+
"packages/matchers/e2e/project.json",
|
|
101
|
+
"nx/core/project-json"
|
|
102
|
+
],
|
|
103
|
+
"targets.type-check.options.cwd": [
|
|
104
|
+
"packages/matchers/e2e/project.json",
|
|
105
|
+
"nx/core/project-json"
|
|
106
|
+
],
|
|
107
|
+
"targets.e2e.cache": [
|
|
108
|
+
"nx.json",
|
|
109
|
+
"nx/target-defaults"
|
|
110
|
+
],
|
|
111
|
+
"targets.e2e.inputs": [
|
|
112
|
+
"nx.json",
|
|
113
|
+
"nx/target-defaults"
|
|
114
|
+
],
|
|
115
|
+
"targets.e2e.dependsOn": [
|
|
116
|
+
"nx.json",
|
|
117
|
+
"nx/target-defaults"
|
|
118
|
+
],
|
|
119
|
+
"targets.e2e.parallelism": [
|
|
120
|
+
"nx.json",
|
|
121
|
+
"nx/target-defaults"
|
|
122
|
+
],
|
|
123
|
+
"targets.type-check.cache": [
|
|
124
|
+
"nx.json",
|
|
125
|
+
"nx/target-defaults"
|
|
126
|
+
],
|
|
127
|
+
"targets.type-check.inputs": [
|
|
128
|
+
"nx.json",
|
|
129
|
+
"nx/target-defaults"
|
|
130
|
+
],
|
|
131
|
+
"targets.type-check.parallelism": [
|
|
132
|
+
"nx.json",
|
|
133
|
+
"nx/target-defaults"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
"packages/playground/e2e": {
|
|
137
|
+
"root": [
|
|
138
|
+
"packages/playground/e2e/project.json",
|
|
139
|
+
"nx/core/project-json"
|
|
140
|
+
],
|
|
141
|
+
"name": [
|
|
142
|
+
"packages/playground/e2e/project.json",
|
|
143
|
+
"nx/core/project-json"
|
|
144
|
+
],
|
|
145
|
+
"$schema": [
|
|
146
|
+
"packages/playground/e2e/project.json",
|
|
147
|
+
"nx/core/project-json"
|
|
148
|
+
],
|
|
149
|
+
"projectType": [
|
|
150
|
+
"packages/playground/e2e/project.json",
|
|
151
|
+
"nx/core/project-json"
|
|
152
|
+
],
|
|
153
|
+
"sourceRoot": [
|
|
154
|
+
"packages/playground/e2e/project.json",
|
|
155
|
+
"nx/core/project-json"
|
|
156
|
+
],
|
|
157
|
+
"tags": [
|
|
158
|
+
"packages/playground/e2e/project.json",
|
|
159
|
+
"nx/core/project-json"
|
|
160
|
+
],
|
|
161
|
+
"tags.testspectra:e2e": [
|
|
162
|
+
"packages/playground/e2e/project.json",
|
|
163
|
+
"nx/core/project-json"
|
|
164
|
+
],
|
|
165
|
+
"tags.testspectra:scope:playground": [
|
|
166
|
+
"packages/playground/e2e/project.json",
|
|
167
|
+
"nx/core/project-json"
|
|
168
|
+
],
|
|
169
|
+
"targets": [
|
|
170
|
+
"packages/playground/e2e/project.json",
|
|
171
|
+
"nx/core/project-json"
|
|
172
|
+
],
|
|
173
|
+
"targets.e2e": [
|
|
174
|
+
"packages/playground/e2e/project.json",
|
|
175
|
+
"nx/core/project-json"
|
|
176
|
+
],
|
|
177
|
+
"targets.e2e.executor": [
|
|
178
|
+
"packages/playground/e2e/project.json",
|
|
179
|
+
"nx/core/project-json"
|
|
180
|
+
],
|
|
181
|
+
"targets.e2e.options": [
|
|
182
|
+
"packages/playground/e2e/project.json",
|
|
183
|
+
"nx/core/project-json"
|
|
184
|
+
],
|
|
185
|
+
"targets.e2e.configurations": [
|
|
186
|
+
"packages/playground/e2e/project.json",
|
|
187
|
+
"nx/core/project-json"
|
|
188
|
+
],
|
|
189
|
+
"targets.e2e.options.command": [
|
|
190
|
+
"packages/playground/e2e/project.json",
|
|
191
|
+
"nx/core/project-json"
|
|
192
|
+
],
|
|
193
|
+
"targets.e2e.options.cwd": [
|
|
194
|
+
"packages/playground/e2e/project.json",
|
|
195
|
+
"nx/core/project-json"
|
|
196
|
+
],
|
|
197
|
+
"targets.e2e.configurations.android": [
|
|
198
|
+
"packages/playground/e2e/project.json",
|
|
199
|
+
"nx/core/project-json"
|
|
200
|
+
],
|
|
201
|
+
"targets.e2e.configurations.android.command": [
|
|
202
|
+
"packages/playground/e2e/project.json",
|
|
203
|
+
"nx/core/project-json"
|
|
204
|
+
],
|
|
205
|
+
"targets.e2e.configurations.ios": [
|
|
206
|
+
"packages/playground/e2e/project.json",
|
|
207
|
+
"nx/core/project-json"
|
|
208
|
+
],
|
|
209
|
+
"targets.e2e.configurations.ios.command": [
|
|
210
|
+
"packages/playground/e2e/project.json",
|
|
211
|
+
"nx/core/project-json"
|
|
212
|
+
],
|
|
213
|
+
"targets.e2e.configurations.headless": [
|
|
214
|
+
"packages/playground/e2e/project.json",
|
|
215
|
+
"nx/core/project-json"
|
|
216
|
+
],
|
|
217
|
+
"targets.e2e.configurations.headless.command": [
|
|
218
|
+
"packages/playground/e2e/project.json",
|
|
219
|
+
"nx/core/project-json"
|
|
220
|
+
],
|
|
221
|
+
"targets.type-check": [
|
|
222
|
+
"packages/playground/e2e/project.json",
|
|
223
|
+
"nx/core/project-json"
|
|
224
|
+
],
|
|
225
|
+
"targets.type-check.executor": [
|
|
226
|
+
"packages/playground/e2e/project.json",
|
|
227
|
+
"nx/core/project-json"
|
|
228
|
+
],
|
|
229
|
+
"targets.type-check.options": [
|
|
230
|
+
"packages/playground/e2e/project.json",
|
|
231
|
+
"nx/core/project-json"
|
|
232
|
+
],
|
|
233
|
+
"targets.type-check.options.command": [
|
|
234
|
+
"packages/playground/e2e/project.json",
|
|
235
|
+
"nx/core/project-json"
|
|
236
|
+
],
|
|
237
|
+
"targets.type-check.options.cwd": [
|
|
238
|
+
"packages/playground/e2e/project.json",
|
|
239
|
+
"nx/core/project-json"
|
|
240
|
+
],
|
|
241
|
+
"targets.e2e.cache": [
|
|
242
|
+
"nx.json",
|
|
243
|
+
"nx/target-defaults"
|
|
244
|
+
],
|
|
245
|
+
"targets.e2e.inputs": [
|
|
246
|
+
"nx.json",
|
|
247
|
+
"nx/target-defaults"
|
|
248
|
+
],
|
|
249
|
+
"targets.e2e.dependsOn": [
|
|
250
|
+
"nx.json",
|
|
251
|
+
"nx/target-defaults"
|
|
252
|
+
],
|
|
253
|
+
"targets.e2e.parallelism": [
|
|
254
|
+
"nx.json",
|
|
255
|
+
"nx/target-defaults"
|
|
256
|
+
],
|
|
257
|
+
"targets.type-check.cache": [
|
|
258
|
+
"nx.json",
|
|
259
|
+
"nx/target-defaults"
|
|
260
|
+
],
|
|
261
|
+
"targets.type-check.inputs": [
|
|
262
|
+
"nx.json",
|
|
263
|
+
"nx/target-defaults"
|
|
264
|
+
],
|
|
265
|
+
"targets.type-check.parallelism": [
|
|
266
|
+
"nx.json",
|
|
267
|
+
"nx/target-defaults"
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
"shared/testing": {
|
|
271
|
+
"root": [
|
|
272
|
+
"shared/testing/project.json",
|
|
273
|
+
"nx/core/project-json"
|
|
274
|
+
],
|
|
275
|
+
"name": [
|
|
276
|
+
"shared/testing/project.json",
|
|
277
|
+
"nx/core/project-json"
|
|
278
|
+
],
|
|
279
|
+
"$schema": [
|
|
280
|
+
"shared/testing/project.json",
|
|
281
|
+
"nx/core/project-json"
|
|
282
|
+
],
|
|
283
|
+
"projectType": [
|
|
284
|
+
"shared/testing/project.json",
|
|
285
|
+
"nx/core/project-json"
|
|
286
|
+
],
|
|
287
|
+
"sourceRoot": [
|
|
288
|
+
"shared/testing/project.json",
|
|
289
|
+
"nx/core/project-json"
|
|
290
|
+
],
|
|
291
|
+
"tags": [
|
|
292
|
+
"shared/testing/project.json",
|
|
293
|
+
"nx/core/project-json"
|
|
294
|
+
],
|
|
295
|
+
"tags.testspectra:shared": [
|
|
296
|
+
"shared/testing/project.json",
|
|
297
|
+
"nx/core/project-json"
|
|
298
|
+
],
|
|
299
|
+
"targets": [
|
|
300
|
+
"shared/testing/project.json",
|
|
301
|
+
"nx/core/project-json"
|
|
302
|
+
],
|
|
303
|
+
"targets.type-check": [
|
|
304
|
+
"shared/testing/project.json",
|
|
305
|
+
"nx/core/project-json"
|
|
306
|
+
],
|
|
307
|
+
"targets.type-check.executor": [
|
|
308
|
+
"shared/testing/project.json",
|
|
309
|
+
"nx/core/project-json"
|
|
310
|
+
],
|
|
311
|
+
"targets.type-check.options": [
|
|
312
|
+
"shared/testing/project.json",
|
|
313
|
+
"nx/core/project-json"
|
|
314
|
+
],
|
|
315
|
+
"targets.type-check.options.command": [
|
|
316
|
+
"shared/testing/project.json",
|
|
317
|
+
"nx/core/project-json"
|
|
318
|
+
],
|
|
319
|
+
"targets.type-check.options.cwd": [
|
|
320
|
+
"shared/testing/project.json",
|
|
321
|
+
"nx/core/project-json"
|
|
322
|
+
],
|
|
323
|
+
"targets.type-check.cache": [
|
|
324
|
+
"nx.json",
|
|
325
|
+
"nx/target-defaults"
|
|
326
|
+
],
|
|
327
|
+
"targets.type-check.inputs": [
|
|
328
|
+
"nx.json",
|
|
329
|
+
"nx/target-defaults"
|
|
330
|
+
],
|
|
331
|
+
"targets.type-check.parallelism": [
|
|
332
|
+
"nx.json",
|
|
333
|
+
"nx/target-defaults"
|
|
334
|
+
]
|
|
335
|
+
}
|
|
336
|
+
}
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"postinstall": "spectra sync-types"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@testspectra/cli": "^1.1.
|
|
16
|
-
"@testspectra/matchers": "^1.1.
|
|
15
|
+
"@testspectra/cli": "^1.1.10",
|
|
16
|
+
"@testspectra/matchers": "^1.1.10",
|
|
17
17
|
"@types/node": "^20.14.0",
|
|
18
18
|
"@wdio/cli": "^9.2.8",
|
|
19
19
|
"@wdio/local-runner": "^9.2.8",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@wdio/devtools-service": "^8.46.0",
|
|
22
22
|
"@wdio/globals": "^9.2.8",
|
|
23
23
|
"@wdio/mocha-framework": "^9.2.8",
|
|
24
|
-
"nx": "
|
|
24
|
+
"nx": "^20.8.4",
|
|
25
25
|
"typescript": "^5.4.5",
|
|
26
26
|
"webdriverio": "^9.2.8"
|
|
27
27
|
}
|