* Add assets clean up to build:zip * Add changelog file
|2 hours ago|
|.github||6 days ago|
|.husky||2 months ago|
|bin||2 months ago|
|packages||3 days ago|
|plugins||2 hours ago|
|tools||1 week ago|
|.codecov.yml||7 months ago|
|.editorconfig||1 year ago|
|.eslintignore||1 year ago|
|.eslintrc.js||12 months ago|
|.gitignore||2 months ago|
|.npmrc||2 months ago|
|.nvmrc||12 months ago|
|.prettierrc.js||1 year ago|
|.stylelintrc||12 months ago|
|.syncpackrc||7 days ago|
|CODE_OF_CONDUCT.md||6 years ago|
|DEVELOPMENT.md||2 months ago|
|README.md||3 months ago|
|SECURITY.md||2 years ago|
|changelog.txt||3 weeks ago|
|package.json||7 days ago|
|phpcs.xml||3 months ago|
|pnpm-lock.yaml||6 days ago|
|pnpm-workspace.yaml||2 months ago|
|renovate.json||7 months ago|
|tsconfig.base.json||6 months ago|
|turbo.json||5 days ago|
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.
We recommend all developers to follow the WooCommerce development blog to stay up to date about everything happening in the project. You can also follow @DevelopWC on Twitter for the latest development updates.
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
.nvmrcfile 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. It is also needed to run Composer and various project build scripts.
- 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 nvm use # Install the PHP and Composer dependencies for all of the plugins, packages, and tools pnpm install # Build all of the plugins, packages, and tools in the monorepo pnpm run build
At this point you are now ready to begin developing and testing. All of the build outputs are cached running
pnpm 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.
Reporting Security Issues
To disclose a security issue to our team, please submit a report via HackerOne here.
This repository is not suitable for support. Please don't use our issue tracker for support requests, but for core WooCommerce issues only. Support can take place through the appropriate channels:
- If you have a problem, you may want to start with the self help guide.
- The WooCommerce.com premium support portal for customers who have purchased themes or extensions.
- Our community forum on wp.org which is available for all WooCommerce users.
- The Official WooCommerce Facebook Group.
- For customizations, you may want to check our list of WooExperts or Codeable.
Support requests in issues on this repository will be closed on sight.
Contributing to WooCommerce
If you have a patch or have stumbled upon an issue with WooCommerce core, you can contribute this back to the code. Please read our contributor guidelines for more information on how you can do this.