@wp-playground/blueprints 0.5.5 → 0.6.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/blueprint-schema.json +34 -2
- package/index.cjs +142 -73
- package/index.d.ts +67 -14
- package/index.js +4085 -3711
- package/lib/steps/enable-multisite.d.ts +24 -0
- package/lib/steps/handlers.d.ts +1 -0
- package/lib/steps/index.d.ts +5 -4
- package/lib/steps/request.d.ts +2 -2
- package/lib/steps/run-php.d.ts +2 -1
- package/lib/steps/unzip.d.ts +12 -4
- package/package.json +2 -2
package/blueprint-schema.json
CHANGED
|
@@ -515,6 +515,29 @@
|
|
|
515
515
|
},
|
|
516
516
|
"required": ["siteUrl", "step"]
|
|
517
517
|
},
|
|
518
|
+
{
|
|
519
|
+
"type": "object",
|
|
520
|
+
"additionalProperties": false,
|
|
521
|
+
"properties": {
|
|
522
|
+
"progress": {
|
|
523
|
+
"type": "object",
|
|
524
|
+
"properties": {
|
|
525
|
+
"weight": {
|
|
526
|
+
"type": "number"
|
|
527
|
+
},
|
|
528
|
+
"caption": {
|
|
529
|
+
"type": "string"
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
"additionalProperties": false
|
|
533
|
+
},
|
|
534
|
+
"step": {
|
|
535
|
+
"type": "string",
|
|
536
|
+
"const": "enableMultisite"
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
"required": ["step"]
|
|
540
|
+
},
|
|
518
541
|
{
|
|
519
542
|
"type": "object",
|
|
520
543
|
"additionalProperties": false,
|
|
@@ -1003,16 +1026,21 @@
|
|
|
1003
1026
|
"type": "string",
|
|
1004
1027
|
"const": "unzip"
|
|
1005
1028
|
},
|
|
1029
|
+
"zipFile": {
|
|
1030
|
+
"$ref": "#/definitions/FileReference",
|
|
1031
|
+
"description": "The zip file to extract"
|
|
1032
|
+
},
|
|
1006
1033
|
"zipPath": {
|
|
1007
1034
|
"type": "string",
|
|
1008
|
-
"description": "The zip file to extract"
|
|
1035
|
+
"description": "The path of the zip file to extract",
|
|
1036
|
+
"deprecated": "Use zipFile instead."
|
|
1009
1037
|
},
|
|
1010
1038
|
"extractToPath": {
|
|
1011
1039
|
"type": "string",
|
|
1012
1040
|
"description": "The path to extract the zip file to"
|
|
1013
1041
|
}
|
|
1014
1042
|
},
|
|
1015
|
-
"required": ["extractToPath", "step"
|
|
1043
|
+
"required": ["extractToPath", "step"]
|
|
1016
1044
|
},
|
|
1017
1045
|
{
|
|
1018
1046
|
"type": "object",
|
|
@@ -1240,6 +1268,10 @@
|
|
|
1240
1268
|
"code": {
|
|
1241
1269
|
"type": "string",
|
|
1242
1270
|
"description": "The code snippet to eval instead of a php file."
|
|
1271
|
+
},
|
|
1272
|
+
"throwOnError": {
|
|
1273
|
+
"type": "boolean",
|
|
1274
|
+
"description": "Whether to throw an error if the PHP process exits with a non-zero code or outputs to stderr."
|
|
1243
1275
|
}
|
|
1244
1276
|
},
|
|
1245
1277
|
"additionalProperties": false
|