@wp-tester/config 0.0.5 → 0.1.0

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/schema.json CHANGED
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "ArrayBuffer": {
45
45
  "properties": {
46
- "__@toStringTag@642": {
46
+ "__@toStringTag@506": {
47
47
  "type": "string"
48
48
  },
49
49
  "byteLength": {
@@ -51,7 +51,7 @@
51
51
  }
52
52
  },
53
53
  "required": [
54
- "__@toStringTag@642",
54
+ "__@toStringTag@506",
55
55
  "byteLength"
56
56
  ],
57
57
  "type": "object"
@@ -66,1215 +66,1242 @@
66
66
  }
67
67
  ]
68
68
  },
69
- "Blueprint": {
69
+ "BaseReporterOptions": {
70
+ "description": "Base reporter options for filtering test results by status.\nAll options default to false - only explicitly enabled statuses are shown.",
71
+ "properties": {
72
+ "failed": {
73
+ "default": false,
74
+ "description": "Show failed tests in output",
75
+ "type": "boolean"
76
+ },
77
+ "other": {
78
+ "default": false,
79
+ "description": "Show other test statuses in output",
80
+ "type": "boolean"
81
+ },
82
+ "passed": {
83
+ "default": false,
84
+ "description": "Show passed tests in output",
85
+ "type": "boolean"
86
+ },
87
+ "pending": {
88
+ "default": false,
89
+ "description": "Show pending tests in output",
90
+ "type": "boolean"
91
+ },
92
+ "skipped": {
93
+ "default": false,
94
+ "description": "Show skipped tests in output",
95
+ "type": "boolean"
96
+ }
97
+ },
98
+ "type": "object"
99
+ },
100
+ "CpStep": {
101
+ "description": "cp",
102
+ "properties": {
103
+ "fromPath": {
104
+ "description": "Source path",
105
+ "type": "string"
106
+ },
107
+ "step": {
108
+ "const": "cp",
109
+ "type": "string"
110
+ },
111
+ "toPath": {
112
+ "description": "Target path",
113
+ "type": "string"
114
+ }
115
+ },
116
+ "required": [
117
+ "fromPath",
118
+ "step",
119
+ "toPath"
120
+ ],
121
+ "type": "object"
122
+ },
123
+ "DefineSiteUrlStep": {
124
+ "description": "Changes the site URL of the WordPress installation.defineSiteUrl",
125
+ "properties": {
126
+ "siteUrl": {
127
+ "description": "The URL",
128
+ "type": "string"
129
+ },
130
+ "step": {
131
+ "const": "defineSiteUrl",
132
+ "type": "string"
133
+ }
134
+ },
135
+ "required": [
136
+ "siteUrl",
137
+ "step"
138
+ ],
139
+ "type": "object"
140
+ },
141
+ "DefineWpConfigConstsStep": {
142
+ "description": "defineWpConfigConsts",
143
+ "properties": {
144
+ "consts": {
145
+ "$ref": "#/definitions/Record%3Cstring%2Cunknown%3E",
146
+ "description": "The constants to define"
147
+ },
148
+ "method": {
149
+ "description": "The method of defining the constants in wp-config.php. Possible values are:\n\n- rewrite-wp-config: Default. Rewrites the wp-config.php file to\n explicitly call define() with the requested\n name and value. This method alters the file\n on the disk, but it doesn't conflict with\n existing define() calls in wp-config.php.\n\n- define-before-run: Defines the constant before running the requested\n script. It doesn't alter any files on the disk, but\n constants defined this way may conflict with existing\n define() calls in wp-config.php.",
150
+ "enum": [
151
+ "define-before-run",
152
+ "rewrite-wp-config"
153
+ ],
154
+ "type": "string"
155
+ },
156
+ "step": {
157
+ "const": "defineWpConfigConsts",
158
+ "type": "string"
159
+ },
160
+ "virtualize": {
161
+ "type": "boolean"
162
+ }
163
+ },
164
+ "required": [
165
+ "consts",
166
+ "step"
167
+ ],
168
+ "type": "object"
169
+ },
170
+ "Directory": {
171
+ "properties": {
172
+ "files": {
173
+ "$ref": "#/definitions/FileTree"
174
+ },
175
+ "name": {
176
+ "type": "string"
177
+ }
178
+ },
179
+ "required": [
180
+ "files",
181
+ "name"
182
+ ],
183
+ "type": "object"
184
+ },
185
+ "DirectoryLiteralReference": {
186
+ "allOf": [
187
+ {
188
+ "$ref": "#/definitions/Directory"
189
+ },
190
+ {
191
+ "properties": {
192
+ "resource": {
193
+ "const": "literal:directory",
194
+ "description": "Identifies the file resource as a git directory",
195
+ "type": "string"
196
+ }
197
+ },
198
+ "required": [
199
+ "resource"
200
+ ],
201
+ "type": "object"
202
+ }
203
+ ]
204
+ },
205
+ "DirectoryReference": {
70
206
  "anyOf": [
71
207
  {
72
- "description": "The Blueprint declaration, typically stored in a blueprint.json file.",
73
208
  "properties": {
74
- "constants": {
75
- "$ref": "#/definitions/PHPConstants",
76
- "description": "PHP Constants to define on every request"
209
+ ".git": {
210
+ "description": "When true, include a `.git` directory with Git metadata (experimental).",
211
+ "type": "boolean"
77
212
  },
78
- "description": {
79
- "description": "Optional description. It doesn't do anything but is exposed as\na courtesy to developers who may want to document which blueprint\nfile does what.",
213
+ "path": {
214
+ "description": "The path to the directory in the git repository. Defaults to the repo root.",
80
215
  "type": "string"
81
216
  },
82
- "extraLibraries": {
83
- "description": "Extra libraries to preload into the Playground instance.",
84
- "items": {
85
- "const": "wp-cli",
86
- "type": "string"
87
- },
88
- "type": "array"
89
- },
90
- "features": {
91
- "properties": {
92
- "intl": {
93
- "type": "boolean"
94
- },
95
- "networking": {
96
- "description": "Should boot with support for network request via wp_safe_remote_get?",
97
- "type": "boolean"
98
- }
99
- },
100
- "type": "object"
101
- },
102
- "landingPage": {
103
- "description": "The URL to navigate to after the blueprint has been run.",
217
+ "ref": {
218
+ "description": "The ref (branch, tag, or commit) of the git repository",
104
219
  "type": "string"
105
220
  },
106
- "login": {
107
- "anyOf": [
108
- {
109
- "properties": {
110
- "password": {
111
- "type": "string"
112
- },
113
- "username": {
114
- "type": "string"
115
- }
116
- },
117
- "required": [
118
- "password",
119
- "username"
120
- ],
121
- "type": "object"
122
- },
123
- {
124
- "type": "boolean"
125
- }
221
+ "refType": {
222
+ "description": "Explicit hint about the ref type (branch, tag, commit, refname)",
223
+ "enum": [
224
+ "branch",
225
+ "commit",
226
+ "refname",
227
+ "tag"
126
228
  ],
127
- "description": "User to log in as.\nIf true, logs the user in as admin/password."
229
+ "type": "string"
230
+ },
231
+ "resource": {
232
+ "const": "git:directory",
233
+ "description": "Identifies the file resource as a git directory",
234
+ "type": "string"
128
235
  },
129
- "meta": {
130
- "description": "Optional metadata. Used by the Blueprints gallery at https://github.com/WordPress/blueprints",
236
+ "url": {
237
+ "description": "The URL of the git repository",
238
+ "type": "string"
239
+ }
240
+ },
241
+ "required": [
242
+ "ref",
243
+ "resource",
244
+ "url"
245
+ ],
246
+ "type": "object"
247
+ },
248
+ {
249
+ "$ref": "#/definitions/DirectoryLiteralReference"
250
+ }
251
+ ]
252
+ },
253
+ "EnableMultisiteStep": {
254
+ "description": "enableMultisite",
255
+ "properties": {
256
+ "step": {
257
+ "const": "enableMultisite",
258
+ "type": "string"
259
+ },
260
+ "wpCliPath": {
261
+ "description": "wp-cli.phar path",
262
+ "type": "string"
263
+ }
264
+ },
265
+ "required": [
266
+ "step"
267
+ ],
268
+ "type": "object"
269
+ },
270
+ "Environment": {
271
+ "description": "Test environment configuration.\nDefines a WordPress environment with specific versions and setup.",
272
+ "properties": {
273
+ "blueprint": {
274
+ "anyOf": [
275
+ {
276
+ "description": "The Blueprint declaration, typically stored in a blueprint.json file.",
131
277
  "properties": {
132
- "author": {
133
- "description": "A GitHub username of the author of this Blueprint.",
278
+ "constants": {
279
+ "$ref": "#/definitions/PHPConstants",
280
+ "description": "PHP Constants to define on every request"
281
+ },
282
+ "description": {
283
+ "description": "Optional description. It doesn't do anything but is exposed as\na courtesy to developers who may want to document which blueprint\nfile does what.",
134
284
  "type": "string"
135
285
  },
136
- "categories": {
137
- "description": "Relevant categories to help users find your Blueprint in the future\nBlueprints section on WordPress.org.",
286
+ "extraLibraries": {
287
+ "description": "Extra libraries to preload into the Playground instance.",
138
288
  "items": {
289
+ "const": "wp-cli",
139
290
  "type": "string"
140
291
  },
141
292
  "type": "array"
142
293
  },
143
- "description": {
144
- "description": "A brief explanation of what your Blueprint offers.",
145
- "type": "string"
146
- },
147
- "title": {
148
- "description": "A clear and concise name for your Blueprint.",
149
- "type": "string"
150
- }
151
- },
152
- "required": [
153
- "author",
154
- "title"
155
- ],
156
- "type": "object"
157
- },
158
- "phpExtensionBundles": {},
159
- "plugins": {
160
- "description": "WordPress plugins to install and activate",
161
- "items": {
162
- "anyOf": [
163
- {
164
- "properties": {
165
- "path": {
166
- "description": "The path to the file in the VFS",
167
- "type": "string"
168
- },
169
- "resource": {
170
- "const": "vfs",
171
- "description": "Identifies the file resource as Virtual File System (VFS)",
172
- "type": "string"
173
- }
174
- },
175
- "required": [
176
- "path",
177
- "resource"
178
- ],
179
- "type": "object"
180
- },
181
- {
182
- "properties": {
183
- "contents": {
184
- "anyOf": [
185
- {
186
- "additionalProperties": false,
187
- "patternProperties": {
188
- "^[0-9]+$": {
189
- "type": "number"
190
- }
191
- },
192
- "properties": {
193
- "BYTES_PER_ELEMENT": {
194
- "type": "number"
195
- },
196
- "__@toStringTag@642": {
197
- "const": "Uint8Array",
198
- "type": "string"
199
- },
200
- "buffer": {
201
- "$ref": "#/definitions/ArrayBufferLike"
202
- },
203
- "byteLength": {
204
- "type": "number"
205
- },
206
- "byteOffset": {
207
- "type": "number"
208
- },
209
- "length": {
210
- "type": "number"
211
- }
212
- },
213
- "required": [
214
- "BYTES_PER_ELEMENT",
215
- "__@toStringTag@642",
216
- "buffer",
217
- "byteLength",
218
- "byteOffset",
219
- "length"
220
- ],
221
- "type": "object"
222
- },
223
- {
224
- "type": "string"
225
- }
226
- ],
227
- "description": "The contents of the file"
228
- },
229
- "name": {
230
- "description": "The name of the file",
231
- "type": "string"
232
- },
233
- "resource": {
234
- "const": "literal",
235
- "description": "Identifies the file resource as a literal file",
236
- "type": "string"
237
- }
238
- },
239
- "required": [
240
- "contents",
241
- "name",
242
- "resource"
243
- ],
244
- "type": "object"
245
- },
246
- {
247
- "properties": {
248
- "resource": {
249
- "const": "wordpress.org/themes",
250
- "description": "Identifies the file resource as a WordPress Core theme",
251
- "type": "string"
252
- },
253
- "slug": {
254
- "description": "The slug of the WordPress Core theme",
255
- "type": "string"
256
- }
257
- },
258
- "required": [
259
- "resource",
260
- "slug"
261
- ],
262
- "type": "object"
263
- },
264
- {
265
- "properties": {
266
- "resource": {
267
- "const": "wordpress.org/plugins",
268
- "description": "Identifies the file resource as a WordPress Core plugin",
269
- "type": "string"
270
- },
271
- "slug": {
272
- "description": "The slug of the WordPress Core plugin",
273
- "type": "string"
274
- }
275
- },
276
- "required": [
277
- "resource",
278
- "slug"
279
- ],
280
- "type": "object"
281
- },
282
- {
283
- "properties": {
284
- "caption": {
285
- "description": "Optional caption for displaying a progress message",
286
- "type": "string"
287
- },
288
- "resource": {
289
- "const": "url",
290
- "description": "Identifies the file resource as a URL",
291
- "type": "string"
292
- },
293
- "url": {
294
- "description": "The URL of the file",
295
- "type": "string"
296
- }
294
+ "features": {
295
+ "properties": {
296
+ "intl": {
297
+ "type": "boolean"
297
298
  },
298
- "required": [
299
- "resource",
300
- "url"
301
- ],
302
- "type": "object"
299
+ "networking": {
300
+ "description": "Should boot with support for network request via wp_safe_remote_get?",
301
+ "type": "boolean"
302
+ }
303
303
  },
304
- {
305
- "properties": {
306
- "path": {
307
- "description": "The path to the file in the Blueprint",
308
- "type": "string"
304
+ "type": "object"
305
+ },
306
+ "landingPage": {
307
+ "description": "The URL to navigate to after the blueprint has been run.",
308
+ "type": "string"
309
+ },
310
+ "login": {
311
+ "anyOf": [
312
+ {
313
+ "properties": {
314
+ "password": {
315
+ "type": "string"
316
+ },
317
+ "username": {
318
+ "type": "string"
319
+ }
309
320
  },
310
- "resource": {
311
- "const": "bundled",
312
- "description": "Identifies the file resource as a Blueprint file",
313
- "type": "string"
314
- }
321
+ "required": [
322
+ "password",
323
+ "username"
324
+ ],
325
+ "type": "object"
315
326
  },
316
- "required": [
317
- "path",
318
- "resource"
319
- ],
320
- "type": "object"
321
- },
322
- {
323
- "type": "string"
324
- }
325
- ]
326
- },
327
- "type": "array"
328
- },
329
- "preferredVersions": {
330
- "description": "The preferred PHP and WordPress versions to use.",
331
- "properties": {
332
- "php": {
333
- "description": "The preferred PHP version to use.\nIf not specified, the latest supported version will be used",
334
- "enum": [
335
- "7.2",
336
- "7.3",
337
- "7.4",
338
- "8.0",
339
- "8.1",
340
- "8.2",
341
- "8.3",
342
- "8.4",
343
- "latest"
327
+ {
328
+ "type": "boolean"
329
+ }
344
330
  ],
345
- "type": "string"
346
- },
347
- "wp": {
348
- "description": "The preferred WordPress version to use.\nIf not specified, the latest supported version will be used",
349
- "type": "string"
350
- }
351
- },
352
- "required": [
353
- "php",
354
- "wp"
355
- ],
356
- "type": "object"
357
- },
358
- "siteOptions": {
359
- "allOf": [
360
- {
361
- "$ref": "#/definitions/Record%3Cstring%2Cstring%3E"
331
+ "description": "User to log in as.\nIf true, logs the user in as admin/password."
362
332
  },
363
- {
333
+ "meta": {
334
+ "description": "Optional metadata. Used by the Blueprints gallery at https://github.com/WordPress/blueprints",
364
335
  "properties": {
365
- "blogname": {
366
- "description": "The site title",
336
+ "author": {
337
+ "description": "A GitHub username of the author of this Blueprint.",
338
+ "type": "string"
339
+ },
340
+ "categories": {
341
+ "description": "Relevant categories to help users find your Blueprint in the future\nBlueprints section on WordPress.org.",
342
+ "items": {
343
+ "type": "string"
344
+ },
345
+ "type": "array"
346
+ },
347
+ "description": {
348
+ "description": "A brief explanation of what your Blueprint offers.",
349
+ "type": "string"
350
+ },
351
+ "title": {
352
+ "description": "A clear and concise name for your Blueprint.",
367
353
  "type": "string"
368
354
  }
369
355
  },
356
+ "required": [
357
+ "author",
358
+ "title"
359
+ ],
370
360
  "type": "object"
371
- }
372
- ],
373
- "description": "WordPress site options to define"
374
- },
375
- "steps": {
376
- "description": "The steps to run after every other operation in this Blueprint was\nexecuted.",
377
- "items": {
378
- "anyOf": [
379
- {
380
- "allOf": [
361
+ },
362
+ "phpExtensionBundles": {},
363
+ "plugins": {
364
+ "description": "WordPress plugins to install and activate",
365
+ "items": {
366
+ "anyOf": [
381
367
  {
382
- "$ref": "#/definitions/ActivatePluginStep"
368
+ "properties": {
369
+ "path": {
370
+ "description": "The path to the file in the VFS",
371
+ "type": "string"
372
+ },
373
+ "resource": {
374
+ "const": "vfs",
375
+ "description": "Identifies the file resource as Virtual File System (VFS)",
376
+ "type": "string"
377
+ }
378
+ },
379
+ "required": [
380
+ "path",
381
+ "resource"
382
+ ],
383
+ "type": "object"
383
384
  },
384
385
  {
385
386
  "properties": {
386
- "progress": {
387
- "properties": {
388
- "caption": {
389
- "type": "string"
387
+ "contents": {
388
+ "anyOf": [
389
+ {
390
+ "additionalProperties": false,
391
+ "patternProperties": {
392
+ "^[0-9]+$": {
393
+ "type": "number"
394
+ }
395
+ },
396
+ "properties": {
397
+ "BYTES_PER_ELEMENT": {
398
+ "type": "number"
399
+ },
400
+ "__@toStringTag@506": {
401
+ "const": "Uint8Array",
402
+ "type": "string"
403
+ },
404
+ "buffer": {
405
+ "$ref": "#/definitions/ArrayBufferLike"
406
+ },
407
+ "byteLength": {
408
+ "type": "number"
409
+ },
410
+ "byteOffset": {
411
+ "type": "number"
412
+ },
413
+ "length": {
414
+ "type": "number"
415
+ }
416
+ },
417
+ "required": [
418
+ "BYTES_PER_ELEMENT",
419
+ "__@toStringTag@506",
420
+ "buffer",
421
+ "byteLength",
422
+ "byteOffset",
423
+ "length"
424
+ ],
425
+ "type": "object"
390
426
  },
391
- "weight": {
392
- "type": "number"
427
+ {
428
+ "type": "string"
393
429
  }
394
- },
395
- "type": "object"
430
+ ],
431
+ "description": "The contents of the file"
432
+ },
433
+ "name": {
434
+ "description": "The name of the file",
435
+ "type": "string"
436
+ },
437
+ "resource": {
438
+ "const": "literal",
439
+ "description": "Identifies the file resource as a literal file",
440
+ "type": "string"
396
441
  }
397
442
  },
443
+ "required": [
444
+ "contents",
445
+ "name",
446
+ "resource"
447
+ ],
398
448
  "type": "object"
399
- }
400
- ]
401
- },
402
- {
403
- "allOf": [
449
+ },
404
450
  {
405
- "$ref": "#/definitions/ActivateThemeStep"
451
+ "properties": {
452
+ "resource": {
453
+ "const": "wordpress.org/themes",
454
+ "description": "Identifies the file resource as a WordPress Core theme",
455
+ "type": "string"
456
+ },
457
+ "slug": {
458
+ "description": "The slug of the WordPress Core theme",
459
+ "type": "string"
460
+ }
461
+ },
462
+ "required": [
463
+ "resource",
464
+ "slug"
465
+ ],
466
+ "type": "object"
406
467
  },
407
468
  {
408
469
  "properties": {
409
- "progress": {
410
- "properties": {
411
- "caption": {
412
- "type": "string"
413
- },
414
- "weight": {
415
- "type": "number"
416
- }
417
- },
418
- "type": "object"
470
+ "resource": {
471
+ "const": "wordpress.org/plugins",
472
+ "description": "Identifies the file resource as a WordPress Core plugin",
473
+ "type": "string"
474
+ },
475
+ "slug": {
476
+ "description": "The slug of the WordPress Core plugin",
477
+ "type": "string"
419
478
  }
420
479
  },
480
+ "required": [
481
+ "resource",
482
+ "slug"
483
+ ],
421
484
  "type": "object"
422
- }
423
- ]
424
- },
425
- {
426
- "allOf": [
485
+ },
427
486
  {
428
- "$ref": "#/definitions/CpStep"
487
+ "properties": {
488
+ "caption": {
489
+ "description": "Optional caption for displaying a progress message",
490
+ "type": "string"
491
+ },
492
+ "resource": {
493
+ "const": "url",
494
+ "description": "Identifies the file resource as a URL",
495
+ "type": "string"
496
+ },
497
+ "url": {
498
+ "description": "The URL of the file",
499
+ "type": "string"
500
+ }
501
+ },
502
+ "required": [
503
+ "resource",
504
+ "url"
505
+ ],
506
+ "type": "object"
429
507
  },
430
508
  {
431
509
  "properties": {
432
- "progress": {
433
- "properties": {
434
- "caption": {
435
- "type": "string"
436
- },
437
- "weight": {
438
- "type": "number"
439
- }
440
- },
441
- "type": "object"
510
+ "path": {
511
+ "description": "The path to the file in the Blueprint",
512
+ "type": "string"
513
+ },
514
+ "resource": {
515
+ "const": "bundled",
516
+ "description": "Identifies the file resource as a Blueprint file",
517
+ "type": "string"
442
518
  }
443
519
  },
520
+ "required": [
521
+ "path",
522
+ "resource"
523
+ ],
444
524
  "type": "object"
525
+ },
526
+ {
527
+ "type": "string"
445
528
  }
446
529
  ]
447
530
  },
448
- {
449
- "allOf": [
450
- {
451
- "$ref": "#/definitions/DefineWpConfigConstsStep"
531
+ "type": "array"
532
+ },
533
+ "preferredVersions": {
534
+ "description": "The preferred PHP and WordPress versions to use.",
535
+ "properties": {
536
+ "php": {
537
+ "description": "The preferred PHP version to use.\nIf not specified, the latest supported version will be used",
538
+ "enum": [
539
+ "7.2",
540
+ "7.3",
541
+ "7.4",
542
+ "8.0",
543
+ "8.1",
544
+ "8.2",
545
+ "8.3",
546
+ "8.4",
547
+ "latest"
548
+ ],
549
+ "type": "string"
550
+ },
551
+ "wp": {
552
+ "description": "The preferred WordPress version to use.\nIf not specified, the latest supported version will be used",
553
+ "type": "string"
554
+ }
555
+ },
556
+ "required": [
557
+ "php",
558
+ "wp"
559
+ ],
560
+ "type": "object"
561
+ },
562
+ "siteOptions": {
563
+ "allOf": [
564
+ {
565
+ "$ref": "#/definitions/Record%3Cstring%2Cstring%3E"
566
+ },
567
+ {
568
+ "properties": {
569
+ "blogname": {
570
+ "description": "The site title",
571
+ "type": "string"
572
+ }
452
573
  },
574
+ "type": "object"
575
+ }
576
+ ],
577
+ "description": "WordPress site options to define"
578
+ },
579
+ "steps": {
580
+ "description": "The steps to run after every other operation in this Blueprint was\nexecuted.",
581
+ "items": {
582
+ "anyOf": [
453
583
  {
454
- "properties": {
455
- "progress": {
584
+ "allOf": [
585
+ {
586
+ "$ref": "#/definitions/ActivatePluginStep"
587
+ },
588
+ {
456
589
  "properties": {
457
- "caption": {
458
- "type": "string"
459
- },
460
- "weight": {
461
- "type": "number"
590
+ "progress": {
591
+ "properties": {
592
+ "caption": {
593
+ "type": "string"
594
+ },
595
+ "weight": {
596
+ "type": "number"
597
+ }
598
+ },
599
+ "type": "object"
462
600
  }
463
601
  },
464
602
  "type": "object"
465
603
  }
466
- },
467
- "type": "object"
468
- }
469
- ]
470
- },
471
- {
472
- "allOf": [
473
- {
474
- "$ref": "#/definitions/DefineSiteUrlStep"
604
+ ]
475
605
  },
476
606
  {
477
- "properties": {
478
- "progress": {
607
+ "allOf": [
608
+ {
609
+ "$ref": "#/definitions/ActivateThemeStep"
610
+ },
611
+ {
479
612
  "properties": {
480
- "caption": {
481
- "type": "string"
482
- },
483
- "weight": {
484
- "type": "number"
613
+ "progress": {
614
+ "properties": {
615
+ "caption": {
616
+ "type": "string"
617
+ },
618
+ "weight": {
619
+ "type": "number"
620
+ }
621
+ },
622
+ "type": "object"
485
623
  }
486
624
  },
487
625
  "type": "object"
488
626
  }
489
- },
490
- "type": "object"
491
- }
492
- ]
493
- },
494
- {
495
- "allOf": [
496
- {
497
- "$ref": "#/definitions/EnableMultisiteStep"
627
+ ]
498
628
  },
499
629
  {
500
- "properties": {
501
- "progress": {
630
+ "allOf": [
631
+ {
632
+ "$ref": "#/definitions/CpStep"
633
+ },
634
+ {
502
635
  "properties": {
503
- "caption": {
504
- "type": "string"
505
- },
506
- "weight": {
507
- "type": "number"
636
+ "progress": {
637
+ "properties": {
638
+ "caption": {
639
+ "type": "string"
640
+ },
641
+ "weight": {
642
+ "type": "number"
643
+ }
644
+ },
645
+ "type": "object"
508
646
  }
509
647
  },
510
648
  "type": "object"
511
649
  }
512
- },
513
- "type": "object"
514
- }
515
- ]
516
- },
517
- {
518
- "allOf": [
519
- {
520
- "$ref": "#/definitions/ImportThemeStarterContentStep"
650
+ ]
521
651
  },
522
652
  {
523
- "properties": {
524
- "progress": {
653
+ "allOf": [
654
+ {
655
+ "$ref": "#/definitions/DefineWpConfigConstsStep"
656
+ },
657
+ {
525
658
  "properties": {
526
- "caption": {
527
- "type": "string"
528
- },
529
- "weight": {
530
- "type": "number"
659
+ "progress": {
660
+ "properties": {
661
+ "caption": {
662
+ "type": "string"
663
+ },
664
+ "weight": {
665
+ "type": "number"
666
+ }
667
+ },
668
+ "type": "object"
531
669
  }
532
670
  },
533
671
  "type": "object"
534
672
  }
535
- },
536
- "type": "object"
537
- }
538
- ]
539
- },
540
- {
541
- "allOf": [
673
+ ]
674
+ },
542
675
  {
543
- "description": "login",
544
- "properties": {
545
- "password": {
546
- "type": "string"
547
- },
548
- "step": {
549
- "const": "login",
550
- "type": "string"
676
+ "allOf": [
677
+ {
678
+ "$ref": "#/definitions/DefineSiteUrlStep"
551
679
  },
552
- "username": {
553
- "description": "The user to log in as. Defaults to 'admin'.",
554
- "type": "string"
680
+ {
681
+ "properties": {
682
+ "progress": {
683
+ "properties": {
684
+ "caption": {
685
+ "type": "string"
686
+ },
687
+ "weight": {
688
+ "type": "number"
689
+ }
690
+ },
691
+ "type": "object"
692
+ }
693
+ },
694
+ "type": "object"
555
695
  }
556
- },
557
- "required": [
558
- "step"
559
- ],
560
- "type": "object"
696
+ ]
561
697
  },
562
698
  {
563
- "properties": {
564
- "progress": {
699
+ "allOf": [
700
+ {
701
+ "$ref": "#/definitions/EnableMultisiteStep"
702
+ },
703
+ {
565
704
  "properties": {
566
- "caption": {
567
- "type": "string"
568
- },
569
- "weight": {
570
- "type": "number"
705
+ "progress": {
706
+ "properties": {
707
+ "caption": {
708
+ "type": "string"
709
+ },
710
+ "weight": {
711
+ "type": "number"
712
+ }
713
+ },
714
+ "type": "object"
571
715
  }
572
716
  },
573
717
  "type": "object"
574
718
  }
575
- },
576
- "type": "object"
577
- }
578
- ]
579
- },
580
- {
581
- "allOf": [
719
+ ]
720
+ },
582
721
  {
583
- "$ref": "#/definitions/MkdirStep"
722
+ "allOf": [
723
+ {
724
+ "$ref": "#/definitions/ImportThemeStarterContentStep"
725
+ },
726
+ {
727
+ "properties": {
728
+ "progress": {
729
+ "properties": {
730
+ "caption": {
731
+ "type": "string"
732
+ },
733
+ "weight": {
734
+ "type": "number"
735
+ }
736
+ },
737
+ "type": "object"
738
+ }
739
+ },
740
+ "type": "object"
741
+ }
742
+ ]
584
743
  },
585
744
  {
586
- "properties": {
587
- "progress": {
745
+ "allOf": [
746
+ {
747
+ "description": "login",
588
748
  "properties": {
589
- "caption": {
749
+ "password": {
750
+ "type": "string"
751
+ },
752
+ "step": {
753
+ "const": "login",
590
754
  "type": "string"
591
755
  },
592
- "weight": {
593
- "type": "number"
756
+ "username": {
757
+ "description": "The user to log in as. Defaults to 'admin'.",
758
+ "type": "string"
594
759
  }
595
760
  },
761
+ "required": [
762
+ "step"
763
+ ],
596
764
  "type": "object"
597
- }
598
- },
599
- "type": "object"
600
- }
601
- ]
602
- },
603
- {
604
- "allOf": [
605
- {
606
- "$ref": "#/definitions/MvStep"
765
+ },
766
+ {
767
+ "properties": {
768
+ "progress": {
769
+ "properties": {
770
+ "caption": {
771
+ "type": "string"
772
+ },
773
+ "weight": {
774
+ "type": "number"
775
+ }
776
+ },
777
+ "type": "object"
778
+ }
779
+ },
780
+ "type": "object"
781
+ }
782
+ ]
607
783
  },
608
784
  {
609
- "properties": {
610
- "progress": {
785
+ "allOf": [
786
+ {
787
+ "$ref": "#/definitions/MkdirStep"
788
+ },
789
+ {
611
790
  "properties": {
612
- "caption": {
613
- "type": "string"
614
- },
615
- "weight": {
616
- "type": "number"
791
+ "progress": {
792
+ "properties": {
793
+ "caption": {
794
+ "type": "string"
795
+ },
796
+ "weight": {
797
+ "type": "number"
798
+ }
799
+ },
800
+ "type": "object"
617
801
  }
618
802
  },
619
803
  "type": "object"
620
804
  }
621
- },
622
- "type": "object"
623
- }
624
- ]
625
- },
626
- {
627
- "allOf": [
628
- {
629
- "$ref": "#/definitions/ResetDataStep"
805
+ ]
630
806
  },
631
807
  {
632
- "properties": {
633
- "progress": {
808
+ "allOf": [
809
+ {
810
+ "$ref": "#/definitions/MvStep"
811
+ },
812
+ {
634
813
  "properties": {
635
- "caption": {
636
- "type": "string"
637
- },
638
- "weight": {
639
- "type": "number"
814
+ "progress": {
815
+ "properties": {
816
+ "caption": {
817
+ "type": "string"
818
+ },
819
+ "weight": {
820
+ "type": "number"
821
+ }
822
+ },
823
+ "type": "object"
640
824
  }
641
825
  },
642
826
  "type": "object"
643
827
  }
644
- },
645
- "type": "object"
646
- }
647
- ]
648
- },
649
- {
650
- "allOf": [
651
- {
652
- "$ref": "#/definitions/RequestStep"
828
+ ]
653
829
  },
654
830
  {
655
- "properties": {
656
- "progress": {
831
+ "allOf": [
832
+ {
833
+ "$ref": "#/definitions/ResetDataStep"
834
+ },
835
+ {
657
836
  "properties": {
658
- "caption": {
659
- "type": "string"
660
- },
661
- "weight": {
662
- "type": "number"
837
+ "progress": {
838
+ "properties": {
839
+ "caption": {
840
+ "type": "string"
841
+ },
842
+ "weight": {
843
+ "type": "number"
844
+ }
845
+ },
846
+ "type": "object"
663
847
  }
664
848
  },
665
849
  "type": "object"
666
850
  }
667
- },
668
- "type": "object"
669
- }
670
- ]
671
- },
672
- {
673
- "allOf": [
674
- {
675
- "$ref": "#/definitions/RmStep"
851
+ ]
676
852
  },
677
853
  {
678
- "properties": {
679
- "progress": {
854
+ "allOf": [
855
+ {
856
+ "$ref": "#/definitions/RequestStep"
857
+ },
858
+ {
680
859
  "properties": {
681
- "caption": {
682
- "type": "string"
683
- },
684
- "weight": {
685
- "type": "number"
860
+ "progress": {
861
+ "properties": {
862
+ "caption": {
863
+ "type": "string"
864
+ },
865
+ "weight": {
866
+ "type": "number"
867
+ }
868
+ },
869
+ "type": "object"
686
870
  }
687
871
  },
688
872
  "type": "object"
689
873
  }
690
- },
691
- "type": "object"
692
- }
693
- ]
694
- },
695
- {
696
- "allOf": [
697
- {
698
- "$ref": "#/definitions/RmdirStep"
874
+ ]
699
875
  },
700
876
  {
701
- "properties": {
702
- "progress": {
877
+ "allOf": [
878
+ {
879
+ "$ref": "#/definitions/RmStep"
880
+ },
881
+ {
703
882
  "properties": {
704
- "caption": {
705
- "type": "string"
706
- },
707
- "weight": {
708
- "type": "number"
883
+ "progress": {
884
+ "properties": {
885
+ "caption": {
886
+ "type": "string"
887
+ },
888
+ "weight": {
889
+ "type": "number"
890
+ }
891
+ },
892
+ "type": "object"
709
893
  }
710
894
  },
711
895
  "type": "object"
712
896
  }
713
- },
714
- "type": "object"
715
- }
716
- ]
717
- },
718
- {
719
- "allOf": [
720
- {
721
- "$ref": "#/definitions/RunPHPStep"
897
+ ]
722
898
  },
723
899
  {
724
- "properties": {
725
- "progress": {
900
+ "allOf": [
901
+ {
902
+ "$ref": "#/definitions/RmdirStep"
903
+ },
904
+ {
726
905
  "properties": {
727
- "caption": {
728
- "type": "string"
729
- },
730
- "weight": {
731
- "type": "number"
906
+ "progress": {
907
+ "properties": {
908
+ "caption": {
909
+ "type": "string"
910
+ },
911
+ "weight": {
912
+ "type": "number"
913
+ }
914
+ },
915
+ "type": "object"
732
916
  }
733
917
  },
734
918
  "type": "object"
735
919
  }
736
- },
737
- "type": "object"
738
- }
739
- ]
740
- },
741
- {
742
- "allOf": [
743
- {
744
- "$ref": "#/definitions/RunPHPWithOptionsStep"
920
+ ]
745
921
  },
746
922
  {
747
- "properties": {
748
- "progress": {
923
+ "allOf": [
924
+ {
925
+ "$ref": "#/definitions/RunPHPStep"
926
+ },
927
+ {
749
928
  "properties": {
750
- "caption": {
751
- "type": "string"
752
- },
753
- "weight": {
754
- "type": "number"
929
+ "progress": {
930
+ "properties": {
931
+ "caption": {
932
+ "type": "string"
933
+ },
934
+ "weight": {
935
+ "type": "number"
936
+ }
937
+ },
938
+ "type": "object"
755
939
  }
756
940
  },
757
941
  "type": "object"
758
942
  }
759
- },
760
- "type": "object"
761
- }
762
- ]
763
- },
764
- {
765
- "allOf": [
766
- {
767
- "$ref": "#/definitions/RunWpInstallationWizardStep"
943
+ ]
768
944
  },
769
945
  {
770
- "properties": {
771
- "progress": {
946
+ "allOf": [
947
+ {
948
+ "$ref": "#/definitions/RunPHPWithOptionsStep"
949
+ },
950
+ {
772
951
  "properties": {
773
- "caption": {
774
- "type": "string"
775
- },
776
- "weight": {
777
- "type": "number"
952
+ "progress": {
953
+ "properties": {
954
+ "caption": {
955
+ "type": "string"
956
+ },
957
+ "weight": {
958
+ "type": "number"
959
+ }
960
+ },
961
+ "type": "object"
778
962
  }
779
963
  },
780
964
  "type": "object"
781
965
  }
782
- },
783
- "type": "object"
784
- }
785
- ]
786
- },
787
- {
788
- "allOf": [
966
+ ]
967
+ },
789
968
  {
790
- "description": "setSiteOptions",
791
- "properties": {
792
- "options": {
793
- "$ref": "#/definitions/Record%3Cstring%2Cunknown%3E",
794
- "description": "The options to set on the site."
969
+ "allOf": [
970
+ {
971
+ "$ref": "#/definitions/RunWpInstallationWizardStep"
795
972
  },
796
- "step": {
797
- "const": "setSiteOptions",
798
- "description": "The name of the step. Must be \"setSiteOptions\".",
799
- "type": "string"
973
+ {
974
+ "properties": {
975
+ "progress": {
976
+ "properties": {
977
+ "caption": {
978
+ "type": "string"
979
+ },
980
+ "weight": {
981
+ "type": "number"
982
+ }
983
+ },
984
+ "type": "object"
985
+ }
986
+ },
987
+ "type": "object"
800
988
  }
801
- },
802
- "required": [
803
- "options",
804
- "step"
805
- ],
806
- "type": "object"
989
+ ]
807
990
  },
808
991
  {
809
- "properties": {
810
- "progress": {
992
+ "allOf": [
993
+ {
994
+ "description": "setSiteOptions",
811
995
  "properties": {
812
- "caption": {
813
- "type": "string"
996
+ "options": {
997
+ "$ref": "#/definitions/Record%3Cstring%2Cunknown%3E",
998
+ "description": "The options to set on the site."
814
999
  },
815
- "weight": {
816
- "type": "number"
1000
+ "step": {
1001
+ "const": "setSiteOptions",
1002
+ "description": "The name of the step. Must be \"setSiteOptions\".",
1003
+ "type": "string"
1004
+ }
1005
+ },
1006
+ "required": [
1007
+ "options",
1008
+ "step"
1009
+ ],
1010
+ "type": "object"
1011
+ },
1012
+ {
1013
+ "properties": {
1014
+ "progress": {
1015
+ "properties": {
1016
+ "caption": {
1017
+ "type": "string"
1018
+ },
1019
+ "weight": {
1020
+ "type": "number"
1021
+ }
1022
+ },
1023
+ "type": "object"
817
1024
  }
818
1025
  },
819
1026
  "type": "object"
820
1027
  }
821
- },
822
- "type": "object"
823
- }
824
- ]
825
- },
826
- {
827
- "allOf": [
828
- {
829
- "$ref": "#/definitions/UpdateUserMetaStep"
1028
+ ]
830
1029
  },
831
1030
  {
832
- "properties": {
833
- "progress": {
1031
+ "allOf": [
1032
+ {
1033
+ "$ref": "#/definitions/UpdateUserMetaStep"
1034
+ },
1035
+ {
834
1036
  "properties": {
835
- "caption": {
836
- "type": "string"
837
- },
838
- "weight": {
839
- "type": "number"
1037
+ "progress": {
1038
+ "properties": {
1039
+ "caption": {
1040
+ "type": "string"
1041
+ },
1042
+ "weight": {
1043
+ "type": "number"
1044
+ }
1045
+ },
1046
+ "type": "object"
840
1047
  }
841
1048
  },
842
1049
  "type": "object"
843
1050
  }
844
- },
845
- "type": "object"
846
- }
847
- ]
848
- },
849
- {
850
- "allOf": [
851
- {
852
- "$ref": "#/definitions/WPCLIStep"
1051
+ ]
853
1052
  },
854
1053
  {
855
- "properties": {
856
- "progress": {
1054
+ "allOf": [
1055
+ {
1056
+ "$ref": "#/definitions/WPCLIStep"
1057
+ },
1058
+ {
857
1059
  "properties": {
858
- "caption": {
859
- "type": "string"
860
- },
861
- "weight": {
862
- "type": "number"
1060
+ "progress": {
1061
+ "properties": {
1062
+ "caption": {
1063
+ "type": "string"
1064
+ },
1065
+ "weight": {
1066
+ "type": "number"
1067
+ }
1068
+ },
1069
+ "type": "object"
863
1070
  }
864
1071
  },
865
1072
  "type": "object"
866
1073
  }
867
- },
868
- "type": "object"
869
- }
870
- ]
871
- },
872
- {
873
- "allOf": [
874
- {
875
- "$ref": "#/definitions/SetSiteLanguageStep"
1074
+ ]
876
1075
  },
877
1076
  {
878
- "properties": {
879
- "progress": {
1077
+ "allOf": [
1078
+ {
1079
+ "$ref": "#/definitions/SetSiteLanguageStep"
1080
+ },
1081
+ {
880
1082
  "properties": {
881
- "caption": {
882
- "type": "string"
883
- },
884
- "weight": {
885
- "type": "number"
1083
+ "progress": {
1084
+ "properties": {
1085
+ "caption": {
1086
+ "type": "string"
1087
+ },
1088
+ "weight": {
1089
+ "type": "number"
1090
+ }
1091
+ },
1092
+ "type": "object"
886
1093
  }
887
1094
  },
888
1095
  "type": "object"
889
1096
  }
890
- },
891
- "type": "object"
892
- }
893
- ]
894
- },
895
- {
896
- "allOf": [
897
- {
898
- "$ref": "#/definitions/ImportWxrStep%3CFileReference%3E"
1097
+ ]
899
1098
  },
900
1099
  {
901
- "properties": {
902
- "progress": {
1100
+ "allOf": [
1101
+ {
1102
+ "$ref": "#/definitions/ImportWxrStep%3CFileReference%3E"
1103
+ },
1104
+ {
903
1105
  "properties": {
904
- "caption": {
905
- "type": "string"
906
- },
907
- "weight": {
908
- "type": "number"
1106
+ "progress": {
1107
+ "properties": {
1108
+ "caption": {
1109
+ "type": "string"
1110
+ },
1111
+ "weight": {
1112
+ "type": "number"
1113
+ }
1114
+ },
1115
+ "type": "object"
909
1116
  }
910
1117
  },
911
1118
  "type": "object"
912
1119
  }
913
- },
914
- "type": "object"
915
- }
916
- ]
917
- },
918
- {
919
- "allOf": [
920
- {
921
- "$ref": "#/definitions/ImportWordPressFilesStep%3CFileReference%3E"
1120
+ ]
922
1121
  },
923
1122
  {
924
- "properties": {
925
- "progress": {
1123
+ "allOf": [
1124
+ {
1125
+ "$ref": "#/definitions/ImportWordPressFilesStep%3CFileReference%3E"
1126
+ },
1127
+ {
926
1128
  "properties": {
927
- "caption": {
928
- "type": "string"
929
- },
930
- "weight": {
931
- "type": "number"
1129
+ "progress": {
1130
+ "properties": {
1131
+ "caption": {
1132
+ "type": "string"
1133
+ },
1134
+ "weight": {
1135
+ "type": "number"
1136
+ }
1137
+ },
1138
+ "type": "object"
932
1139
  }
933
1140
  },
934
1141
  "type": "object"
935
1142
  }
936
- },
937
- "type": "object"
938
- }
939
- ]
940
- },
941
- {
942
- "allOf": [
943
- {
944
- "$ref": "#/definitions/InstallPluginStep%3CFileReference%2CDirectoryReference%3E"
1143
+ ]
945
1144
  },
946
1145
  {
947
- "properties": {
948
- "progress": {
1146
+ "allOf": [
1147
+ {
1148
+ "$ref": "#/definitions/InstallPluginStep%3CFileReference%2CDirectoryReference%3E"
1149
+ },
1150
+ {
949
1151
  "properties": {
950
- "caption": {
951
- "type": "string"
952
- },
953
- "weight": {
954
- "type": "number"
1152
+ "progress": {
1153
+ "properties": {
1154
+ "caption": {
1155
+ "type": "string"
1156
+ },
1157
+ "weight": {
1158
+ "type": "number"
1159
+ }
1160
+ },
1161
+ "type": "object"
955
1162
  }
956
1163
  },
957
1164
  "type": "object"
958
1165
  }
959
- },
960
- "type": "object"
961
- }
962
- ]
963
- },
964
- {
965
- "allOf": [
966
- {
967
- "$ref": "#/definitions/InstallThemeStep%3CFileReference%2CDirectoryReference%3E"
1166
+ ]
968
1167
  },
969
1168
  {
970
- "properties": {
971
- "progress": {
1169
+ "allOf": [
1170
+ {
1171
+ "$ref": "#/definitions/InstallThemeStep%3CFileReference%2CDirectoryReference%3E"
1172
+ },
1173
+ {
972
1174
  "properties": {
973
- "caption": {
974
- "type": "string"
975
- },
976
- "weight": {
977
- "type": "number"
1175
+ "progress": {
1176
+ "properties": {
1177
+ "caption": {
1178
+ "type": "string"
1179
+ },
1180
+ "weight": {
1181
+ "type": "number"
1182
+ }
1183
+ },
1184
+ "type": "object"
978
1185
  }
979
1186
  },
980
1187
  "type": "object"
981
1188
  }
982
- },
983
- "type": "object"
984
- }
985
- ]
986
- },
987
- {
988
- "allOf": [
989
- {
990
- "$ref": "#/definitions/RunSqlStep%3CFileReference%3E"
1189
+ ]
991
1190
  },
992
1191
  {
993
- "properties": {
994
- "progress": {
1192
+ "allOf": [
1193
+ {
1194
+ "$ref": "#/definitions/RunSqlStep%3CFileReference%3E"
1195
+ },
1196
+ {
995
1197
  "properties": {
996
- "caption": {
997
- "type": "string"
998
- },
999
- "weight": {
1000
- "type": "number"
1198
+ "progress": {
1199
+ "properties": {
1200
+ "caption": {
1201
+ "type": "string"
1202
+ },
1203
+ "weight": {
1204
+ "type": "number"
1205
+ }
1206
+ },
1207
+ "type": "object"
1001
1208
  }
1002
1209
  },
1003
1210
  "type": "object"
1004
1211
  }
1005
- },
1006
- "type": "object"
1007
- }
1008
- ]
1009
- },
1010
- {
1011
- "allOf": [
1012
- {
1013
- "$ref": "#/definitions/UnzipStep%3CFileReference%3E"
1212
+ ]
1014
1213
  },
1015
1214
  {
1016
- "properties": {
1017
- "progress": {
1215
+ "allOf": [
1216
+ {
1217
+ "$ref": "#/definitions/UnzipStep%3CFileReference%3E"
1218
+ },
1219
+ {
1018
1220
  "properties": {
1019
- "caption": {
1020
- "type": "string"
1021
- },
1022
- "weight": {
1023
- "type": "number"
1221
+ "progress": {
1222
+ "properties": {
1223
+ "caption": {
1224
+ "type": "string"
1225
+ },
1226
+ "weight": {
1227
+ "type": "number"
1228
+ }
1229
+ },
1230
+ "type": "object"
1024
1231
  }
1025
1232
  },
1026
1233
  "type": "object"
1027
1234
  }
1028
- },
1029
- "type": "object"
1030
- }
1031
- ]
1032
- },
1033
- {
1034
- "allOf": [
1035
- {
1036
- "$ref": "#/definitions/WriteFileStep%3CFileReference%3E"
1235
+ ]
1037
1236
  },
1038
1237
  {
1039
- "properties": {
1040
- "progress": {
1238
+ "allOf": [
1239
+ {
1240
+ "$ref": "#/definitions/WriteFileStep%3CFileReference%3E"
1241
+ },
1242
+ {
1041
1243
  "properties": {
1042
- "caption": {
1043
- "type": "string"
1044
- },
1045
- "weight": {
1046
- "type": "number"
1244
+ "progress": {
1245
+ "properties": {
1246
+ "caption": {
1247
+ "type": "string"
1248
+ },
1249
+ "weight": {
1250
+ "type": "number"
1251
+ }
1252
+ },
1253
+ "type": "object"
1047
1254
  }
1048
1255
  },
1049
1256
  "type": "object"
1050
1257
  }
1051
- },
1052
- "type": "object"
1053
- }
1054
- ]
1055
- },
1056
- {
1057
- "allOf": [
1058
- {
1059
- "$ref": "#/definitions/WriteFilesStep%3CDirectoryReference%3E"
1258
+ ]
1060
1259
  },
1061
1260
  {
1062
- "properties": {
1063
- "progress": {
1261
+ "allOf": [
1262
+ {
1263
+ "$ref": "#/definitions/WriteFilesStep%3CDirectoryReference%3E"
1264
+ },
1265
+ {
1064
1266
  "properties": {
1065
- "caption": {
1066
- "type": "string"
1067
- },
1068
- "weight": {
1069
- "type": "number"
1267
+ "progress": {
1268
+ "properties": {
1269
+ "caption": {
1270
+ "type": "string"
1271
+ },
1272
+ "weight": {
1273
+ "type": "number"
1274
+ }
1275
+ },
1276
+ "type": "object"
1070
1277
  }
1071
1278
  },
1072
1279
  "type": "object"
1073
- }
1074
- },
1075
- "type": "object"
1280
+ }
1281
+ ]
1282
+ },
1283
+ {
1284
+ "const": false,
1285
+ "type": "boolean"
1286
+ },
1287
+ {
1288
+ "type": [
1289
+ "null",
1290
+ "string"
1291
+ ]
1076
1292
  }
1077
1293
  ]
1078
1294
  },
1079
- {
1080
- "const": false,
1081
- "type": "boolean"
1082
- },
1083
- {
1084
- "type": [
1085
- "null",
1086
- "string"
1087
- ]
1088
- }
1089
- ]
1295
+ "type": "array"
1296
+ }
1090
1297
  },
1091
- "type": "array"
1092
- }
1093
- },
1094
- "type": "object"
1095
- },
1096
- {
1097
- "type": "string"
1098
- }
1099
- ],
1100
- "description": "WordPress Playground Blueprint configuration.\nCan be either an inline blueprint object or a file path to a blueprint JSON file."
1101
- },
1102
- "CpStep": {
1103
- "description": "cp",
1104
- "properties": {
1105
- "fromPath": {
1106
- "description": "Source path",
1107
- "type": "string"
1108
- },
1109
- "step": {
1110
- "const": "cp",
1111
- "type": "string"
1112
- },
1113
- "toPath": {
1114
- "description": "Target path",
1115
- "type": "string"
1116
- }
1117
- },
1118
- "required": [
1119
- "fromPath",
1120
- "step",
1121
- "toPath"
1122
- ],
1123
- "type": "object"
1124
- },
1125
- "DefineSiteUrlStep": {
1126
- "description": "Changes the site URL of the WordPress installation.defineSiteUrl",
1127
- "properties": {
1128
- "siteUrl": {
1129
- "description": "The URL",
1130
- "type": "string"
1131
- },
1132
- "step": {
1133
- "const": "defineSiteUrl",
1134
- "type": "string"
1135
- }
1136
- },
1137
- "required": [
1138
- "siteUrl",
1139
- "step"
1140
- ],
1141
- "type": "object"
1142
- },
1143
- "DefineWpConfigConstsStep": {
1144
- "description": "defineWpConfigConsts",
1145
- "properties": {
1146
- "consts": {
1147
- "$ref": "#/definitions/Record%3Cstring%2Cunknown%3E",
1148
- "description": "The constants to define"
1149
- },
1150
- "method": {
1151
- "description": "The method of defining the constants in wp-config.php. Possible values are:\n\n- rewrite-wp-config: Default. Rewrites the wp-config.php file to\n explicitly call define() with the requested\n name and value. This method alters the file\n on the disk, but it doesn't conflict with\n existing define() calls in wp-config.php.\n\n- define-before-run: Defines the constant before running the requested\n script. It doesn't alter any files on the disk, but\n constants defined this way may conflict with existing\n define() calls in wp-config.php.",
1152
- "enum": [
1153
- "define-before-run",
1154
- "rewrite-wp-config"
1155
- ],
1156
- "type": "string"
1157
- },
1158
- "step": {
1159
- "const": "defineWpConfigConsts",
1160
- "type": "string"
1161
- },
1162
- "virtualize": {
1163
- "type": "boolean"
1164
- }
1165
- },
1166
- "required": [
1167
- "consts",
1168
- "step"
1169
- ],
1170
- "type": "object"
1171
- },
1172
- "Directory": {
1173
- "properties": {
1174
- "files": {
1175
- "$ref": "#/definitions/FileTree"
1176
- },
1177
- "name": {
1178
- "type": "string"
1179
- }
1180
- },
1181
- "required": [
1182
- "files",
1183
- "name"
1184
- ],
1185
- "type": "object"
1186
- },
1187
- "DirectoryLiteralReference": {
1188
- "allOf": [
1189
- {
1190
- "$ref": "#/definitions/Directory"
1191
- },
1192
- {
1193
- "properties": {
1194
- "resource": {
1195
- "const": "literal:directory",
1196
- "description": "Identifies the file resource as a git directory",
1197
- "type": "string"
1198
- }
1199
- },
1200
- "required": [
1201
- "resource"
1202
- ],
1203
- "type": "object"
1204
- }
1205
- ]
1206
- },
1207
- "DirectoryReference": {
1208
- "anyOf": [
1209
- {
1210
- "properties": {
1211
- ".git": {
1212
- "description": "When true, include a `.git` directory with Git metadata (experimental).",
1213
- "type": "boolean"
1214
- },
1215
- "path": {
1216
- "description": "The path to the directory in the git repository. Defaults to the repo root.",
1217
- "type": "string"
1218
- },
1219
- "ref": {
1220
- "description": "The ref (branch, tag, or commit) of the git repository",
1221
- "type": "string"
1222
- },
1223
- "refType": {
1224
- "description": "Explicit hint about the ref type (branch, tag, commit, refname)",
1225
- "enum": [
1226
- "branch",
1227
- "commit",
1228
- "refname",
1229
- "tag"
1230
- ],
1231
- "type": "string"
1232
- },
1233
- "resource": {
1234
- "const": "git:directory",
1235
- "description": "Identifies the file resource as a git directory",
1236
- "type": "string"
1298
+ "type": "object"
1237
1299
  },
1238
- "url": {
1239
- "description": "The URL of the git repository",
1300
+ {
1240
1301
  "type": "string"
1241
1302
  }
1242
- },
1243
- "required": [
1244
- "ref",
1245
- "resource",
1246
- "url"
1247
1303
  ],
1248
- "type": "object"
1249
- },
1250
- {
1251
- "$ref": "#/definitions/DirectoryLiteralReference"
1252
- }
1253
- ]
1254
- },
1255
- "EnableMultisiteStep": {
1256
- "description": "enableMultisite",
1257
- "properties": {
1258
- "step": {
1259
- "const": "enableMultisite",
1260
- "type": "string"
1261
- },
1262
- "wpCliPath": {
1263
- "description": "wp-cli.phar path",
1264
- "type": "string"
1265
- }
1266
- },
1267
- "required": [
1268
- "step"
1269
- ],
1270
- "type": "object"
1271
- },
1272
- "Environment": {
1273
- "description": "Test environment configuration.\nDefines a WordPress environment with specific versions and setup.",
1274
- "properties": {
1275
- "blueprint": {
1276
- "$ref": "#/definitions/Blueprint",
1277
- "description": "WordPress Playground Blueprint configuration.\nCan be an inline blueprint object or a file path to a blueprint JSON file."
1304
+ "description": "WordPress Playground Blueprint configuration.\nCan be an inline blueprint object or a file path to a blueprint JSON file.\nIf not specified, a default blueprint will be created using the php and wp version settings."
1278
1305
  },
1279
1306
  "env": {
1280
1307
  "$ref": "#/definitions/EnvironmentVariables",
@@ -1292,11 +1319,38 @@
1292
1319
  "name": {
1293
1320
  "description": "Optional descriptive name for this environment",
1294
1321
  "type": "string"
1322
+ },
1323
+ "php": {
1324
+ "description": "PHP version(s) for this environment.\nCan be a single version string or an array of versions for matrix testing.\nWhen an array is provided, tests will run for each PHP version combined with each WP version.\nIf blueprint.preferredVersions.php is also set, the blueprint value takes precedence\nand only that single version will be used.",
1325
+ "items": {
1326
+ "enum": [
1327
+ "7.2",
1328
+ "7.3",
1329
+ "7.4",
1330
+ "8.0",
1331
+ "8.1",
1332
+ "8.2",
1333
+ "8.3",
1334
+ "8.4",
1335
+ "latest"
1336
+ ],
1337
+ "type": "string"
1338
+ },
1339
+ "type": "array"
1340
+ },
1341
+ "skip": {
1342
+ "default": false,
1343
+ "description": "Whether this environment should be skipped.\nSkipped environments are excluded from test execution.\nUseful for temporarily excluding environments without removing them from configuration.",
1344
+ "type": "boolean"
1345
+ },
1346
+ "wp": {
1347
+ "description": "WordPress version(s) for this environment.\nCan be a single version string or an array of versions for matrix testing.\nWhen an array is provided, tests will run for each WP version combined with each PHP version.\nIf blueprint.preferredVersions.wp is also set, the blueprint value takes precedence\nand only that single version will be used.",
1348
+ "items": {
1349
+ "type": "string"
1350
+ },
1351
+ "type": "array"
1295
1352
  }
1296
1353
  },
1297
- "required": [
1298
- "blueprint"
1299
- ],
1300
1354
  "type": "object"
1301
1355
  },
1302
1356
  "EnvironmentVariables": {
@@ -1339,7 +1393,7 @@
1339
1393
  "BYTES_PER_ELEMENT": {
1340
1394
  "type": "number"
1341
1395
  },
1342
- "__@toStringTag@642": {
1396
+ "__@toStringTag@506": {
1343
1397
  "const": "Uint8Array",
1344
1398
  "type": "string"
1345
1399
  },
@@ -1358,7 +1412,7 @@
1358
1412
  },
1359
1413
  "required": [
1360
1414
  "BYTES_PER_ELEMENT",
1361
- "__@toStringTag@642",
1415
+ "__@toStringTag@506",
1362
1416
  "buffer",
1363
1417
  "byteLength",
1364
1418
  "byteOffset",
@@ -1600,7 +1654,7 @@
1600
1654
  "BYTES_PER_ELEMENT": {
1601
1655
  "type": "number"
1602
1656
  },
1603
- "__@toStringTag@642": {
1657
+ "__@toStringTag@506": {
1604
1658
  "const": "Uint8Array",
1605
1659
  "type": "string"
1606
1660
  },
@@ -1619,7 +1673,7 @@
1619
1673
  },
1620
1674
  "required": [
1621
1675
  "BYTES_PER_ELEMENT",
1622
- "__@toStringTag@642",
1676
+ "__@toStringTag@506",
1623
1677
  "buffer",
1624
1678
  "byteLength",
1625
1679
  "byteOffset",
@@ -1808,7 +1862,7 @@
1808
1862
  "BYTES_PER_ELEMENT": {
1809
1863
  "type": "number"
1810
1864
  },
1811
- "__@toStringTag@642": {
1865
+ "__@toStringTag@506": {
1812
1866
  "const": "Uint8Array",
1813
1867
  "type": "string"
1814
1868
  },
@@ -1827,7 +1881,7 @@
1827
1881
  },
1828
1882
  "required": [
1829
1883
  "BYTES_PER_ELEMENT",
1830
- "__@toStringTag@642",
1884
+ "__@toStringTag@506",
1831
1885
  "buffer",
1832
1886
  "byteLength",
1833
1887
  "byteOffset",
@@ -2021,7 +2075,7 @@
2021
2075
  "BYTES_PER_ELEMENT": {
2022
2076
  "type": "number"
2023
2077
  },
2024
- "__@toStringTag@642": {
2078
+ "__@toStringTag@506": {
2025
2079
  "const": "Uint8Array",
2026
2080
  "type": "string"
2027
2081
  },
@@ -2040,7 +2094,7 @@
2040
2094
  },
2041
2095
  "required": [
2042
2096
  "BYTES_PER_ELEMENT",
2043
- "__@toStringTag@642",
2097
+ "__@toStringTag@506",
2044
2098
  "buffer",
2045
2099
  "byteLength",
2046
2100
  "byteOffset",
@@ -2229,7 +2283,7 @@
2229
2283
  "BYTES_PER_ELEMENT": {
2230
2284
  "type": "number"
2231
2285
  },
2232
- "__@toStringTag@642": {
2286
+ "__@toStringTag@506": {
2233
2287
  "const": "Uint8Array",
2234
2288
  "type": "string"
2235
2289
  },
@@ -2248,7 +2302,7 @@
2248
2302
  },
2249
2303
  "required": [
2250
2304
  "BYTES_PER_ELEMENT",
2251
- "__@toStringTag@642",
2305
+ "__@toStringTag@506",
2252
2306
  "buffer",
2253
2307
  "byteLength",
2254
2308
  "byteOffset",
@@ -2367,9 +2421,34 @@
2367
2421
  "JsonReporterOptions": {
2368
2422
  "description": "JSON reporter configuration options",
2369
2423
  "properties": {
2424
+ "failed": {
2425
+ "default": false,
2426
+ "description": "Show failed tests in output",
2427
+ "type": "boolean"
2428
+ },
2429
+ "other": {
2430
+ "default": false,
2431
+ "description": "Show other test statuses in output",
2432
+ "type": "boolean"
2433
+ },
2370
2434
  "outputFile": {
2371
2435
  "description": "Path where the JSON report file should be written",
2372
2436
  "type": "string"
2437
+ },
2438
+ "passed": {
2439
+ "default": false,
2440
+ "description": "Show passed tests in output",
2441
+ "type": "boolean"
2442
+ },
2443
+ "pending": {
2444
+ "default": false,
2445
+ "description": "Show pending tests in output",
2446
+ "type": "boolean"
2447
+ },
2448
+ "skipped": {
2449
+ "default": false,
2450
+ "description": "Show skipped tests in output",
2451
+ "type": "boolean"
2373
2452
  }
2374
2453
  },
2375
2454
  "required": [
@@ -2459,7 +2538,7 @@
2459
2538
  "BYTES_PER_ELEMENT": {
2460
2539
  "type": "number"
2461
2540
  },
2462
- "__@toStringTag@642": {
2541
+ "__@toStringTag@506": {
2463
2542
  "const": "Uint8Array",
2464
2543
  "type": "string"
2465
2544
  },
@@ -2478,7 +2557,7 @@
2478
2557
  },
2479
2558
  "required": [
2480
2559
  "BYTES_PER_ELEMENT",
2481
- "__@toStringTag@642",
2560
+ "__@toStringTag@506",
2482
2561
  "buffer",
2483
2562
  "byteLength",
2484
2563
  "byteOffset",
@@ -2544,7 +2623,7 @@
2544
2623
  "BYTES_PER_ELEMENT": {
2545
2624
  "type": "number"
2546
2625
  },
2547
- "__@toStringTag@642": {
2626
+ "__@toStringTag@506": {
2548
2627
  "const": "Uint8Array",
2549
2628
  "type": "string"
2550
2629
  },
@@ -2563,7 +2642,7 @@
2563
2642
  },
2564
2643
  "required": [
2565
2644
  "BYTES_PER_ELEMENT",
2566
- "__@toStringTag@642",
2645
+ "__@toStringTag@506",
2567
2646
  "buffer",
2568
2647
  "byteLength",
2569
2648
  "byteOffset",
@@ -2664,28 +2743,26 @@
2664
2743
  "Record<string,unknown>": {
2665
2744
  "type": "object"
2666
2745
  },
2667
- "Reporter": {
2668
- "anyOf": [
2669
- {
2670
- "items": [
2746
+ "Reporters": {
2747
+ "description": "Reporter configuration object.\nEach key is a reporter name, and the value is its options.",
2748
+ "properties": {
2749
+ "default": {
2750
+ "anyOf": [
2671
2751
  {
2672
- "const": "json",
2673
- "type": "string"
2752
+ "$ref": "#/definitions/BaseReporterOptions"
2674
2753
  },
2675
2754
  {
2676
- "$ref": "#/definitions/JsonReporterOptions"
2755
+ "type": "boolean"
2677
2756
  }
2678
2757
  ],
2679
- "maxItems": 2,
2680
- "minItems": 2,
2681
- "type": "array"
2758
+ "description": "Default console reporter options.\nUse `true` to enable with defaults, or an object for custom options."
2682
2759
  },
2683
- {
2684
- "const": "default",
2685
- "type": "string"
2760
+ "json": {
2761
+ "$ref": "#/definitions/JsonReporterOptions",
2762
+ "description": "JSON file reporter options"
2686
2763
  }
2687
- ],
2688
- "description": "Reporter configuration.\nCan be a simple string for reporters without options,\nor a tuple of [reporter name, options] for configurable reporters."
2764
+ },
2765
+ "type": "object"
2689
2766
  },
2690
2767
  "RequestStep": {
2691
2768
  "description": "request",
@@ -2866,10 +2943,10 @@
2866
2943
  },
2867
2944
  "SharedArrayBuffer": {
2868
2945
  "properties": {
2869
- "__@species@709": {
2946
+ "__@species@590": {
2870
2947
  "$ref": "#/definitions/SharedArrayBuffer"
2871
2948
  },
2872
- "__@toStringTag@642": {
2949
+ "__@toStringTag@506": {
2873
2950
  "const": "SharedArrayBuffer",
2874
2951
  "type": "string"
2875
2952
  },
@@ -2878,8 +2955,8 @@
2878
2955
  }
2879
2956
  },
2880
2957
  "required": [
2881
- "__@species@709",
2882
- "__@toStringTag@642",
2958
+ "__@species@590",
2959
+ "__@toStringTag@506",
2883
2960
  "byteLength"
2884
2961
  ],
2885
2962
  "type": "object"
@@ -2887,9 +2964,14 @@
2887
2964
  "Tests": {
2888
2965
  "description": "Test configuration specifying which test suites to run.",
2889
2966
  "properties": {
2967
+ "passWithNoTests": {
2968
+ "default": false,
2969
+ "description": "Allow the test suite to pass when no tests are executed.\nBy default, wp-tester exits with code 1 when no tests are found.\nSet to true to exit with code 0 instead (similar to Jest's --passWithNoTests).",
2970
+ "type": "boolean"
2971
+ },
2890
2972
  "phpunit": {
2891
2973
  "$ref": "#/definitions/PHPUnitConfig",
2892
- "description": "PHPUnit test configuration.\nWhen provided, runs PHPUnit tests with the specified paths.\nWhen undefined, PHPUnit tests are disabled."
2974
+ "description": "PHPUnit test configuration.\nWhen provided, runs PHPUnit tests with the specified paths.\nWhen undefined, PHPUnit tests are not run."
2893
2975
  },
2894
2976
  "plugin": {
2895
2977
  "description": "Plugin slug to test.\nWhen provided, runs plugin-specific tests including activation, deactivation, and load tests.",
@@ -2899,6 +2981,10 @@
2899
2981
  "description": "Theme slug to test.\nWhen provided, runs theme-specific tests including activation and homepage load tests.",
2900
2982
  "type": "string"
2901
2983
  },
2984
+ "watch": {
2985
+ "$ref": "#/definitions/WatchConfig",
2986
+ "description": "Watch mode configuration.\nControls which files are watched when using --watch flag."
2987
+ },
2902
2988
  "wp": {
2903
2989
  "default": false,
2904
2990
  "description": "Whether to run WordPress core tests.\nTests WordPress boot, admin dashboard, and REST API.",
@@ -2953,7 +3039,7 @@
2953
3039
  "BYTES_PER_ELEMENT": {
2954
3040
  "type": "number"
2955
3041
  },
2956
- "__@toStringTag@642": {
3042
+ "__@toStringTag@506": {
2957
3043
  "const": "Uint8Array",
2958
3044
  "type": "string"
2959
3045
  },
@@ -2972,7 +3058,7 @@
2972
3058
  },
2973
3059
  "required": [
2974
3060
  "BYTES_PER_ELEMENT",
2975
- "__@toStringTag@642",
3061
+ "__@toStringTag@506",
2976
3062
  "buffer",
2977
3063
  "byteLength",
2978
3064
  "byteOffset",
@@ -3149,6 +3235,26 @@
3149
3235
  ],
3150
3236
  "type": "object"
3151
3237
  },
3238
+ "WatchConfig": {
3239
+ "description": "Watch mode configuration for automatic test re-runs.",
3240
+ "properties": {
3241
+ "exclude": {
3242
+ "description": "Glob patterns to exclude from watching.",
3243
+ "items": {
3244
+ "type": "string"
3245
+ },
3246
+ "type": "array"
3247
+ },
3248
+ "include": {
3249
+ "description": "Glob patterns for files/directories to watch (relative to projectHostPath).\nIf not specified, watches all files in the projectHostPath directory.",
3250
+ "items": {
3251
+ "type": "string"
3252
+ },
3253
+ "type": "array"
3254
+ }
3255
+ },
3256
+ "type": "object"
3257
+ },
3152
3258
  "WordPressInstallationOptions": {
3153
3259
  "properties": {
3154
3260
  "adminPassword": {
@@ -3176,7 +3282,7 @@
3176
3282
  "BYTES_PER_ELEMENT": {
3177
3283
  "type": "number"
3178
3284
  },
3179
- "__@toStringTag@642": {
3285
+ "__@toStringTag@506": {
3180
3286
  "const": "Uint8Array",
3181
3287
  "type": "string"
3182
3288
  },
@@ -3195,7 +3301,7 @@
3195
3301
  },
3196
3302
  "required": [
3197
3303
  "BYTES_PER_ELEMENT",
3198
- "__@toStringTag@642",
3304
+ "__@toStringTag@506",
3199
3305
  "buffer",
3200
3306
  "byteLength",
3201
3307
  "byteOffset",
@@ -3236,7 +3342,7 @@
3236
3342
  "BYTES_PER_ELEMENT": {
3237
3343
  "type": "number"
3238
3344
  },
3239
- "__@toStringTag@642": {
3345
+ "__@toStringTag@506": {
3240
3346
  "const": "Uint8Array",
3241
3347
  "type": "string"
3242
3348
  },
@@ -3255,7 +3361,7 @@
3255
3361
  },
3256
3362
  "required": [
3257
3363
  "BYTES_PER_ELEMENT",
3258
- "__@toStringTag@642",
3364
+ "__@toStringTag@506",
3259
3365
  "buffer",
3260
3366
  "byteLength",
3261
3367
  "byteOffset",
@@ -3443,14 +3549,17 @@
3443
3549
  "type": "string"
3444
3550
  },
3445
3551
  "reporters": {
3446
- "default": [
3447
- "default"
3448
- ],
3449
- "description": "Output reporters for test results",
3450
- "items": {
3451
- "$ref": "#/definitions/Reporter"
3552
+ "$ref": "#/definitions/Reporters",
3553
+ "default": {
3554
+ "default": {
3555
+ "failed": true,
3556
+ "other": true,
3557
+ "passed": true,
3558
+ "pending": true,
3559
+ "skipped": true
3560
+ }
3452
3561
  },
3453
- "type": "array"
3562
+ "description": "Output reporters for test results.\nEach reporter can be configured with filtering options."
3454
3563
  },
3455
3564
  "tests": {
3456
3565
  "$ref": "#/definitions/Tests",
@@ -3463,6 +3572,7 @@
3463
3572
  ],
3464
3573
  "type": "object",
3465
3574
  "$id": "https://raw.githubusercontent.com/bgrgicak/wp-tester/trunk/packages/config/src/schema.json",
3575
+ "additionalProperties": false,
3466
3576
  "allOf": [
3467
3577
  {
3468
3578
  "if": {