-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate WordPress block asset files from PHP to JSON format (#1656)
* Improve unzipping compat Signed-off-by: Joe Fusco <[email protected]> * Fix liniting issues Signed-off-by: Joe Fusco <[email protected]> * Fix liniting issues Signed-off-by: Joe Fusco <[email protected]> * Fix linting issues Signed-off-by: Joe Fusco <[email protected]> * Clean up unused functions & tests Signed-off-by: Joe Fusco <[email protected]> * Add test coverage Signed-off-by: Joe Fusco <[email protected]> * Match parent class Signed-off-by: Joe Fusco <[email protected]> * Fix PSR-4 warning Signed-off-by: Joe Fusco <[email protected]> * Improve block tests Signed-off-by: Joe Fusco <[email protected]> * Attempt to fix failing test config Signed-off-by: Joe Fusco <[email protected]> * failing tests Signed-off-by: Joe Fusco <[email protected]> * Update tests Signed-off-by: Joe Fusco <[email protected]> * Fix refactoring issues Signed-off-by: Joe Fusco <[email protected]> * Explicitly require patchwork Signed-off-by: Joe Fusco <[email protected]> * Require patchwork before anything else Signed-off-by: Joe Fusco <[email protected]> * Correct path to Patchwork Signed-off-by: Joe Fusco <[email protected]> * Attempt to resolve failing E2E tests Signed-off-by: Joe Fusco <[email protected]> * Scope requiring patchwork to it’s relevant class Signed-off-by: Joe Fusco <[email protected]> * Revert "Scope requiring patchwork to it’s relevant class" This reverts commit 9b3371a. * Avoid polluting codeception env with Patchwork Signed-off-by: Joe Fusco <[email protected]> * Conditionally load patchwork package via env Signed-off-by: Joe Fusco <[email protected]> * Only update antecedent/patchwork in lockfile Signed-off-by: Joe Fusco <[email protected]> * Clean up refactor Signed-off-by: Joe Fusco <[email protected]> * Use our own directories method Signed-off-by: Joe Fusco <[email protected]> * Update tests to reflect function argument changes Signed-off-by: Joe Fusco <[email protected]> * Clean up Signed-off-by: Joe Fusco <[email protected]> * Revert "Clean up" This reverts commit 7352acc. * Prevent .php inclusion as faust handles dependencies Signed-off-by: Joe Fusco <[email protected]> * Update block-support example deps Signed-off-by: Joe Fusco <[email protected]> * Ensure --webpack-no-externals is used to remove generated php Signed-off-by: Joe Fusco <[email protected]> * leave wp deps alone Signed-off-by: Joe Fusco <[email protected]> * Remove problematic CLI flag Signed-off-by: Joe Fusco <[email protected]> * Handle PHP block files in the CLI w/ tests Signed-off-by: Joe Fusco <[email protected]> * Resolve linting errors Signed-off-by: Joe Fusco <[email protected]> * Clean up logging Signed-off-by: Joe Fusco <[email protected]> * Resolve phpcs issue Signed-off-by: Joe Fusco <[email protected]> * Resolve phpcs issue Signed-off-by: Joe Fusco <[email protected]> * Fix asset loading Signed-off-by: Joe Fusco <[email protected]> * Sync lockfile Signed-off-by: Joe Fusco <[email protected]> * Resolve linting issues Signed-off-by: Joe Fusco <[email protected]> * Fix linting warnings Signed-off-by: Joe Fusco <[email protected]> * Update lockfile Signed-off-by: Joe Fusco <[email protected]> --------- Signed-off-by: Joe Fusco <[email protected]>
- Loading branch information
1 parent
fd0edd5
commit 205fb09
Showing
14 changed files
with
603 additions
and
183 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@faustwp/wordpress-plugin': patch | ||
--- | ||
|
||
Improved plugin's process for handling blockset file uploads by leveraging WordPress' native [unzip_file](https://developer.wordpress.org/reference/functions/unzip_file/) function. |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.