Skip to content

feat: add WordPress Playground blueprint with demo users#8

Merged
josephfusco merged 1 commit intomainfrom
feat/playground-blueprint
Apr 6, 2026
Merged

feat: add WordPress Playground blueprint with demo users#8
josephfusco merged 1 commit intomainfrom
feat/playground-blueprint

Conversation

@josephfusco
Copy link
Copy Markdown
Collaborator

Move demo seeder from tests/e2e/ to includes/cli/ so it ships in the production zip. Blueprint uses wp-cli step to seed 5 demo users. Playground link added to README.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a WordPress Playground blueprint and ensures the demo user seeder is shipped with production builds, making it easier to spin up a live demo environment.

Changes:

  • Added blueprint.json to install the plugin in WordPress Playground and seed 5 demo users via WP-CLI.
  • Moved/pointed the demo seeder to includes/cli/ so it’s available in production zips and referenced by the CLI command.
  • Added a WordPress Playground link to the README.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
README.md Adds a Playground link for quick testing.
phpstan.neon.dist Updates PHPStan scan path to the new demo seeder location.
includes/cli/demo-seeder.php Formats/ships the demo seeder in the production code path.
includes/cli/class-wp-presence-cli-command.php Updates the CLI command to require the seeder from includes/cli/.
blueprint.json New Playground blueprint to install the plugin and run wp presence demo 5.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@josephfusco josephfusco force-pushed the feat/playground-blueprint branch from 6b9671b to 15a897c Compare April 6, 2026 17:45
Remove demo CLI command from production plugin. Demo seeder
stays in tests/e2e/ and is excluded from the release zip.
Blueprint fetches it from GitHub at runtime via writeFile.
Playground link added to README.
@josephfusco josephfusco force-pushed the feat/playground-blueprint branch from 15a897c to a1ed56a Compare April 6, 2026 17:58
@josephfusco josephfusco merged commit 54430ce into main Apr 6, 2026
4 checks passed
@josephfusco josephfusco deleted the feat/playground-blueprint branch April 6, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants