@wp-playground/blueprints 3.1.20 → 3.1.22

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.
@@ -57,8 +57,20 @@
57
57
  "description": "The preferred PHP version to use. If not specified, the latest supported version will be used.\n\nNote: PHP 7.2 and 7.3 are deprecated and will be automatically upgraded to 7.4."
58
58
  },
59
59
  "wp": {
60
- "type": "string",
61
- "description": "The preferred WordPress version to use. If not specified, the latest supported version will be used"
60
+ "anyOf": [
61
+ {
62
+ "type": "string"
63
+ },
64
+ {
65
+ "type": "string",
66
+ "const": "latest"
67
+ },
68
+ {
69
+ "type": "boolean",
70
+ "const": false
71
+ }
72
+ ],
73
+ "description": "The preferred WordPress version to use, or `false` to boot a PHP-only Playground without downloading or installing WordPress. If not specified, the latest supported version will be used.\n\nWhen set to `false`, WordPress-specific Blueprint fields (`plugins`, `siteOptions`, `login`, and WordPress-only steps) are rejected at compile time."
62
74
  }
63
75
  },
64
76
  "required": ["php", "wp"],
@@ -175,7 +187,7 @@
175
187
  "BlueprintPHPVersion": {
176
188
  "anyOf": [
177
189
  {
178
- "$ref": "#/definitions/SupportedPHPVersion"
190
+ "$ref": "#/definitions/AllPHPVersion"
179
191
  },
180
192
  {
181
193
  "type": "string",
@@ -188,10 +200,24 @@
188
200
  ],
189
201
  "description": "PHP versions accepted in Blueprint schema. Includes deprecated versions (7.2, 7.3) which are automatically upgraded to 7.4 during compilation."
190
202
  },
203
+ "AllPHPVersion": {
204
+ "anyOf": [
205
+ {
206
+ "$ref": "#/definitions/SupportedPHPVersion"
207
+ },
208
+ {
209
+ "$ref": "#/definitions/LegacyPHPVersion"
210
+ }
211
+ ]
212
+ },
191
213
  "SupportedPHPVersion": {
192
214
  "type": "string",
193
215
  "enum": ["8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.4"]
194
216
  },
217
+ "LegacyPHPVersion": {
218
+ "type": "string",
219
+ "enum": ["5.2"]
220
+ },
195
221
  "ExtraLibrary": {
196
222
  "type": "string",
197
223
  "const": "wp-cli"