-
Notifications
You must be signed in to change notification settings - Fork 136
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
Add Plugin Tests #1601
Add Plugin Tests #1601
Conversation
Signed-off-by: Joe Fusco <[email protected]>
…stjs into nojira-add-blockset-command
…ommand-plugin-tests
|
Signed-off-by: Joe Fusco <[email protected]>
📦 Next.js Bundle Analysis for @faustwp/block-support-exampleThis analysis was generated by the Next.js Bundle Analysis action. 🤖 🎉 Global Bundle Size Decreased
DetailsThe global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster. Any third party scripts you have added directly to your app using the If you want further insight into what is behind the changes, give @next/bundle-analyzer a try! |
📦 Next.js Bundle Analysis for @faustwp/getting-started-exampleThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
* Add new block-support example project Signed-off-by: Joe Fusco <[email protected]> * Auto analyze new project Signed-off-by: Joe Fusco <[email protected]> * Update dependencies Signed-off-by: Joe Fusco <[email protected]> * Remove hardcoded theme.json Signed-off-by: Joe Fusco <[email protected]> * Ignore globalStylesheet.css Signed-off-by: Joe Fusco <[email protected]> * Reduce example to just block things Signed-off-by: Joe Fusco <[email protected]> * Add newline to EOF Signed-off-by: Joe Fusco <[email protected]> * Reduce example Signed-off-by: Joe Fusco <[email protected]> * Update lockfile after merge Signed-off-by: Joe Fusco <[email protected]> * Constrain layout using existing core class Signed-off-by: Joe Fusco <[email protected]> * Not being used Signed-off-by: Joe Fusco <[email protected]> * Irrelevant comment Signed-off-by: Joe Fusco <[email protected]> * Scaffold out new plugin files Signed-off-by: Joe Fusco <[email protected]> * Add new dependencies Signed-off-by: Joe Fusco <[email protected]> * Add blockset command Signed-off-by: Joe Fusco <[email protected]> * Add new command to block support example Signed-off-by: Joe Fusco <[email protected]> * Register new REST endpoint to handle unzipping blocks Signed-off-by: Joe Fusco <[email protected]> * Fix example project deps Signed-off-by: Joe Fusco <[email protected]> * Fix namespace issue Signed-off-by: Joe Fusco <[email protected]> * Refactor into testable functions Signed-off-by: Joe Fusco <[email protected]> * Mock custom block Signed-off-by: Joe Fusco <[email protected]> * Ignore .faust Signed-off-by: Joe Fusco <[email protected]> * Fix namespacing issues in WP plugin Signed-off-by: Joe Fusco <[email protected]> * Clean up comments Signed-off-by: Joe Fusco <[email protected]> * Improve readability Signed-off-by: Joe Fusco <[email protected]> * Add deps Signed-off-by: Joe Fusco <[email protected]> * Add second block example to test blockset Signed-off-by: Joe Fusco <[email protected]> * Export functions for tests Signed-off-by: Joe Fusco <[email protected]> * Remove unused jest-dom in CLI package Signed-off-by: Joe Fusco <[email protected]> * Remove unused package Signed-off-by: Joe Fusco <[email protected]> * Add new utility function Signed-off-by: Joe Fusco <[email protected]> * Ignore for tests Signed-off-by: Joe Fusco <[email protected]> * Refactor blockset command Signed-off-by: Joe Fusco <[email protected]> * New line at EOF Signed-off-by: Joe Fusco <[email protected]> * Linting fixes Signed-off-by: Joe Fusco <[email protected]> * Return true upon success Signed-off-by: Joe Fusco <[email protected]> * Use available logging methods Signed-off-by: Joe Fusco <[email protected]> * Remove code already in handle_uploaded_blockset & setup translations Signed-off-by: Joe Fusco <[email protected]> * Add missing dep Signed-off-by: Joe Fusco <[email protected]> * Linting fixes Signed-off-by: Joe Fusco <[email protected]> * Linting fixes Signed-off-by: Joe Fusco <[email protected]> * Resolve merge conflicts Signed-off-by: Joe Fusco <[email protected]> * Feat: Add compileBlocks step. * Automatically load custom blocks from uploads Signed-off-by: Joe Fusco <[email protected]> * Fix enqueues from the uploads directory Signed-off-by: Joe Fusco <[email protected]> * Fix linting issues Signed-off-by: Joe Fusco <[email protected]> * Feat: Check if project uses yarn when compiling blocks * Use enqueue_block_editor_assets to avoid unnecessary runs Signed-off-by: Joe Fusco <[email protected]> * Remove explicit registration using args Signed-off-by: Joe Fusco <[email protected]> * Add required titles Signed-off-by: Joe Fusco <[email protected]> * Correct the asset src for the blocks in uploads Signed-off-by: Joe Fusco <[email protected]> * Linting fixes Signed-off-by: Joe Fusco <[email protected]> * Remove unused functions Signed-off-by: Joe Fusco <[email protected]> * Deps: Add wp-scripts in peer deps. * Chore: Add changeset. * Deps: Update rimraf * Chore: Update deps. * Refactor: Update hasYarn * Chore: Update package-lock * Chore: update package-lock again * Chore: add missing export. * Chore: remove faust blockset from predev,prebuild * Fix blocks missing from WPGraphQL & prevent unnecessary block registrations Signed-off-by: Joe Fusco <[email protected]> * Fix linting issues Signed-off-by: Joe Fusco <[email protected]> * Example: Add block using `registerFaustBlock` helper * Refactor: Update block comments * Add plugin tests Signed-off-by: Joe Fusco <[email protected]> * Add Plugin Tests (#1601) * Add plugin tests Signed-off-by: Joe Fusco <[email protected]> * Add test coverage for utility functions Signed-off-by: Joe Fusco <[email protected]> --------- Signed-off-by: Joe Fusco <[email protected]> * Remove orphaned test Signed-off-by: Joe Fusco <[email protected]> * Track possibleTypes & globalStylesheet generated files Signed-off-by: Joe Fusco <[email protected]> * Build possibleTypes Signed-off-by: Joe Fusco <[email protected]> * Add @wordpress/scripts to block-support-example Signed-off-by: Joe Fusco <[email protected]> * Auto run blockset in block example Signed-off-by: Joe Fusco <[email protected]> * Ignore Faust generated files Signed-off-by: Joe Fusco <[email protected]> * Remove previously tracked file Signed-off-by: Joe Fusco <[email protected]> * Fix version regression from merge conflict Signed-off-by: Joe Fusco <[email protected]> * Refactor: Change block-C as block-B * Fix: Remove @ts-ignore comment. * CI/CD fix tests with faustwp-cli * Example block support: Remove blockset. * Chore: Code review fixes. * Chore: add Component.fragments * Chore: Update package-lock.json * Chore: Add gql missing import. * Tests: Update fromThemeJson.test snapshot. * Style: Add block styles in front-end * Styles: Consistent styles fixed. * CI/CD: Fix test cases. * Test: Update CoreCode test snapshot. * CI/CD: Update types in Toolbar.test.tsx * CI/CD: Remove examples/next/block-support from bundle analysis. --------- Signed-off-by: Joe Fusco <[email protected]> Co-authored-by: theodesp <[email protected]>
No description provided.