Conversation
Script now ships with pt-cli instead of the theme — keeps it off the production web server without needing .distignore exclusion. Update CLAUDE.md paths and remove scripts/* from .distignore accordingly.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This release (v4.0.1) applies a comprehensive whitespace normalization pass across the entire pattern library, removes over 1,100 lines of extraneous whitespace from 70+ PHP pattern files to comply with WordPress block serialization requirements, and resolves several WooCommerce-specific block markup issues. The demo rebuild script has been extracted from the theme's
scripts/directory and relocated to thept-clivendor package, keeping it off the production web server and centralizing tooling maintenance. Dependencies were updated to pt-cli v2.3.1, symfony/console v7.4.11, and symfony/string v8.0.11. Developer documentation inCLAUDE.mdand.vibe/config.tomlwas updated to reflect the new script location and multisite rebuild workflow.Pattern Library Cleanup:
<div>tags and adjacent block comment delimiters — violations that cause WordPress block serialization failures.WooCommerce Pattern Fixes:
shop-filters-sidebar.phpand related patterns.woo-featured-products.phptowoo-signature-pieces.phpto better reflect its editorial intent and align with the demo store content strategy.Tooling and Infrastructure:
scripts/rebuild-demo.phpfrom the theme directory; the script now ships with thept-clivendor package atvendor/imagewize/pt-cli/scripts/rebuild-demo.php, preventing accidental exposure on the production web server.rebuild-demo.phpwith multisite subsite support, enabling per-subsite page map lookups and--url=targeting via WP-CLI for installs running WooCommerce on a subdirectory subsite.CLAUDE.mdwith corrected WP-CLI invocation examples for both single-site and multisite rebuild workflows, and revised.distignoreaccordingly.Files Changed:
patterns/woocommerce/woo-signature-pieces.php(renamed frompatterns/woocommerce/woo-featured-products.php).distignore(Modified).vibe/config.toml(Modified)CHANGELOG.md(Modified)CLAUDE.md(Modified)assets/styles/woocommerce.css(Modified)patterns/agency-services-showcase.php(Modified)patterns/banner-announcement-bar.php(Modified)patterns/banner-page-header-accent.php(Modified)patterns/banner-page-header.php(Modified)patterns/card-call-to-action.php(Modified)patterns/career-opportunities.php(Modified)patterns/case-study-detailed.php(Modified)patterns/client-logo-wall.php(Modified)patterns/contact-details.php(Modified)patterns/contact-side-by-side.php(Modified)patterns/contact-with-form.php(Modified)patterns/cta-newsletter.php(Modified)patterns/download-cta.php(Modified)patterns/event-upcoming-grid.php(Modified)patterns/fandb-chef-profile.php(Modified)patterns/fandb-hours-location.php(Modified)patterns/fandb-testimonials-food.php(Modified)patterns/footer-simple.php(Modified)patterns/footer-with-nav-columns.php(Modified)patterns/four-column-wellness-posts.php(Modified)patterns/header-social-logo-hamburger-light.php(Modified)patterns/header-social-logo-hamburger.php(Modified)patterns/header-standard-with-tel-number.php(Modified)patterns/header-standard.php(Modified)patterns/header-top-bar-centered-menu.php(Modified)patterns/hero-modern-dark.php(Modified)patterns/hero-modern-light.php(Modified)patterns/hero-two-tone.php(Modified)patterns/hero-with-cta.php(Modified)patterns/legal-about-intro.php(Modified)patterns/legal-contact.php(Modified)patterns/legal-hero-split.php(Modified)patterns/legal-hero.php(Modified)patterns/legal-services.php(Modified)patterns/legal-stats.php(Modified)patterns/legal-team.php(Modified)patterns/legal-testimonials.php(Modified)patterns/nail-salon-contact.php(Modified)patterns/overlapping-feature-columns-reversed.php(Modified)patterns/overlapping-feature-columns.php(Modified)patterns/page-coming-soon.php(Modified)patterns/plumbing-contact.php(Modified)patterns/plumbing-emergency-cta.php(Modified)patterns/plumbing-services.php(Modified)patterns/plumbing-stats-bar.php(Modified)patterns/plumbing-testimonials.php(Modified)patterns/plumbing-why-us.php(Modified)patterns/portfolio-grid-masonry.php(Modified)patterns/pricing-comparison.php(Modified)patterns/review-text-image-overlap.php(Modified)patterns/spa-booking-cta.php(Modified)patterns/spa-home-hero.php(Modified)patterns/spa-overlapping-feature-columns-reversed.php(Modified)patterns/spa-overlapping-feature-columns.php(Modified)patterns/testimonial-card.php(Modified)patterns/testimonials-grid.php(Modified)patterns/two-column-feature.php(Modified)patterns/two-column-review.php(Modified)patterns/wellness-cover-highlight.php(Modified)patterns/woocommerce/shop-filters-sidebar.php(Modified)patterns/woocommerce/woo-hero.php(Modified)patterns/woocommerce/woo-newsletter.php(Modified)patterns/woocommerce/woo-our-story.php(Modified)patterns/woocommerce/woo-shop-categories.php(Modified)patterns/woocommerce/woo-shop-landing.php(Modified)readme.txt(Modified)style.css(Modified)scripts/rebuild-demo.php(Deleted)Dependency lock files updated: composer.lock,