Skip to content

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

Merged
adamziel merged 4 commits into
trunkfrom
use-blueprints-v2-runner-in-cli-same-histories
Jul 14, 2025
Merged

[CLI] Move Blueprints v2 to Playground CLI package#2364
adamziel merged 4 commits into
trunkfrom
use-blueprints-v2-runner-in-cli-same-histories

Conversation

@adamziel

@adamziel adamziel commented Jul 14, 2025

Copy link
Copy Markdown
Collaborator

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

1 participant