-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WordPress Build: Use Playground CLI to produce minified WordPress bui…
…ld (without the SQLite integration plugin) (#1426) Uses Playground CLI to produce the minified WordPress builds: ```bash $ bun \ packages/playground/cli/src/cli.ts run-blueprint \ --wp=https://wordpress.org/6.5.zip \ --mount-before-install=./wordpress-site:/wordpress ``` Those new builds ships **without** the SQLite database integration plugin but **with** the SQLite database file containing all the data and tables created by a vanilla WordPress installation. Advantages: * Less code to maintain – Playground CLI replaces a custom bash script relying on wget, unzip, sed, wp-cli etc. * More testing for our internal tools – we're dogfooding Playground CLI and the boot protocol in the critical code path. ## Testing instructions * Confirm the CI checks passed – this is about as good of a testing as we can get. * Run `npm run dev` and confirm the local Playground loads without any issues. Run `bun packages/playground/cli/src/cli.ts server --login` and confirm it loads an installed WordPress. Related: #1398
- Loading branch information
Showing
30 changed files
with
264 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 12 additions & 11 deletions
23
packages/playground/blueprints/src/lib/steps/import-wxr.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 14 additions & 13 deletions
27
packages/playground/blueprints/src/lib/steps/login.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.