@wp-playground/client 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 +8 -8
package/index.cjs
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
Theme not found at the provided theme path: ${l}.
|
|
39
39
|
Check the theme path to ensure it's correct.
|
|
40
40
|
If the theme is not installed, you can install it using the installTheme step.
|
|
41
|
-
More info can be found in the Blueprint documentation: https://wordpress.github.io/wordpress-playground/blueprints
|
|
41
|
+
More info can be found in the Blueprint documentation: https://wordpress.github.io/wordpress-playground/blueprints/steps/#ActivateThemeStep
|
|
42
42
|
`);const i=await r.run({code:`<?php
|
|
43
43
|
define( 'WP_ADMIN', true );
|
|
44
44
|
require_once( getenv('docroot') . "/wp-load.php" );
|
|
@@ -642,7 +642,7 @@ function join_paths()
|
|
|
642
642
|
}
|
|
643
643
|
|
|
644
644
|
Read more about it in the documentation.
|
|
645
|
-
https://wordpress.github.io/wordpress-playground/blueprints
|
|
645
|
+
https://wordpress.github.io/wordpress-playground/blueprints/data-format#extra-libraries`);let p;if(typeof t=="string"?(t=t.trim(),p=ds(t)):p=t,p.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
|
|
646
646
|
// Set up the environment to emulate a shell script
|
|
647
647
|
// call.
|
|
648
648
|
|
package/index.js
CHANGED
|
@@ -453,7 +453,7 @@ const Nr = "/wordpress/wp-content/debug.log", Nt = async (r) => await r.fileExis
|
|
|
453
453
|
Theme not found at the provided theme path: ${l}.
|
|
454
454
|
Check the theme path to ensure it's correct.
|
|
455
455
|
If the theme is not installed, you can install it using the installTheme step.
|
|
456
|
-
More info can be found in the Blueprint documentation: https://wordpress.github.io/wordpress-playground/blueprints
|
|
456
|
+
More info can be found in the Blueprint documentation: https://wordpress.github.io/wordpress-playground/blueprints/steps/#ActivateThemeStep
|
|
457
457
|
`);
|
|
458
458
|
const i = await r.run({
|
|
459
459
|
code: `<?php
|
|
@@ -1503,7 +1503,7 @@ const as = async (r, { command: t, wpCliPath: o = "/tmp/wp-cli.phar" }) => {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
|
|
1505
1505
|
Read more about it in the documentation.
|
|
1506
|
-
https://wordpress.github.io/wordpress-playground/blueprints
|
|
1506
|
+
https://wordpress.github.io/wordpress-playground/blueprints/data-format#extra-libraries`);
|
|
1507
1507
|
let p;
|
|
1508
1508
|
if (typeof t == "string" ? (t = t.trim(), p = ps(t)) : p = t, p.shift() !== "wp")
|
|
1509
1509
|
throw new Error('The first argument must be "wp".');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wp-playground/client",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.32",
|
|
4
4
|
"description": "WordPress Playground client",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"main": "./index.cjs",
|
|
38
38
|
"module": "./index.js",
|
|
39
39
|
"types": "index.d.ts",
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "56502a4027c3585d3c13c95f21300fd3ddd3589a",
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=18.18.0",
|
|
43
43
|
"npm": ">=8.11.0"
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"comlink": "^4.4.1",
|
|
48
48
|
"ini": "4.1.2",
|
|
49
49
|
"octokit": "3.1.1",
|
|
50
|
-
"@wp-playground/blueprints": "0.9.
|
|
51
|
-
"@php-wasm/universal": "0.9.
|
|
52
|
-
"@php-wasm/util": "0.9.
|
|
53
|
-
"@php-wasm/web": "0.9.
|
|
54
|
-
"@php-wasm/progress": "0.9.
|
|
55
|
-
"@php-wasm/logger": "0.9.
|
|
50
|
+
"@wp-playground/blueprints": "0.9.32",
|
|
51
|
+
"@php-wasm/universal": "0.9.32",
|
|
52
|
+
"@php-wasm/util": "0.9.32",
|
|
53
|
+
"@php-wasm/web": "0.9.32",
|
|
54
|
+
"@php-wasm/progress": "0.9.32",
|
|
55
|
+
"@php-wasm/logger": "0.9.32"
|
|
56
56
|
}
|
|
57
57
|
}
|