@wp-playground/blueprints 3.0.41 → 3.0.43
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-validator.js +864 -745
- package/blueprint-schema.json +19 -13
- package/index.cjs +47 -45
- package/index.cjs.map +1 -1
- package/index.js +1379 -1301
- package/index.js.map +1 -1
- package/lib/v1/types.d.ts +10 -2
- package/package.json +14 -14
package/lib/v1/types.d.ts
CHANGED
|
@@ -7,6 +7,12 @@ export type ExtraLibrary = 'wp-cli';
|
|
|
7
7
|
export type PHPConstants = Record<string, string | boolean | number>;
|
|
8
8
|
export type StreamBundledFile = (relativePath: string) => Promise<StreamedFile>;
|
|
9
9
|
export type BlueprintV1 = BlueprintV1Declaration | BlueprintBundle;
|
|
10
|
+
/**
|
|
11
|
+
* PHP versions accepted in Blueprint schema.
|
|
12
|
+
* Includes deprecated versions (7.2, 7.3) which are automatically
|
|
13
|
+
* upgraded to 7.4 during compilation.
|
|
14
|
+
*/
|
|
15
|
+
export type BlueprintPHPVersion = SupportedPHPVersion | '7.2' | '7.3';
|
|
10
16
|
/**
|
|
11
17
|
* The Blueprint declaration, typically stored in a blueprint.json file.
|
|
12
18
|
*/
|
|
@@ -51,9 +57,11 @@ export type BlueprintV1Declaration = {
|
|
|
51
57
|
preferredVersions?: {
|
|
52
58
|
/**
|
|
53
59
|
* The preferred PHP version to use.
|
|
54
|
-
* If not specified, the latest supported version will be used
|
|
60
|
+
* If not specified, the latest supported version will be used.
|
|
61
|
+
*
|
|
62
|
+
* Note: PHP 7.2 and 7.3 are deprecated and will be automatically upgraded to 7.4.
|
|
55
63
|
*/
|
|
56
|
-
php:
|
|
64
|
+
php: BlueprintPHPVersion | 'latest';
|
|
57
65
|
/**
|
|
58
66
|
* The preferred WordPress version to use.
|
|
59
67
|
* If not specified, the latest supported version will be used
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wp-playground/blueprints",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.43",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"import": "./index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"access": "public",
|
|
26
26
|
"directory": "../../../dist/packages/playground/blueprints"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "a73661b5ec1f5d4bd2b1cd29789625d80561ff85",
|
|
29
29
|
"engines": {
|
|
30
30
|
"node": ">=20.18.3",
|
|
31
31
|
"npm": ">=10.1.0"
|
|
@@ -51,18 +51,18 @@
|
|
|
51
51
|
"wasm-feature-detect": "1.8.0",
|
|
52
52
|
"ws": "8.18.3",
|
|
53
53
|
"yargs": "17.7.2",
|
|
54
|
-
"@php-wasm/node-polyfills": "3.0.
|
|
55
|
-
"@wp-playground/storage": "3.0.
|
|
56
|
-
"@wp-playground/common": "3.0.
|
|
57
|
-
"@php-wasm/universal": "3.0.
|
|
58
|
-
"@php-wasm/util": "3.0.
|
|
59
|
-
"@php-wasm/node": "3.0.
|
|
60
|
-
"@wp-playground/wordpress": "3.0.
|
|
61
|
-
"@php-wasm/logger": "3.0.
|
|
62
|
-
"@php-wasm/scopes": "3.0.
|
|
63
|
-
"@php-wasm/progress": "3.0.
|
|
64
|
-
"@php-wasm/stream-compression": "3.0.
|
|
65
|
-
"@php-wasm/web": "3.0.
|
|
54
|
+
"@php-wasm/node-polyfills": "3.0.43",
|
|
55
|
+
"@wp-playground/storage": "3.0.43",
|
|
56
|
+
"@wp-playground/common": "3.0.43",
|
|
57
|
+
"@php-wasm/universal": "3.0.43",
|
|
58
|
+
"@php-wasm/util": "3.0.43",
|
|
59
|
+
"@php-wasm/node": "3.0.43",
|
|
60
|
+
"@wp-playground/wordpress": "3.0.43",
|
|
61
|
+
"@php-wasm/logger": "3.0.43",
|
|
62
|
+
"@php-wasm/scopes": "3.0.43",
|
|
63
|
+
"@php-wasm/progress": "3.0.43",
|
|
64
|
+
"@php-wasm/stream-compression": "3.0.43",
|
|
65
|
+
"@php-wasm/web": "3.0.43"
|
|
66
66
|
},
|
|
67
67
|
"packageManager": "npm@10.9.2",
|
|
68
68
|
"overrides": {
|