Skip to content

[CLI] Move Blueprints v2 to Playground CLI package #2364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 14, 2025

Conversation

adamziel
Copy link
Collaborator

@adamziel adamziel commented Jul 14, 2025

Motivation for the change, related issues

Moves Blueprints v2 .phar file and the TypeScript module into the @wp-playground/cli package and brushes up its logic.

This PR only moves dead code around. However, it also changes the dependency graph of the project and affects the computed package.json files, as in @wp-playground/cli now depends on fs-ext. For that reason, there's also a change in the build machinery.

Also, v2.spec.ts uncovered a piping issue where polling after closing the pipe caused a fatal error. Therefore, this PR adds an FS.isClosed() check.

A part of #2281

Testing plan

CI

@adamziel adamziel merged commit 2cb1c48 into trunk Jul 14, 2025
24 of 25 checks passed
@adamziel adamziel deleted the use-blueprints-v2-runner-in-cli-same-histories branch July 14, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant