Go to file
2025-02-21 17:59:17 +01:00
.cursor/rules Add Cursor AI Assistant Rules Configuration (#55458) 2025-02-14 06:16:51 -05:00
.github [dev] CI: CI-workflow related concurrency tweaks (part 3) (#55680) 2025-02-20 12:26:29 +01:00
.husky [dev] Update wireit output dependencies sync at pnpm install (#55095) 2025-02-05 10:28:11 +01:00
bin [dev] CI: experiment with wp-env starting only test containers in CI (#55618) 2025-02-19 12:56:28 +01:00
docs Fix developer docs for the posts -> categories links (#55625) 2025-02-19 21:02:27 +01:00
packages Remove wcSettings.admin.isWooPayEligible in favor of a REST endpoint (#55455) 2025-02-20 10:52:48 +01:00
plugins Fixed email include paths after BIS PR 363. 2025-02-21 17:59:17 +01:00
tools Cherry pick 54802 into trunk (#55070) 2025-02-18 10:08:58 +01:00
.codecov.yml
.editorconfig
.eslintignore
.eslintrc.js
.gitattributes
.gitignore Add Cursor AI Assistant Rules Configuration (#55458) 2025-02-14 06:16:51 -05:00
.markdownlint.json Update Markdown lint allowing the same headings if they're not siblings (#51438) 2024-09-17 12:44:15 +02:00
.markdownlintignore
.npmrc [dev] Monorepo: disable update notification from pnpm (#54721) 2025-01-21 12:28:46 +01:00
.nvmrc
.pnpmfile.cjs [dev] Monorepo: fix failing pmpm install on clean repository. (#55140) 2025-02-05 15:54:01 +01:00
.prettierrc.js
.stylelintrc
.syncpackrc [dev] Bump Playwright to 1.50.1 (#55251) 2025-02-11 08:22:26 +02:00
changelog.txt Post 9.6.2 release tasks (#55479) 2025-02-14 02:29:02 -08:00
CODE_OF_CONDUCT.md
CODEOWNERS Update code owners to include ownership of e2e-utils-playwright package (#52833) 2024-11-18 12:38:19 +02:00
DEVELOPMENT.md
package.json fix/demo migrate onboarding data (#54146) 2025-02-14 03:31:16 +00:00
phpcs.xml
pnpm-lock.yaml [dev] CI: experiment with wp-env starting only test containers in CI (#55618) 2025-02-19 12:56:28 +01:00
pnpm-workspace.yaml Merge React Admin (#49647) 2024-10-11 11:31:11 +08:00
README.md update logo to be merge in upcoming brand update (#54975) 2025-02-04 09:34:53 +01:00
renovate.json
SECURITY.md
tsconfig.base.json Merge React Admin (#49647) 2024-10-11 11:31:11 +08:00

WooCommerce Monorepo

WooCommerce

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.

Getting Started

To get up and running within the WooCommerce Monorepo, you will need to make sure that you have installed all of the prerequisites.

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 .nvmrc 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.4+: WooCommerce Core currently features a minimum PHP version of 7.4. It is also needed to run Composer and various project build scripts. See troubleshooting for troubleshooting problems installing PHP.
  • Composer: We use Composer to manage all of the dependencies for PHP packages and plugins.

Note: A POSIX compliant operating system (e.g., Linux, macOS) is assumed. If you're working on a Windows machine, the recommended approach is to use WSL (available since Windows 10).

Once you've installed all of the prerequisites, the following will prepare all of the build outputs necessary for development:

# Ensure that correct version of Node is installed and being used
nvm install
# 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 build

Repository Structure

Each plugin, package, and tool has its own package.json file containing project-specific dependencies and scripts. Most projects also contain a README.md file with any project-specific setup instructions and documentation.

  • 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.
  • Packages: Contained within the packages directory are all of the PHP and JavaScript provided for the community. Some of these are internal dependencies and are marked with an internal- prefix.
  • 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.

If you'd like to learn more about how our monorepo works, please check out this guide here.

Reporting Security Issues

To disclose a security issue to our team, please submit a report via HackerOne here.

Support

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:

NOTE: Unfortunately, we are unable to honor support requests in issues on this repository; as a result, any requests submitted in this manner will be closed.

Community

For peer to peer support, real-time announcements, and office hours, please join our slack community!

Contributing to WooCommerce

As an open source project, we rely on community contributions to continue to improve WooCommerce. To contribute, please follow the pre-requisites above and visit our Contributing to Woo doc for more links and contribution guidelines.