The prebuild hook runs phpunit via composer exec, but Composer
dependencies were not installed until after npm run build. Moved
composer install (with dev) before the build step, then reinstall
with --no-dev for the release package.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PHPUnit 11 + Brain\Monkey for WordPress function mocking. Tests cover
BlockRenderer (28), WidgetRenderer (9), NavWalker (14), and
TemplateController (12). Includes functional WP_HTML_Tag_Processor stub,
CI test job between lint and build-release, prebuild hook gating npm
build on passing tests, and release package exclusions for test files.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace all yarn references with npm across README, CLAUDE.md,
CHANGELOG, .gitignore, and CI workflow. Remove yarn.lock.
Co-Authored-By: Claude <noreply@anthropic.com>
The CI runner does not have yarn installed. Switch to npm install
and npm run build. Also add package-lock.json for reproducible
installs and exclude it from the release ZIP.
Co-Authored-By: Claude <noreply@anthropic.com>