A customizable, open-source eCommerce platform built on WordPress. Build any commerce solution you can imagine.
Welcome to the WooCommerce Monorepo on GitHub. Here you can find all of the plugins, packages, and tools used in the development of the core WooCommerce plugin as well as WooCommerce extensions. You can browse the source, look at open issues, contribute code, and keep tracking of ongoing development.
To get up and running within the WooCommerce Monorepo, you will need to make sure that you have installed all of the prerequisites.
NVM: While you can always install Node through other means, we recommend using NVM to ensure you're aligned with the version used by our development teams. Our repository contains an <code>.nvmrc</code> file which helps ensure you are using the correct version of Node.
PNPM: Our repository utilizes PNPM to manage project dependencies and run various scripts involved in building and testing projects.
PHP 7.2+: WooCommerce Core currently features a minimum PHP version of 7.2. While you don't need to use it to run a local development environment, you will need it to utilize Composer.
Composer: We use Composer to manage all of the dependencies for PHP packages and plugins.
Once you've installed all of the prerequisites, you can run the following commands to get everything working.
Ensure that you're using the correct version of Node
Install the PHP and Composer dependencies for all of the plugins, packages, and tools
Build all of the plugins, packages, and tools in the monorepo
pnpm -- turbo run build```
At this point you are now ready to begin developing and testing. All of the build outputs are cached running pnpm -- turbo run build again will only build the plugins, packages, and tools that have changed since the last time you ran the command.
Check out our development guide if you would like a more comprehensive look at working in our repository.
Plugins: Our repository contains plugins that relate to or otherwise aid in the development of WooCommerce.
WooCommerce Core: The core WooCommerce plugin is available in the plugins directory.
Tools: We also have a growing number of tools within our repository. Many of these are intended to be utilities and scripts for use in the monorepo, but, this directory may also contain external tools.