Monorepo for the WordPress Performance Group, primarily for the overall performance plugin, which is a collection of standalone performance modules.
In order to run the following commands, you need to have Node.js (including npm
) and Docker installed, and Docker needs to be up and running. The Docker configuration used relies on the @wordpress/env
package.
npm install
: Installs local development dependencies.npm run wp-env start
: Starts the local development environment.npm run wp-env stop
: Stops the local development environment.npm run lint-php
: Lints all PHP code.npm run format-php
: Formats all PHP code.npm run test-php
: Runs PHPUnit tests for all PHP code.npm run test-php-multisite
: Runs PHPUnit tests in multisite for all PHP code.