An open source eCommerce plugin for WordPress.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Christopher Allford eb1abbbb25
Added Project Field Migration (#41970)
2 days ago
.github Revert "Refactoring Task Infrastructure" (#41928) 4 days ago
.husky Remove the post-checkout hook it was causing too much friction. (#37024) 9 months ago
bin Revert "Refactoring Task Infrastructure" (#41928) 4 days ago
changelog Create changelog/39948-patch-4 2 months ago
docs add manifestignore support to generate docs manifest tool 2 days ago
packages Automatically Deactivate Merged Packages (#41956) 2 days ago
plugins Automatically Deactivate Merged Packages (#41956) 2 days ago
tools Added Project Field Migration (#41970) 2 days ago
.codecov.yml Turn on code-cov for PR checking of unit test coverage (#36548) 10 months ago
.editorconfig JS formatting files 2 years ago
.eslintignore JS formatting files 2 years ago
.eslintrc.js Designate root level eslint config 2 years ago
.gitattributes Enforce LF Line Endings (#37843) 8 months ago
.gitignore Revert "Refactoring Task Infrastructure" (#41928) 4 days ago
.markdownlint.json Add reusable blocks documentation for remaining blocks (#40521) 2 months ago
.markdownlintignore undo changes to test fixtures 4 weeks ago
.npmrc Upgrade to pnpm 7 (#34661) 1 year ago
.nvmrc Update package and node version 2 years ago
.prettierrc.js JS formatting files 2 years ago
.stylelintrc Deprecate stylelint-config-wordpress with current package 2 years ago
.syncpackrc Revert "Refactoring Task Infrastructure" (#41928) 4 days ago
CODEOWNERS Add codeowners file (#35765) 1 year ago
CODE_OF_CONDUCT.md appease the linter 1 month ago
DEVELOPMENT.md Revert "Refactoring Task Infrastructure" (#41928) 4 days ago
README.md Revert "Refactoring Task Infrastructure" (#41928) 4 days ago
SECURITY.md replace developer.woocommerce.com with developer.woo.com 4 weeks ago
changelog.txt Update changelog.txt from release 8.3.1 (#41611) 3 weeks ago
package.json Revert "Refactoring Task Infrastructure" (#41928) 4 days ago
phpcs.xml Bump WooCommerce minimum required PHP version to 7.4 (#39820) 4 months ago
pnpm-lock.yaml update deps 3 days ago
pnpm-workspace.yaml Code Freeze CLI: Remove old version bump tool (#38182) 7 months ago
renovate.json Converted Spaces To Tabs In JSON 2 years ago
tsconfig.base.json Removed TypeScript Incremental Build Support (#37374) 9 months ago
turbo.json Revert "Refactoring Task Infrastructure" (#41928) 4 days ago

README.md

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.

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.

Repository Structure

  • 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.

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

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.