Skip to content

Commit

Permalink
Restore nightly wordpress build (#1437)
Browse files Browse the repository at this point in the history
## What is this PR doing?

This PR restores the nightly WordPress build target which appears to
have been inadvertently removed by
c6d06f2.

## How is the problem addressed?

It restores the "bundle-wordpress:nightly" target that was present
immediately before removal.

## Testing Instructions

- Run: `export FORCE_REBUILD=true; npx nx run --skip-nx-cache
playground-wordpress-builds:bundle-wordpress:nightly`
- Observe that it produces a new version of the nightly build.
- Run `npm run dev` and confirm you can run Playground from the dev
server using the nightly WP version
  • Loading branch information
brandonpayton authored May 21, 2024
1 parent 8fb2623 commit 75c19ab
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions packages/playground/wordpress-builds/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
"bundle-wordpress:major-and-beta"
]
},
"bundle-sqlite-database": {
"bundle-wordpress:nightly": {
"executor": "nx:run-commands",
"options": {
"commands": [
"node packages/playground/wordpress-builds/build/refresh-sqlite-integration-plugin.js --output-dir=packages/playground/wordpress-builds/src/sqlite-database-integration "
"node packages/playground/wordpress-builds/build/build.js --wp-version=nightly --output-js=packages/playground/wordpress-builds/src/wordpress --output-assets=packages/playground/wordpress-builds/public"
],
"parallel": false
}
Expand All @@ -57,6 +57,15 @@
"parallel": false
}
},
"bundle-sqlite-database": {
"executor": "nx:run-commands",
"options": {
"commands": [
"node packages/playground/wordpress-builds/build/refresh-sqlite-integration-plugin.js --output-dir=packages/playground/wordpress-builds/src/sqlite-database-integration "
],
"parallel": false
}
},
"test": {
"executor": "nx:noop",
"dependsOn": ["test:vite"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function getWordPressModuleDetails(wpVersion: string = "6.5"): { size: nu
case 'nightly':
/** @ts-ignore */
return {
size: 4989289,
size: 4989363,
url: url_nightly,
};

Expand Down
Binary file modified packages/playground/wordpress-builds/src/wordpress/wp-nightly.zip
Binary file not shown.

0 comments on commit 75c19ab

Please sign in to comment.