-
Notifications
You must be signed in to change notification settings - Fork 270
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
Cannot find package @wp-playground/wordpress-builds
#2026
Comments
@swissspidy Thank you for reporting! It seems like As a temporary workaround until the underlying problem is solved, you can install that package manually – it's on npm. |
Ah, #1987 created a dependency between the Blueprints package and the WordPress builds package. @bgrgicak let's pull the WordPress version details from https://api.wordpress.org/core/version-check/1.7/?channel=beta instead of using the version of the latest minified web build the web as a proxy for the latest WordPress version. |
… of assuming it's the same as the last minified build WordPress builds package, breaking `@wp-playground/cli` in #2026 This PR updates the setSiteLanguage step to pull the latest/bets WordPress version details from api.wordpress.org/core/version-check/1.7?channel=beta instead of implicitly assuming the latest version is the same as that of the latest minified web build. It reuses the Playground CLI resolveWordPressRelease function, bringing us closer to having zero CLI-specific logic. ## Testing instructions * CI tests * Run Playground CLI via `bun packages/playground/cli/src/cli.ts server` and confirm WordPress is still being downloaded without errors.
Fix incoming in #2027 |
… of assuming it's the same as the last minified build (#2027) #1987 created a dependency between the `@wp-playground/blueprints` package and the `@wp-playground/wordpress-builds` package breaking `@wp-playground/cli` – see #2026 This PR updates the setSiteLanguage step to pull the latest/best WordPress version details from api.wordpress.org/core/version-check/1.7?channel=beta instead of implicitly assuming the latest version is the same as that of the latest minified web build. It reuses the Playground CLI resolveWordPressRelease function, bringing us closer to having zero CLI-specific logic. ## Follow-up work Invent an ESLint rule to prevent further dependencies on `@wp-playground/wordpress-builds` ## Testing instructions * CI tests * Run Playground CLI via `bun packages/playground/cli/src/cli.ts server` and confirm WordPress is still being downloaded without errors. cc @swissspidy @bgrgicak
From my perspective, yes. The latest version on npm now works for me. Thanks y'all! |
In my custom GitHub Action I am using Playground to run performance tests in CI.
Something now broke in the update of
@wp-playground/cli
from 1.0.12 to 1.0.13, as can be seen at swissspidy/wp-performance-action#213 (CI run: https://github.com/swissspidy/wp-performance-action/actions/runs/12010649165/job/33477942835?pr=213)I am calling
./node_modules/@wp-playground/cli/wp-playground.js server
directly and with 1.0.13 I get the following error:Any help appreciated.
The text was updated successfully, but these errors were encountered: