- Update @wp-playground/cli to v3.0.22 (from deprecated v1.0.28) - Add bin/playground-test.sh for AI assistant CLI testing - Add bin/localwp-setup.sh for LocalWP integration - Create .agents/local-testing-guide.md documentation - Update blueprints to use new installPlugin step format - Add npm scripts for playground:start/stop/status - Add npm scripts for localwp:create/sync/reset - Update GitHub Actions to use new CLI version - Use PHP 8.0 and latest WordPress in blueprints
53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
|
|
"landingPage": "/wp-admin/network/plugins.php",
|
|
"login": true,
|
|
"preferredVersions": {
|
|
"php": "8.0",
|
|
"wp": "latest"
|
|
},
|
|
"features": {
|
|
"networking": true
|
|
},
|
|
"steps": [
|
|
{
|
|
"step": "defineWpConfigConsts",
|
|
"consts": {
|
|
"WP_DEBUG": true,
|
|
"WP_DEBUG_LOG": true,
|
|
"WP_DEBUG_DISPLAY": true,
|
|
"SCRIPT_DEBUG": true
|
|
}
|
|
},
|
|
{
|
|
"step": "enableMultisite"
|
|
},
|
|
{
|
|
"step": "wp-cli",
|
|
"command": "wp site create --slug=testsite --title='Test Site'"
|
|
},
|
|
{
|
|
"step": "installPlugin",
|
|
"pluginData": {
|
|
"resource": "wordpress.org/plugins",
|
|
"slug": "plugin-toggle"
|
|
},
|
|
"options": {
|
|
"activate": true,
|
|
"networkActivate": true
|
|
}
|
|
},
|
|
{
|
|
"step": "installPlugin",
|
|
"pluginData": {
|
|
"resource": "wordpress.org/plugins",
|
|
"slug": "kadence-blocks"
|
|
},
|
|
"options": {
|
|
"activate": true,
|
|
"networkActivate": true
|
|
}
|
|
}
|
|
]
|
|
}
|