diff --git a/.github/blueprints/blueprint.json b/.github/blueprints/blueprint.json new file mode 100644 index 0000000..dcc158c --- /dev/null +++ b/.github/blueprints/blueprint.json @@ -0,0 +1,45 @@ +{ + "$schema": "https://playground.wordpress.net/blueprint-schema.json", + "meta": { + "title": "WP Content Connect", + "description": "WordPress library that enables direct relationships for posts to posts and posts to users.", + "author": "10up" + }, + "landingPage": "/wp-admin/", + "preferredVersions": { + "php": "8.3", + "wp": "latest" + }, + "features": { + "networking": true + }, + "login": true, + "steps": [ + { + "step": "installPlugin", + "pluginData": { + "resource": "url", + "url": "https://github.com/10up/wp-content-connect/archive/refs/heads/develop.zip" + }, + "options": { + "activate": true, + "targetFolderName": "wp-content-connect" + } + }, + { + "step": "installPlugin", + "pluginData": { + "resource": "git:directory", + "url": "https://github.com/fabiankaegy/wp-content-connect-example-data", + "ref": "main" + }, + "options": { + "activate": true + } + }, + { + "step": "wp-cli", + "command": "wp content-connect-example generate --universities=10 --cities=20 --people=100" + } + ] +} diff --git a/CHANGELOG.md b/CHANGELOG.md index dcf19cd..f936a5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ The changes below affect only code that referenced plugin **internals** that wer - Block Editor UI integration with automatic relationship panels in the Document Settings sidebar (props [@fabiankaegy](https://github.com/fabiankaegy), [@barryceelen](https://github.com/barryceelen), [@s3rgiosan](https://github.com/s3rgiosan) via [#94](https://github.com/10up/wp-content-connect/pull/94)). - WordPress JavaScript filter hooks `contentConnect.searchResultFilter`, `contentConnect.pickedItemFilter`, and `contentConnect.pickedItemPreviewComponent` for customizing the Block Editor UI, with relationship context awareness (props [@s3rgiosan](https://github.com/s3rgiosan) via [#104](https://github.com/10up/wp-content-connect/pull/104)). - WordPress 7.0 compatibility; set WordPress minimum supported version to 6.8 (props [@mphillips](https://github.com/mphillips) via [#120](https://github.com/10up/wp-content-connect/pull/120)). +- WordPress Playground blueprint (`.github/blueprints/blueprint.json`) for a one-click, zero-install plugin demo (props [@s3rgiosan](https://github.com/s3rgiosan) via [#122](https://github.com/10up/wp-content-connect/pull/122)). ### Changed