@wp-tester/config 0.0.4 → 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/auto-mount.d.ts.map +1 -1
- package/dist/auto-mount.js +10 -1
- package/dist/auto-mount.js.map +1 -1
- package/dist/config.d.ts +15 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +298 -21
- package/dist/config.js.map +1 -1
- package/dist/index.d.ts +3 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/options/phpunit.js +11 -11
- package/dist/options/phpunit.js.map +1 -1
- package/dist/options/project-root.d.ts.map +1 -1
- package/dist/options/project-root.js +3 -2
- package/dist/options/project-root.js.map +1 -1
- package/dist/options/project-type-detect.d.ts +1 -1
- package/dist/options/project-type-detect.d.ts.map +1 -1
- package/dist/options/project-type-detect.js +2 -2
- package/dist/options/project-type-detect.js.map +1 -1
- package/dist/options/project-type.d.ts.map +1 -1
- package/dist/options/project-type.js +29 -5
- package/dist/options/project-type.js.map +1 -1
- package/dist/options/smoke-tests.d.ts.map +1 -1
- package/dist/options/smoke-tests.js +18 -6
- package/dist/options/smoke-tests.js.map +1 -1
- package/dist/phpunit.d.ts.map +1 -1
- package/dist/phpunit.js +14 -8
- package/dist/phpunit.js.map +1 -1
- package/dist/resolved-types.d.ts +22 -6
- package/dist/resolved-types.d.ts.map +1 -1
- package/dist/schema.json +1157 -1005
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/wp-tester-config.d.ts +153 -12
- package/dist/wp-tester-config.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/schema.json
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"ArrayBuffer": {
|
|
45
45
|
"properties": {
|
|
46
|
-
"__@toStringTag@
|
|
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@
|
|
54
|
+
"__@toStringTag@506",
|
|
55
55
|
"byteLength"
|
|
56
56
|
],
|
|
57
57
|
"type": "object"
|
|
@@ -66,1215 +66,1247 @@
|
|
|
66
66
|
}
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
|
-
"
|
|
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
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
209
|
+
".git": {
|
|
210
|
+
"description": "When true, include a `.git` directory with Git metadata (experimental).",
|
|
211
|
+
"type": "boolean"
|
|
77
212
|
},
|
|
78
|
-
"
|
|
79
|
-
"description": "
|
|
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
|
-
"
|
|
83
|
-
"description": "
|
|
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
|
-
"
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
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
|
-
"
|
|
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
|
-
"
|
|
130
|
-
"description": "
|
|
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
|
-
"
|
|
133
|
-
"
|
|
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
|
-
"
|
|
137
|
-
"description": "
|
|
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
|
-
"
|
|
144
|
-
"
|
|
145
|
-
|
|
294
|
+
"features": {
|
|
295
|
+
"properties": {
|
|
296
|
+
"intl": {
|
|
297
|
+
"type": "boolean"
|
|
298
|
+
},
|
|
299
|
+
"networking": {
|
|
300
|
+
"description": "Should boot with support for network request via wp_safe_remote_get?",
|
|
301
|
+
"type": "boolean"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"type": "object"
|
|
146
305
|
},
|
|
147
|
-
"
|
|
148
|
-
"description": "
|
|
306
|
+
"landingPage": {
|
|
307
|
+
"description": "The URL to navigate to after the blueprint has been run.",
|
|
149
308
|
"type": "string"
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
"items": {
|
|
162
|
-
"anyOf": [
|
|
163
|
-
{
|
|
164
|
-
"properties": {
|
|
165
|
-
"path": {
|
|
166
|
-
"description": "The path to the file in the VFS",
|
|
167
|
-
"type": "string"
|
|
309
|
+
},
|
|
310
|
+
"login": {
|
|
311
|
+
"anyOf": [
|
|
312
|
+
{
|
|
313
|
+
"properties": {
|
|
314
|
+
"password": {
|
|
315
|
+
"type": "string"
|
|
316
|
+
},
|
|
317
|
+
"username": {
|
|
318
|
+
"type": "string"
|
|
319
|
+
}
|
|
168
320
|
},
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
321
|
+
"required": [
|
|
322
|
+
"password",
|
|
323
|
+
"username"
|
|
324
|
+
],
|
|
325
|
+
"type": "object"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"type": "boolean"
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"description": "User to log in as.\nIf true, logs the user in as admin/password."
|
|
332
|
+
},
|
|
333
|
+
"meta": {
|
|
334
|
+
"description": "Optional metadata. Used by the Blueprints gallery at https://github.com/WordPress/blueprints",
|
|
335
|
+
"properties": {
|
|
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": {
|
|
172
343
|
"type": "string"
|
|
173
|
-
}
|
|
344
|
+
},
|
|
345
|
+
"type": "array"
|
|
346
|
+
},
|
|
347
|
+
"description": {
|
|
348
|
+
"description": "A brief explanation of what your Blueprint offers.",
|
|
349
|
+
"type": "string"
|
|
174
350
|
},
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
|
|
179
|
-
"type": "object"
|
|
351
|
+
"title": {
|
|
352
|
+
"description": "A clear and concise name for your Blueprint.",
|
|
353
|
+
"type": "string"
|
|
354
|
+
}
|
|
180
355
|
},
|
|
181
|
-
|
|
182
|
-
"
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
356
|
+
"required": [
|
|
357
|
+
"author",
|
|
358
|
+
"title"
|
|
359
|
+
],
|
|
360
|
+
"type": "object"
|
|
361
|
+
},
|
|
362
|
+
"phpExtensionBundles": {},
|
|
363
|
+
"plugins": {
|
|
364
|
+
"description": "WordPress plugins to install and activate",
|
|
365
|
+
"items": {
|
|
366
|
+
"anyOf": [
|
|
367
|
+
{
|
|
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"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"properties": {
|
|
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"
|
|
195
426
|
},
|
|
196
|
-
|
|
197
|
-
"const": "Uint8Array",
|
|
427
|
+
{
|
|
198
428
|
"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
429
|
}
|
|
212
|
-
},
|
|
213
|
-
"required": [
|
|
214
|
-
"BYTES_PER_ELEMENT",
|
|
215
|
-
"__@toStringTag@630",
|
|
216
|
-
"buffer",
|
|
217
|
-
"byteLength",
|
|
218
|
-
"byteOffset",
|
|
219
|
-
"length"
|
|
220
430
|
],
|
|
221
|
-
"
|
|
431
|
+
"description": "The contents of the file"
|
|
222
432
|
},
|
|
223
|
-
{
|
|
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",
|
|
224
440
|
"type": "string"
|
|
225
441
|
}
|
|
442
|
+
},
|
|
443
|
+
"required": [
|
|
444
|
+
"contents",
|
|
445
|
+
"name",
|
|
446
|
+
"resource"
|
|
226
447
|
],
|
|
227
|
-
"
|
|
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"
|
|
448
|
+
"type": "object"
|
|
252
449
|
},
|
|
253
|
-
|
|
254
|
-
"
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
"type": "
|
|
450
|
+
{
|
|
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"
|
|
270
467
|
},
|
|
271
|
-
|
|
272
|
-
"
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
468
|
+
{
|
|
469
|
+
"properties": {
|
|
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"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
"required": [
|
|
481
|
+
"resource",
|
|
482
|
+
"slug"
|
|
483
|
+
],
|
|
484
|
+
"type": "object"
|
|
287
485
|
},
|
|
288
|
-
|
|
289
|
-
"
|
|
290
|
-
|
|
291
|
-
|
|
486
|
+
{
|
|
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"
|
|
292
507
|
},
|
|
293
|
-
|
|
294
|
-
"
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
508
|
+
{
|
|
509
|
+
"properties": {
|
|
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"
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
"required": [
|
|
521
|
+
"path",
|
|
522
|
+
"resource"
|
|
523
|
+
],
|
|
524
|
+
"type": "object"
|
|
309
525
|
},
|
|
310
|
-
|
|
311
|
-
"const": "bundled",
|
|
312
|
-
"description": "Identifies the file resource as a Blueprint file",
|
|
526
|
+
{
|
|
313
527
|
"type": "string"
|
|
314
528
|
}
|
|
315
|
-
|
|
316
|
-
"required": [
|
|
317
|
-
"path",
|
|
318
|
-
"resource"
|
|
319
|
-
],
|
|
320
|
-
"type": "object"
|
|
529
|
+
]
|
|
321
530
|
},
|
|
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"
|
|
344
|
-
],
|
|
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"
|
|
531
|
+
"type": "array"
|
|
362
532
|
},
|
|
363
|
-
{
|
|
533
|
+
"preferredVersions": {
|
|
534
|
+
"description": "The preferred PHP and WordPress versions to use.",
|
|
364
535
|
"properties": {
|
|
365
|
-
"
|
|
366
|
-
"description": "The
|
|
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",
|
|
367
553
|
"type": "string"
|
|
368
554
|
}
|
|
369
555
|
},
|
|
556
|
+
"required": [
|
|
557
|
+
"php",
|
|
558
|
+
"wp"
|
|
559
|
+
],
|
|
370
560
|
"type": "object"
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
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
|
+
}
|
|
383
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": [
|
|
384
583
|
{
|
|
385
|
-
"
|
|
386
|
-
|
|
584
|
+
"allOf": [
|
|
585
|
+
{
|
|
586
|
+
"$ref": "#/definitions/ActivatePluginStep"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
387
589
|
"properties": {
|
|
388
|
-
"
|
|
389
|
-
"
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
590
|
+
"progress": {
|
|
591
|
+
"properties": {
|
|
592
|
+
"caption": {
|
|
593
|
+
"type": "string"
|
|
594
|
+
},
|
|
595
|
+
"weight": {
|
|
596
|
+
"type": "number"
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
"type": "object"
|
|
393
600
|
}
|
|
394
601
|
},
|
|
395
602
|
"type": "object"
|
|
396
603
|
}
|
|
397
|
-
|
|
398
|
-
"type": "object"
|
|
399
|
-
}
|
|
400
|
-
]
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"allOf": [
|
|
404
|
-
{
|
|
405
|
-
"$ref": "#/definitions/ActivateThemeStep"
|
|
604
|
+
]
|
|
406
605
|
},
|
|
407
606
|
{
|
|
408
|
-
"
|
|
409
|
-
|
|
607
|
+
"allOf": [
|
|
608
|
+
{
|
|
609
|
+
"$ref": "#/definitions/ActivateThemeStep"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
410
612
|
"properties": {
|
|
411
|
-
"
|
|
412
|
-
"
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
613
|
+
"progress": {
|
|
614
|
+
"properties": {
|
|
615
|
+
"caption": {
|
|
616
|
+
"type": "string"
|
|
617
|
+
},
|
|
618
|
+
"weight": {
|
|
619
|
+
"type": "number"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
"type": "object"
|
|
416
623
|
}
|
|
417
624
|
},
|
|
418
625
|
"type": "object"
|
|
419
626
|
}
|
|
420
|
-
|
|
421
|
-
"type": "object"
|
|
422
|
-
}
|
|
423
|
-
]
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"allOf": [
|
|
427
|
-
{
|
|
428
|
-
"$ref": "#/definitions/CpStep"
|
|
627
|
+
]
|
|
429
628
|
},
|
|
430
629
|
{
|
|
431
|
-
"
|
|
432
|
-
|
|
630
|
+
"allOf": [
|
|
631
|
+
{
|
|
632
|
+
"$ref": "#/definitions/CpStep"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
433
635
|
"properties": {
|
|
434
|
-
"
|
|
435
|
-
"
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
636
|
+
"progress": {
|
|
637
|
+
"properties": {
|
|
638
|
+
"caption": {
|
|
639
|
+
"type": "string"
|
|
640
|
+
},
|
|
641
|
+
"weight": {
|
|
642
|
+
"type": "number"
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
"type": "object"
|
|
439
646
|
}
|
|
440
647
|
},
|
|
441
648
|
"type": "object"
|
|
442
649
|
}
|
|
443
|
-
|
|
444
|
-
"type": "object"
|
|
445
|
-
}
|
|
446
|
-
]
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
"allOf": [
|
|
450
|
-
{
|
|
451
|
-
"$ref": "#/definitions/DefineWpConfigConstsStep"
|
|
650
|
+
]
|
|
452
651
|
},
|
|
453
652
|
{
|
|
454
|
-
"
|
|
455
|
-
|
|
653
|
+
"allOf": [
|
|
654
|
+
{
|
|
655
|
+
"$ref": "#/definitions/DefineWpConfigConstsStep"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
456
658
|
"properties": {
|
|
457
|
-
"
|
|
458
|
-
"
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
659
|
+
"progress": {
|
|
660
|
+
"properties": {
|
|
661
|
+
"caption": {
|
|
662
|
+
"type": "string"
|
|
663
|
+
},
|
|
664
|
+
"weight": {
|
|
665
|
+
"type": "number"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
"type": "object"
|
|
462
669
|
}
|
|
463
670
|
},
|
|
464
671
|
"type": "object"
|
|
465
672
|
}
|
|
466
|
-
|
|
467
|
-
"type": "object"
|
|
468
|
-
}
|
|
469
|
-
]
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
"allOf": [
|
|
473
|
-
{
|
|
474
|
-
"$ref": "#/definitions/DefineSiteUrlStep"
|
|
673
|
+
]
|
|
475
674
|
},
|
|
476
675
|
{
|
|
477
|
-
"
|
|
478
|
-
|
|
676
|
+
"allOf": [
|
|
677
|
+
{
|
|
678
|
+
"$ref": "#/definitions/DefineSiteUrlStep"
|
|
679
|
+
},
|
|
680
|
+
{
|
|
479
681
|
"properties": {
|
|
480
|
-
"
|
|
481
|
-
"
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
682
|
+
"progress": {
|
|
683
|
+
"properties": {
|
|
684
|
+
"caption": {
|
|
685
|
+
"type": "string"
|
|
686
|
+
},
|
|
687
|
+
"weight": {
|
|
688
|
+
"type": "number"
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
"type": "object"
|
|
485
692
|
}
|
|
486
693
|
},
|
|
487
694
|
"type": "object"
|
|
488
695
|
}
|
|
489
|
-
|
|
490
|
-
"type": "object"
|
|
491
|
-
}
|
|
492
|
-
]
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
"allOf": [
|
|
496
|
-
{
|
|
497
|
-
"$ref": "#/definitions/EnableMultisiteStep"
|
|
696
|
+
]
|
|
498
697
|
},
|
|
499
698
|
{
|
|
500
|
-
"
|
|
501
|
-
|
|
699
|
+
"allOf": [
|
|
700
|
+
{
|
|
701
|
+
"$ref": "#/definitions/EnableMultisiteStep"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
502
704
|
"properties": {
|
|
503
|
-
"
|
|
504
|
-
"
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
705
|
+
"progress": {
|
|
706
|
+
"properties": {
|
|
707
|
+
"caption": {
|
|
708
|
+
"type": "string"
|
|
709
|
+
},
|
|
710
|
+
"weight": {
|
|
711
|
+
"type": "number"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"type": "object"
|
|
508
715
|
}
|
|
509
716
|
},
|
|
510
717
|
"type": "object"
|
|
511
718
|
}
|
|
512
|
-
|
|
513
|
-
"type": "object"
|
|
514
|
-
}
|
|
515
|
-
]
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
"allOf": [
|
|
519
|
-
{
|
|
520
|
-
"$ref": "#/definitions/ImportThemeStarterContentStep"
|
|
719
|
+
]
|
|
521
720
|
},
|
|
522
721
|
{
|
|
523
|
-
"
|
|
524
|
-
|
|
722
|
+
"allOf": [
|
|
723
|
+
{
|
|
724
|
+
"$ref": "#/definitions/ImportThemeStarterContentStep"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
525
727
|
"properties": {
|
|
526
|
-
"
|
|
527
|
-
"
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
728
|
+
"progress": {
|
|
729
|
+
"properties": {
|
|
730
|
+
"caption": {
|
|
731
|
+
"type": "string"
|
|
732
|
+
},
|
|
733
|
+
"weight": {
|
|
734
|
+
"type": "number"
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
"type": "object"
|
|
531
738
|
}
|
|
532
739
|
},
|
|
533
740
|
"type": "object"
|
|
534
741
|
}
|
|
535
|
-
|
|
536
|
-
"type": "object"
|
|
537
|
-
}
|
|
538
|
-
]
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
"allOf": [
|
|
542
|
-
{
|
|
543
|
-
"description": "login",
|
|
544
|
-
"properties": {
|
|
545
|
-
"password": {
|
|
546
|
-
"type": "string"
|
|
547
|
-
},
|
|
548
|
-
"step": {
|
|
549
|
-
"const": "login",
|
|
550
|
-
"type": "string"
|
|
551
|
-
},
|
|
552
|
-
"username": {
|
|
553
|
-
"description": "The user to log in as. Defaults to 'admin'.",
|
|
554
|
-
"type": "string"
|
|
555
|
-
}
|
|
556
|
-
},
|
|
557
|
-
"required": [
|
|
558
|
-
"step"
|
|
559
|
-
],
|
|
560
|
-
"type": "object"
|
|
742
|
+
]
|
|
561
743
|
},
|
|
562
744
|
{
|
|
563
|
-
"
|
|
564
|
-
|
|
745
|
+
"allOf": [
|
|
746
|
+
{
|
|
747
|
+
"description": "login",
|
|
565
748
|
"properties": {
|
|
566
|
-
"
|
|
749
|
+
"password": {
|
|
567
750
|
"type": "string"
|
|
568
751
|
},
|
|
569
|
-
"
|
|
570
|
-
"
|
|
752
|
+
"step": {
|
|
753
|
+
"const": "login",
|
|
754
|
+
"type": "string"
|
|
755
|
+
},
|
|
756
|
+
"username": {
|
|
757
|
+
"description": "The user to log in as. Defaults to 'admin'.",
|
|
758
|
+
"type": "string"
|
|
571
759
|
}
|
|
572
760
|
},
|
|
761
|
+
"required": [
|
|
762
|
+
"step"
|
|
763
|
+
],
|
|
573
764
|
"type": "object"
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
"type": "object"
|
|
577
|
-
}
|
|
578
|
-
]
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
"allOf": [
|
|
582
|
-
{
|
|
583
|
-
"$ref": "#/definitions/MkdirStep"
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
"properties": {
|
|
587
|
-
"progress": {
|
|
765
|
+
},
|
|
766
|
+
{
|
|
588
767
|
"properties": {
|
|
589
|
-
"
|
|
590
|
-
"
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
768
|
+
"progress": {
|
|
769
|
+
"properties": {
|
|
770
|
+
"caption": {
|
|
771
|
+
"type": "string"
|
|
772
|
+
},
|
|
773
|
+
"weight": {
|
|
774
|
+
"type": "number"
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
"type": "object"
|
|
594
778
|
}
|
|
595
779
|
},
|
|
596
780
|
"type": "object"
|
|
597
781
|
}
|
|
598
|
-
|
|
599
|
-
"type": "object"
|
|
600
|
-
}
|
|
601
|
-
]
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
"allOf": [
|
|
605
|
-
{
|
|
606
|
-
"$ref": "#/definitions/MvStep"
|
|
782
|
+
]
|
|
607
783
|
},
|
|
608
784
|
{
|
|
609
|
-
"
|
|
610
|
-
|
|
611
|
-
"
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
"
|
|
616
|
-
"
|
|
785
|
+
"allOf": [
|
|
786
|
+
{
|
|
787
|
+
"$ref": "#/definitions/MkdirStep"
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"properties": {
|
|
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
|
-
"
|
|
633
|
-
|
|
808
|
+
"allOf": [
|
|
809
|
+
{
|
|
810
|
+
"$ref": "#/definitions/MvStep"
|
|
811
|
+
},
|
|
812
|
+
{
|
|
634
813
|
"properties": {
|
|
635
|
-
"
|
|
636
|
-
"
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
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
|
-
"
|
|
656
|
-
|
|
831
|
+
"allOf": [
|
|
832
|
+
{
|
|
833
|
+
"$ref": "#/definitions/ResetDataStep"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
657
836
|
"properties": {
|
|
658
|
-
"
|
|
659
|
-
"
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
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
|
-
"
|
|
679
|
-
|
|
854
|
+
"allOf": [
|
|
855
|
+
{
|
|
856
|
+
"$ref": "#/definitions/RequestStep"
|
|
857
|
+
},
|
|
858
|
+
{
|
|
680
859
|
"properties": {
|
|
681
|
-
"
|
|
682
|
-
"
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
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
|
-
"
|
|
702
|
-
|
|
877
|
+
"allOf": [
|
|
878
|
+
{
|
|
879
|
+
"$ref": "#/definitions/RmStep"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
703
882
|
"properties": {
|
|
704
|
-
"
|
|
705
|
-
"
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
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
|
-
"
|
|
725
|
-
|
|
900
|
+
"allOf": [
|
|
901
|
+
{
|
|
902
|
+
"$ref": "#/definitions/RmdirStep"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
726
905
|
"properties": {
|
|
727
|
-
"
|
|
728
|
-
"
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
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
|
-
"
|
|
748
|
-
|
|
923
|
+
"allOf": [
|
|
924
|
+
{
|
|
925
|
+
"$ref": "#/definitions/RunPHPStep"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
749
928
|
"properties": {
|
|
750
|
-
"
|
|
751
|
-
"
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
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
|
-
"
|
|
771
|
-
|
|
946
|
+
"allOf": [
|
|
947
|
+
{
|
|
948
|
+
"$ref": "#/definitions/RunPHPWithOptionsStep"
|
|
949
|
+
},
|
|
950
|
+
{
|
|
772
951
|
"properties": {
|
|
773
|
-
"
|
|
774
|
-
"
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
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
|
-
|
|
784
|
-
}
|
|
785
|
-
]
|
|
786
|
-
},
|
|
787
|
-
{
|
|
788
|
-
"allOf": [
|
|
966
|
+
]
|
|
967
|
+
},
|
|
789
968
|
{
|
|
790
|
-
"
|
|
791
|
-
|
|
792
|
-
|
|
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
|
-
|
|
797
|
-
"
|
|
798
|
-
|
|
799
|
-
|
|
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
|
-
"
|
|
810
|
-
|
|
992
|
+
"allOf": [
|
|
993
|
+
{
|
|
994
|
+
"description": "setSiteOptions",
|
|
811
995
|
"properties": {
|
|
812
|
-
"
|
|
813
|
-
"
|
|
996
|
+
"options": {
|
|
997
|
+
"$ref": "#/definitions/Record%3Cstring%2Cunknown%3E",
|
|
998
|
+
"description": "The options to set on the site."
|
|
814
999
|
},
|
|
815
|
-
"
|
|
816
|
-
"
|
|
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
|
-
"
|
|
833
|
-
|
|
1031
|
+
"allOf": [
|
|
1032
|
+
{
|
|
1033
|
+
"$ref": "#/definitions/UpdateUserMetaStep"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
834
1036
|
"properties": {
|
|
835
|
-
"
|
|
836
|
-
"
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
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
|
-
"
|
|
856
|
-
|
|
1054
|
+
"allOf": [
|
|
1055
|
+
{
|
|
1056
|
+
"$ref": "#/definitions/WPCLIStep"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
857
1059
|
"properties": {
|
|
858
|
-
"
|
|
859
|
-
"
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
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
|
-
"
|
|
879
|
-
|
|
1077
|
+
"allOf": [
|
|
1078
|
+
{
|
|
1079
|
+
"$ref": "#/definitions/SetSiteLanguageStep"
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
880
1082
|
"properties": {
|
|
881
|
-
"
|
|
882
|
-
"
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
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
|
-
"
|
|
902
|
-
|
|
1100
|
+
"allOf": [
|
|
1101
|
+
{
|
|
1102
|
+
"$ref": "#/definitions/ImportWxrStep%3CFileReference%3E"
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
903
1105
|
"properties": {
|
|
904
|
-
"
|
|
905
|
-
"
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
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
|
-
"
|
|
925
|
-
|
|
1123
|
+
"allOf": [
|
|
1124
|
+
{
|
|
1125
|
+
"$ref": "#/definitions/ImportWordPressFilesStep%3CFileReference%3E"
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
926
1128
|
"properties": {
|
|
927
|
-
"
|
|
928
|
-
"
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
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
|
-
"
|
|
948
|
-
|
|
1146
|
+
"allOf": [
|
|
1147
|
+
{
|
|
1148
|
+
"$ref": "#/definitions/InstallPluginStep%3CFileReference%2CDirectoryReference%3E"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
949
1151
|
"properties": {
|
|
950
|
-
"
|
|
951
|
-
"
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
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
|
-
"
|
|
971
|
-
|
|
1169
|
+
"allOf": [
|
|
1170
|
+
{
|
|
1171
|
+
"$ref": "#/definitions/InstallThemeStep%3CFileReference%2CDirectoryReference%3E"
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
972
1174
|
"properties": {
|
|
973
|
-
"
|
|
974
|
-
"
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
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
|
-
"
|
|
994
|
-
|
|
1192
|
+
"allOf": [
|
|
1193
|
+
{
|
|
1194
|
+
"$ref": "#/definitions/RunSqlStep%3CFileReference%3E"
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
995
1197
|
"properties": {
|
|
996
|
-
"
|
|
997
|
-
"
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
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
|
-
"
|
|
1017
|
-
|
|
1215
|
+
"allOf": [
|
|
1216
|
+
{
|
|
1217
|
+
"$ref": "#/definitions/UnzipStep%3CFileReference%3E"
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1018
1220
|
"properties": {
|
|
1019
|
-
"
|
|
1020
|
-
"
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
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
|
-
"
|
|
1040
|
-
|
|
1238
|
+
"allOf": [
|
|
1239
|
+
{
|
|
1240
|
+
"$ref": "#/definitions/WriteFileStep%3CFileReference%3E"
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1041
1243
|
"properties": {
|
|
1042
|
-
"
|
|
1043
|
-
"
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
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
|
-
"
|
|
1063
|
-
|
|
1261
|
+
"allOf": [
|
|
1262
|
+
{
|
|
1263
|
+
"$ref": "#/definitions/WriteFilesStep%3CDirectoryReference%3E"
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1064
1266
|
"properties": {
|
|
1065
|
-
"
|
|
1066
|
-
"
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
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
1280
|
}
|
|
1074
|
-
|
|
1075
|
-
|
|
1281
|
+
]
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"const": false,
|
|
1285
|
+
"type": "boolean"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"type": [
|
|
1289
|
+
"null",
|
|
1290
|
+
"string"
|
|
1291
|
+
]
|
|
1076
1292
|
}
|
|
1077
1293
|
]
|
|
1078
|
-
},
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
"type": "boolean"
|
|
1082
|
-
},
|
|
1083
|
-
{
|
|
1084
|
-
"type": [
|
|
1085
|
-
"null",
|
|
1086
|
-
"string"
|
|
1087
|
-
]
|
|
1088
|
-
}
|
|
1089
|
-
]
|
|
1294
|
+
},
|
|
1295
|
+
"type": "array"
|
|
1296
|
+
}
|
|
1090
1297
|
},
|
|
1091
|
-
"type": "
|
|
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
|
-
|
|
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
|
-
"
|
|
1249
|
-
},
|
|
1250
|
-
{
|
|
1251
|
-
"$ref": "#/definitions/DirectoryLiteralReference"
|
|
1252
|
-
}
|
|
1253
|
-
]
|
|
1254
|
-
},
|
|
1255
|
-
"EnableMultisiteStep": {
|
|
1256
|
-
"description": "enableMultisite",
|
|
1257
|
-
"properties": {
|
|
1258
|
-
"step": {
|
|
1259
|
-
"const": "enableMultisite",
|
|
1260
|
-
"type": "string"
|
|
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."
|
|
1261
1305
|
},
|
|
1262
|
-
"
|
|
1263
|
-
"
|
|
1264
|
-
"
|
|
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."
|
|
1306
|
+
"env": {
|
|
1307
|
+
"$ref": "#/definitions/EnvironmentVariables",
|
|
1308
|
+
"default": {},
|
|
1309
|
+
"description": "Environment variables to set when running PHPUnit tests"
|
|
1278
1310
|
},
|
|
1279
1311
|
"mounts": {
|
|
1280
1312
|
"default": [],
|
|
@@ -1287,11 +1319,43 @@
|
|
|
1287
1319
|
"name": {
|
|
1288
1320
|
"description": "Optional descriptive name for this environment",
|
|
1289
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"
|
|
1290
1352
|
}
|
|
1291
1353
|
},
|
|
1292
|
-
"
|
|
1293
|
-
|
|
1294
|
-
|
|
1354
|
+
"type": "object"
|
|
1355
|
+
},
|
|
1356
|
+
"EnvironmentVariables": {
|
|
1357
|
+
"default": {},
|
|
1358
|
+
"description": "Environment variables for WordPress Playground.\nKey-value pairs of environment variable names and values.",
|
|
1295
1359
|
"type": "object"
|
|
1296
1360
|
},
|
|
1297
1361
|
"FileReference": {
|
|
@@ -1329,7 +1393,7 @@
|
|
|
1329
1393
|
"BYTES_PER_ELEMENT": {
|
|
1330
1394
|
"type": "number"
|
|
1331
1395
|
},
|
|
1332
|
-
"__@toStringTag@
|
|
1396
|
+
"__@toStringTag@506": {
|
|
1333
1397
|
"const": "Uint8Array",
|
|
1334
1398
|
"type": "string"
|
|
1335
1399
|
},
|
|
@@ -1348,7 +1412,7 @@
|
|
|
1348
1412
|
},
|
|
1349
1413
|
"required": [
|
|
1350
1414
|
"BYTES_PER_ELEMENT",
|
|
1351
|
-
"__@toStringTag@
|
|
1415
|
+
"__@toStringTag@506",
|
|
1352
1416
|
"buffer",
|
|
1353
1417
|
"byteLength",
|
|
1354
1418
|
"byteOffset",
|
|
@@ -1590,7 +1654,7 @@
|
|
|
1590
1654
|
"BYTES_PER_ELEMENT": {
|
|
1591
1655
|
"type": "number"
|
|
1592
1656
|
},
|
|
1593
|
-
"__@toStringTag@
|
|
1657
|
+
"__@toStringTag@506": {
|
|
1594
1658
|
"const": "Uint8Array",
|
|
1595
1659
|
"type": "string"
|
|
1596
1660
|
},
|
|
@@ -1609,7 +1673,7 @@
|
|
|
1609
1673
|
},
|
|
1610
1674
|
"required": [
|
|
1611
1675
|
"BYTES_PER_ELEMENT",
|
|
1612
|
-
"__@toStringTag@
|
|
1676
|
+
"__@toStringTag@506",
|
|
1613
1677
|
"buffer",
|
|
1614
1678
|
"byteLength",
|
|
1615
1679
|
"byteOffset",
|
|
@@ -1798,7 +1862,7 @@
|
|
|
1798
1862
|
"BYTES_PER_ELEMENT": {
|
|
1799
1863
|
"type": "number"
|
|
1800
1864
|
},
|
|
1801
|
-
"__@toStringTag@
|
|
1865
|
+
"__@toStringTag@506": {
|
|
1802
1866
|
"const": "Uint8Array",
|
|
1803
1867
|
"type": "string"
|
|
1804
1868
|
},
|
|
@@ -1817,7 +1881,7 @@
|
|
|
1817
1881
|
},
|
|
1818
1882
|
"required": [
|
|
1819
1883
|
"BYTES_PER_ELEMENT",
|
|
1820
|
-
"__@toStringTag@
|
|
1884
|
+
"__@toStringTag@506",
|
|
1821
1885
|
"buffer",
|
|
1822
1886
|
"byteLength",
|
|
1823
1887
|
"byteOffset",
|
|
@@ -2011,7 +2075,7 @@
|
|
|
2011
2075
|
"BYTES_PER_ELEMENT": {
|
|
2012
2076
|
"type": "number"
|
|
2013
2077
|
},
|
|
2014
|
-
"__@toStringTag@
|
|
2078
|
+
"__@toStringTag@506": {
|
|
2015
2079
|
"const": "Uint8Array",
|
|
2016
2080
|
"type": "string"
|
|
2017
2081
|
},
|
|
@@ -2030,7 +2094,7 @@
|
|
|
2030
2094
|
},
|
|
2031
2095
|
"required": [
|
|
2032
2096
|
"BYTES_PER_ELEMENT",
|
|
2033
|
-
"__@toStringTag@
|
|
2097
|
+
"__@toStringTag@506",
|
|
2034
2098
|
"buffer",
|
|
2035
2099
|
"byteLength",
|
|
2036
2100
|
"byteOffset",
|
|
@@ -2219,7 +2283,7 @@
|
|
|
2219
2283
|
"BYTES_PER_ELEMENT": {
|
|
2220
2284
|
"type": "number"
|
|
2221
2285
|
},
|
|
2222
|
-
"__@toStringTag@
|
|
2286
|
+
"__@toStringTag@506": {
|
|
2223
2287
|
"const": "Uint8Array",
|
|
2224
2288
|
"type": "string"
|
|
2225
2289
|
},
|
|
@@ -2238,7 +2302,7 @@
|
|
|
2238
2302
|
},
|
|
2239
2303
|
"required": [
|
|
2240
2304
|
"BYTES_PER_ELEMENT",
|
|
2241
|
-
"__@toStringTag@
|
|
2305
|
+
"__@toStringTag@506",
|
|
2242
2306
|
"buffer",
|
|
2243
2307
|
"byteLength",
|
|
2244
2308
|
"byteOffset",
|
|
@@ -2357,9 +2421,34 @@
|
|
|
2357
2421
|
"JsonReporterOptions": {
|
|
2358
2422
|
"description": "JSON reporter configuration options",
|
|
2359
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
|
+
},
|
|
2360
2434
|
"outputFile": {
|
|
2361
2435
|
"description": "Path where the JSON report file should be written",
|
|
2362
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"
|
|
2363
2452
|
}
|
|
2364
2453
|
},
|
|
2365
2454
|
"required": [
|
|
@@ -2394,9 +2483,11 @@
|
|
|
2394
2483
|
"type": "boolean"
|
|
2395
2484
|
},
|
|
2396
2485
|
"hostPath": {
|
|
2486
|
+
"description": "Absolute or relative path on the host filesystem to mount.\nRelative paths are resolved from projectHostPath.",
|
|
2397
2487
|
"type": "string"
|
|
2398
2488
|
},
|
|
2399
2489
|
"vfsPath": {
|
|
2490
|
+
"description": "Virtual filesystem path where the host path should be mounted.",
|
|
2400
2491
|
"type": "string"
|
|
2401
2492
|
}
|
|
2402
2493
|
},
|
|
@@ -2447,7 +2538,7 @@
|
|
|
2447
2538
|
"BYTES_PER_ELEMENT": {
|
|
2448
2539
|
"type": "number"
|
|
2449
2540
|
},
|
|
2450
|
-
"__@toStringTag@
|
|
2541
|
+
"__@toStringTag@506": {
|
|
2451
2542
|
"const": "Uint8Array",
|
|
2452
2543
|
"type": "string"
|
|
2453
2544
|
},
|
|
@@ -2466,7 +2557,7 @@
|
|
|
2466
2557
|
},
|
|
2467
2558
|
"required": [
|
|
2468
2559
|
"BYTES_PER_ELEMENT",
|
|
2469
|
-
"__@toStringTag@
|
|
2560
|
+
"__@toStringTag@506",
|
|
2470
2561
|
"buffer",
|
|
2471
2562
|
"byteLength",
|
|
2472
2563
|
"byteOffset",
|
|
@@ -2532,7 +2623,7 @@
|
|
|
2532
2623
|
"BYTES_PER_ELEMENT": {
|
|
2533
2624
|
"type": "number"
|
|
2534
2625
|
},
|
|
2535
|
-
"__@toStringTag@
|
|
2626
|
+
"__@toStringTag@506": {
|
|
2536
2627
|
"const": "Uint8Array",
|
|
2537
2628
|
"type": "string"
|
|
2538
2629
|
},
|
|
@@ -2551,7 +2642,7 @@
|
|
|
2551
2642
|
},
|
|
2552
2643
|
"required": [
|
|
2553
2644
|
"BYTES_PER_ELEMENT",
|
|
2554
|
-
"__@toStringTag@
|
|
2645
|
+
"__@toStringTag@506",
|
|
2555
2646
|
"buffer",
|
|
2556
2647
|
"byteLength",
|
|
2557
2648
|
"byteOffset",
|
|
@@ -2616,6 +2707,13 @@
|
|
|
2616
2707
|
"description": "Path to PHPUnit configuration file (relative to project root)",
|
|
2617
2708
|
"type": "string"
|
|
2618
2709
|
},
|
|
2710
|
+
"phpunitArgs": {
|
|
2711
|
+
"description": "Additional arguments to pass to PHPUnit",
|
|
2712
|
+
"items": {
|
|
2713
|
+
"type": "string"
|
|
2714
|
+
},
|
|
2715
|
+
"type": "array"
|
|
2716
|
+
},
|
|
2619
2717
|
"phpunitPath": {
|
|
2620
2718
|
"description": "Path to PHPUnit executable (relative to project root)",
|
|
2621
2719
|
"type": "string"
|
|
@@ -2645,28 +2743,26 @@
|
|
|
2645
2743
|
"Record<string,unknown>": {
|
|
2646
2744
|
"type": "object"
|
|
2647
2745
|
},
|
|
2648
|
-
"
|
|
2649
|
-
"
|
|
2650
|
-
|
|
2651
|
-
|
|
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": [
|
|
2652
2751
|
{
|
|
2653
|
-
"
|
|
2654
|
-
"type": "string"
|
|
2752
|
+
"$ref": "#/definitions/BaseReporterOptions"
|
|
2655
2753
|
},
|
|
2656
2754
|
{
|
|
2657
|
-
"
|
|
2755
|
+
"type": "boolean"
|
|
2658
2756
|
}
|
|
2659
2757
|
],
|
|
2660
|
-
"
|
|
2661
|
-
"minItems": 2,
|
|
2662
|
-
"type": "array"
|
|
2758
|
+
"description": "Default console reporter options.\nUse `true` to enable with defaults, or an object for custom options."
|
|
2663
2759
|
},
|
|
2664
|
-
{
|
|
2665
|
-
"
|
|
2666
|
-
"
|
|
2760
|
+
"json": {
|
|
2761
|
+
"$ref": "#/definitions/JsonReporterOptions",
|
|
2762
|
+
"description": "JSON file reporter options"
|
|
2667
2763
|
}
|
|
2668
|
-
|
|
2669
|
-
"
|
|
2764
|
+
},
|
|
2765
|
+
"type": "object"
|
|
2670
2766
|
},
|
|
2671
2767
|
"RequestStep": {
|
|
2672
2768
|
"description": "request",
|
|
@@ -2847,10 +2943,10 @@
|
|
|
2847
2943
|
},
|
|
2848
2944
|
"SharedArrayBuffer": {
|
|
2849
2945
|
"properties": {
|
|
2850
|
-
"__@species@
|
|
2946
|
+
"__@species@590": {
|
|
2851
2947
|
"$ref": "#/definitions/SharedArrayBuffer"
|
|
2852
2948
|
},
|
|
2853
|
-
"__@toStringTag@
|
|
2949
|
+
"__@toStringTag@506": {
|
|
2854
2950
|
"const": "SharedArrayBuffer",
|
|
2855
2951
|
"type": "string"
|
|
2856
2952
|
},
|
|
@@ -2859,8 +2955,8 @@
|
|
|
2859
2955
|
}
|
|
2860
2956
|
},
|
|
2861
2957
|
"required": [
|
|
2862
|
-
"__@species@
|
|
2863
|
-
"__@toStringTag@
|
|
2958
|
+
"__@species@590",
|
|
2959
|
+
"__@toStringTag@506",
|
|
2864
2960
|
"byteLength"
|
|
2865
2961
|
],
|
|
2866
2962
|
"type": "object"
|
|
@@ -2868,9 +2964,14 @@
|
|
|
2868
2964
|
"Tests": {
|
|
2869
2965
|
"description": "Test configuration specifying which test suites to run.",
|
|
2870
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
|
+
},
|
|
2871
2972
|
"phpunit": {
|
|
2872
2973
|
"$ref": "#/definitions/PHPUnitConfig",
|
|
2873
|
-
"description": "PHPUnit test configuration.\nWhen provided, runs PHPUnit tests with the specified paths.\nWhen undefined, PHPUnit tests are
|
|
2974
|
+
"description": "PHPUnit test configuration.\nWhen provided, runs PHPUnit tests with the specified paths.\nWhen undefined, PHPUnit tests are not run."
|
|
2874
2975
|
},
|
|
2875
2976
|
"plugin": {
|
|
2876
2977
|
"description": "Plugin slug to test.\nWhen provided, runs plugin-specific tests including activation, deactivation, and load tests.",
|
|
@@ -2880,6 +2981,10 @@
|
|
|
2880
2981
|
"description": "Theme slug to test.\nWhen provided, runs theme-specific tests including activation and homepage load tests.",
|
|
2881
2982
|
"type": "string"
|
|
2882
2983
|
},
|
|
2984
|
+
"watch": {
|
|
2985
|
+
"$ref": "#/definitions/WatchConfig",
|
|
2986
|
+
"description": "Watch mode configuration.\nControls which files are watched when using --watch flag."
|
|
2987
|
+
},
|
|
2883
2988
|
"wp": {
|
|
2884
2989
|
"default": false,
|
|
2885
2990
|
"description": "Whether to run WordPress core tests.\nTests WordPress boot, admin dashboard, and REST API.",
|
|
@@ -2934,7 +3039,7 @@
|
|
|
2934
3039
|
"BYTES_PER_ELEMENT": {
|
|
2935
3040
|
"type": "number"
|
|
2936
3041
|
},
|
|
2937
|
-
"__@toStringTag@
|
|
3042
|
+
"__@toStringTag@506": {
|
|
2938
3043
|
"const": "Uint8Array",
|
|
2939
3044
|
"type": "string"
|
|
2940
3045
|
},
|
|
@@ -2953,7 +3058,7 @@
|
|
|
2953
3058
|
},
|
|
2954
3059
|
"required": [
|
|
2955
3060
|
"BYTES_PER_ELEMENT",
|
|
2956
|
-
"__@toStringTag@
|
|
3061
|
+
"__@toStringTag@506",
|
|
2957
3062
|
"buffer",
|
|
2958
3063
|
"byteLength",
|
|
2959
3064
|
"byteOffset",
|
|
@@ -3130,6 +3235,26 @@
|
|
|
3130
3235
|
],
|
|
3131
3236
|
"type": "object"
|
|
3132
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
|
+
},
|
|
3133
3258
|
"WordPressInstallationOptions": {
|
|
3134
3259
|
"properties": {
|
|
3135
3260
|
"adminPassword": {
|
|
@@ -3157,7 +3282,7 @@
|
|
|
3157
3282
|
"BYTES_PER_ELEMENT": {
|
|
3158
3283
|
"type": "number"
|
|
3159
3284
|
},
|
|
3160
|
-
"__@toStringTag@
|
|
3285
|
+
"__@toStringTag@506": {
|
|
3161
3286
|
"const": "Uint8Array",
|
|
3162
3287
|
"type": "string"
|
|
3163
3288
|
},
|
|
@@ -3176,7 +3301,7 @@
|
|
|
3176
3301
|
},
|
|
3177
3302
|
"required": [
|
|
3178
3303
|
"BYTES_PER_ELEMENT",
|
|
3179
|
-
"__@toStringTag@
|
|
3304
|
+
"__@toStringTag@506",
|
|
3180
3305
|
"buffer",
|
|
3181
3306
|
"byteLength",
|
|
3182
3307
|
"byteOffset",
|
|
@@ -3217,7 +3342,7 @@
|
|
|
3217
3342
|
"BYTES_PER_ELEMENT": {
|
|
3218
3343
|
"type": "number"
|
|
3219
3344
|
},
|
|
3220
|
-
"__@toStringTag@
|
|
3345
|
+
"__@toStringTag@506": {
|
|
3221
3346
|
"const": "Uint8Array",
|
|
3222
3347
|
"type": "string"
|
|
3223
3348
|
},
|
|
@@ -3236,7 +3361,7 @@
|
|
|
3236
3361
|
},
|
|
3237
3362
|
"required": [
|
|
3238
3363
|
"BYTES_PER_ELEMENT",
|
|
3239
|
-
"__@toStringTag@
|
|
3364
|
+
"__@toStringTag@506",
|
|
3240
3365
|
"buffer",
|
|
3241
3366
|
"byteLength",
|
|
3242
3367
|
"byteOffset",
|
|
@@ -3411,23 +3536,30 @@
|
|
|
3411
3536
|
"projectType": {
|
|
3412
3537
|
"description": "Detected WordPress project type.\nAutomatically detected during setup based on project structure.",
|
|
3413
3538
|
"enum": [
|
|
3539
|
+
"other",
|
|
3414
3540
|
"plugin",
|
|
3415
3541
|
"theme",
|
|
3416
|
-
"
|
|
3417
|
-
"wordpress-install",
|
|
3542
|
+
"wordpress",
|
|
3418
3543
|
"wp-content"
|
|
3419
3544
|
],
|
|
3420
3545
|
"type": "string"
|
|
3421
3546
|
},
|
|
3547
|
+
"projectVFSPath": {
|
|
3548
|
+
"description": "Path where your project directory will be mounted in the WordPress environment.\n\nWhen not specified, the path is automatically determined based on projectType:\n- plugin: /wordpress/wp-content/plugins/{dir-name}\n- theme: /wordpress/wp-content/themes/{dir-name}\n- wp-content: /wordpress/wp-content\n- wordpress: /wordpress\n- other: **Required** - You must specify where your project directory should be mounted",
|
|
3549
|
+
"type": "string"
|
|
3550
|
+
},
|
|
3422
3551
|
"reporters": {
|
|
3423
|
-
"
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3552
|
+
"$ref": "#/definitions/Reporters",
|
|
3553
|
+
"default": {
|
|
3554
|
+
"default": {
|
|
3555
|
+
"failed": true,
|
|
3556
|
+
"other": true,
|
|
3557
|
+
"passed": true,
|
|
3558
|
+
"pending": true,
|
|
3559
|
+
"skipped": true
|
|
3560
|
+
}
|
|
3429
3561
|
},
|
|
3430
|
-
"
|
|
3562
|
+
"description": "Output reporters for test results.\nEach reporter can be configured with filtering options."
|
|
3431
3563
|
},
|
|
3432
3564
|
"tests": {
|
|
3433
3565
|
"$ref": "#/definitions/Tests",
|
|
@@ -3439,5 +3571,25 @@
|
|
|
3439
3571
|
"tests"
|
|
3440
3572
|
],
|
|
3441
3573
|
"type": "object",
|
|
3442
|
-
"$id": "https://raw.githubusercontent.com/bgrgicak/wp-tester/trunk/packages/config/src/schema.json"
|
|
3574
|
+
"$id": "https://raw.githubusercontent.com/bgrgicak/wp-tester/trunk/packages/config/src/schema.json",
|
|
3575
|
+
"additionalProperties": false,
|
|
3576
|
+
"allOf": [
|
|
3577
|
+
{
|
|
3578
|
+
"if": {
|
|
3579
|
+
"properties": {
|
|
3580
|
+
"projectType": {
|
|
3581
|
+
"const": "other"
|
|
3582
|
+
}
|
|
3583
|
+
},
|
|
3584
|
+
"required": [
|
|
3585
|
+
"projectType"
|
|
3586
|
+
]
|
|
3587
|
+
},
|
|
3588
|
+
"then": {
|
|
3589
|
+
"required": [
|
|
3590
|
+
"projectVFSPath"
|
|
3591
|
+
]
|
|
3592
|
+
}
|
|
3593
|
+
}
|
|
3594
|
+
]
|
|
3443
3595
|
}
|