A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
github-actions[bot] 696c99df82
Delete changelog files based on PR 52361 (#52741)
Delete changelog files for 52361

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-11-12 22:20:32 +07:00
.github Add frontend metric tests (#52347) 2024-11-07 17:10:30 -05:00
.husky [dev] Monorepo: update git post-checkout hook (feedback) (#51471) 2024-09-18 11:10:11 +02:00
bin Remove __experimentalGetTemplateForLink() from @wordpress/edit-site dependency (#52642) 2024-11-07 20:20:32 +01:00
docs Add documentation for cache purging with "coming soon" template edits (#52695) 2024-11-12 21:23:17 +08:00
packages Fix typo (README.md) (#50159) 2024-11-11 15:09:57 +01:00
plugins Delete changelog files based on PR 52361 (#52741) 2024-11-12 22:20:32 +07:00
tools Document Monorepo Script Structure (#51820) 2024-11-08 09:26:04 +01:00
.codecov.yml Turn on code-cov for PR checking of unit test coverage (#36548) 2023-02-09 22:08:36 +13:00
.editorconfig JS formatting files 2021-10-19 10:35:46 +13:00
.eslintignore [testing workflows] Add optional jobs in CI workflow (#47414) 2024-05-16 13:31:17 -07:00
.eslintrc.js Designate root level eslint config 2021-12-13 08:13:40 -08:00
.gitattributes Use `ci-jobs` Utility For `ci.yml` Matrix (#43532) 2024-01-12 20:32:14 -08:00
.gitignore Allow usage of block notice templates when using classic themes (#45164) 2024-03-14 19:33:33 +07: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 undo changes to test fixtures 2023-11-10 15:49:08 +01:00
.npmrc [dev] pnpm install: speedup postinstall hooks a bit (#51538) 2024-09-24 08:34:46 +02:00
.nvmrc Update the monorepo to node v20 (#45148) 2024-04-12 13:49:55 -03:00
.pnpmfile.cjs Optimized `wireit` Fingerprinting File Inputs (#42684) 2023-12-11 16:21:35 -08:00
.prettierrc.js JS formatting files 2021-10-19 10:35:46 +13:00
.stylelintrc Deprecate stylelint-config-wordpress with current package 2021-12-14 09:14:54 -08:00
.syncpackrc Checkout: Collapsible Order Summary in mobile view (#52253) 2024-11-01 05:48:54 +13:00
CODEOWNERS [dev] Monorepo: codeowners file update for Flux. (#51709) 2024-09-26 13:07:05 +02:00
CODE_OF_CONDUCT.md Update @woo.com email addresses to @woocommerce.com (#46387) 2024-04-19 21:11:01 +00:00
DEVELOPMENT.md Fix markdown typos. (#50282) 2024-08-19 14:59:10 -03:00
README.md Document Monorepo Script Structure (#51820) 2024-11-08 09:26:04 +01:00
SECURITY.md Update Woo.com references to WooCommerce.com (#46259) 2024-04-09 09:50:15 +01:00
changelog.txt Update changelog.txt from release 9.4.0 (#52718) 2024-11-11 16:30:19 -08:00
package.json [dev] CI: install core composer dependencies synchronously in CI-environment. (#52395) 2024-10-29 09:16:11 +01:00
phpcs.xml add exclusion for short array syntax 2023-12-14 10:07:41 -04:00
pnpm-lock.yaml [Accessibility] Use product name as fallback alt text in product gallery (#51936) 2024-11-11 13:06:07 +01:00
pnpm-workspace.yaml Merge React Admin (#49647) 2024-10-11 11:31:11 +08:00
renovate.json Converted Spaces To Tabs In JSON 2022-05-10 13:31:01 -07:00
tsconfig.base.json Merge React Admin (#49647) 2024-10-11 11:31:11 +08:00

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 version 9.1.3 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, 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.