@wp-playground/blueprints 0.9.31 → 0.9.32
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/index.cjs +2 -2
- package/index.js +2 -2
- package/package.json +11 -11
package/index.cjs
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
Theme not found at the provided theme path: ${u}.
|
|
36
36
|
Check the theme path to ensure it's correct.
|
|
37
37
|
If the theme is not installed, you can install it using the installTheme step.
|
|
38
|
-
More info can be found in the Blueprint documentation: https://wordpress.github.io/wordpress-playground/blueprints
|
|
38
|
+
More info can be found in the Blueprint documentation: https://wordpress.github.io/wordpress-playground/blueprints/steps/#ActivateThemeStep
|
|
39
39
|
`);const i=await r.run({code:`<?php
|
|
40
40
|
define( 'WP_ADMIN', true );
|
|
41
41
|
require_once( getenv('docroot') . "/wp-load.php" );
|
|
@@ -613,7 +613,7 @@ function join_paths()
|
|
|
613
613
|
}
|
|
614
614
|
|
|
615
615
|
Read more about it in the documentation.
|
|
616
|
-
https://wordpress.github.io/wordpress-playground/blueprints
|
|
616
|
+
https://wordpress.github.io/wordpress-playground/blueprints/data-format#extra-libraries`);let c;if(typeof t=="string"?(t=t.trim(),c=Hr(t)):c=t,c.shift()!=="wp")throw new Error('The first argument must be "wp".');await r.writeFile("/tmp/stdout",""),await r.writeFile("/tmp/stderr",""),await r.writeFile("/wordpress/run-cli.php",`<?php
|
|
617
617
|
// Set up the environment to emulate a shell script
|
|
618
618
|
// call.
|
|
619
619
|
|
package/index.js
CHANGED
|
@@ -76,7 +76,7 @@ const pr = [
|
|
|
76
76
|
Theme not found at the provided theme path: ${u}.
|
|
77
77
|
Check the theme path to ensure it's correct.
|
|
78
78
|
If the theme is not installed, you can install it using the installTheme step.
|
|
79
|
-
More info can be found in the Blueprint documentation: https://wordpress.github.io/wordpress-playground/blueprints
|
|
79
|
+
More info can be found in the Blueprint documentation: https://wordpress.github.io/wordpress-playground/blueprints/steps/#ActivateThemeStep
|
|
80
80
|
`);
|
|
81
81
|
const i = await r.run({
|
|
82
82
|
code: `<?php
|
|
@@ -1077,7 +1077,7 @@ const rt = async (r, { command: t, wpCliPath: f = "/tmp/wp-cli.phar" }) => {
|
|
|
1077
1077
|
}
|
|
1078
1078
|
|
|
1079
1079
|
Read more about it in the documentation.
|
|
1080
|
-
https://wordpress.github.io/wordpress-playground/blueprints
|
|
1080
|
+
https://wordpress.github.io/wordpress-playground/blueprints/data-format#extra-libraries`);
|
|
1081
1081
|
let c;
|
|
1082
1082
|
if (typeof t == "string" ? (t = t.trim(), c = tt(t)) : c = t, c.shift() !== "wp")
|
|
1083
1083
|
throw new Error('The first argument must be "wp".');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wp-playground/blueprints",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.32",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"import": "./index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"access": "public",
|
|
22
22
|
"directory": "../../../dist/packages/playground/blueprints"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "56502a4027c3585d3c13c95f21300fd3ddd3589a",
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": ">=18.18.0",
|
|
27
27
|
"npm": ">=8.11.0"
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"ajv": "8.12.0",
|
|
31
31
|
"comlink": "^4.4.1",
|
|
32
32
|
"ini": "4.1.2",
|
|
33
|
-
"@php-wasm/node-polyfills": "0.9.
|
|
34
|
-
"@php-wasm/universal": "0.9.
|
|
35
|
-
"@wp-playground/common": "0.9.
|
|
36
|
-
"@php-wasm/node": "0.9.
|
|
37
|
-
"@php-wasm/progress": "0.9.
|
|
38
|
-
"@php-wasm/util": "0.9.
|
|
39
|
-
"@php-wasm/logger": "0.9.
|
|
40
|
-
"@wp-playground/wordpress": "0.9.
|
|
41
|
-
"@php-wasm/scopes": "0.9.
|
|
33
|
+
"@php-wasm/node-polyfills": "0.9.32",
|
|
34
|
+
"@php-wasm/universal": "0.9.32",
|
|
35
|
+
"@wp-playground/common": "0.9.32",
|
|
36
|
+
"@php-wasm/node": "0.9.32",
|
|
37
|
+
"@php-wasm/progress": "0.9.32",
|
|
38
|
+
"@php-wasm/util": "0.9.32",
|
|
39
|
+
"@php-wasm/logger": "0.9.32",
|
|
40
|
+
"@wp-playground/wordpress": "0.9.32",
|
|
41
|
+
"@php-wasm/scopes": "0.9.32"
|
|
42
42
|
}
|
|
43
43
|
}
|