A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
Jonathan Lane 537c8c44c7
Couple of Playwright fixes for some flaky tests (#33766)
* Updates to simple product test to reduce flakiness

* Remove focus

* Fix to improve flakiness of order refund test

* Added a wait to help page loads test

* Add a couple more waits to refund tests

* Changelog

* Retry key generation during global setup

* Setup checklist has changed, update

* Update to setup task list

* Add wait for setup checklist

* Update locator for install checklist

* Changelogger: Fix PHPCS violations (#33664)

* Deploy header task variant from task list experiment (#33750)

* Deploy task list experiment 1

* Add changelog

* Fix wrong copy in the payment task (#33749)

* Add headingDescription prop to PaymentGatewaySuggestions list

* Fix payment suggestions heading text

* Add changelog

* Fix missing manage button for TikTok (#33731)

* Fix missing manage button for TikTok

* Add changelog

* Packages: Fix postinstall errors on install (#33724)

* Fix additional payment task name (#33727)

* Rename "Set up additional payment providers" task -> "Set up additional payment options"

* Add changelog

* Remove change files for #33704 (#33734)

* Add shipping class data store (#33765)

* Add initial shipping classes data store

* Add types for the product shipping class store

* Filter out undefined items in list for when an item is deleted

* Add changelog

* Add data store README

* Fix onboarding test

* Skipping flaky test

Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
Co-authored-by: louwie17 <lourensschep@gmail.com>
2022-07-07 14:13:00 -06:00
.github Convert e2e tests to Playwright (#33462) 2022-07-06 14:28:00 -06:00
.husky Migrate From Nx to Turborepo (#33079) 2022-06-09 14:40:07 -07:00
.vscode tsconfig modifications 2022-03-29 16:08:07 +08:00
bin Remove post-merge.sh 2022-04-06 17:31:32 +08:00
packages Add shipping class data store (#33765) 2022-07-07 13:36:50 -03:00
plugins Couple of Playwright fixes for some flaky tests (#33766) 2022-07-07 14:13:00 -06:00
tools Changelogger: Fix PHPCS violations (#33664) 2022-07-07 08:54:48 +12:00
.codecov.yml chore(ci): add informational Codecov status checks (#32675) 2022-04-26 10:20:59 +12:00
.editorconfig JS formatting files 2021-10-19 10:35:46 +13:00
.eslintignore JS formatting files 2021-10-19 10:35:46 +13:00
.eslintrc.js Designate root level eslint config 2021-12-13 08:13:40 -08:00
.gitignore Migrate From Nx to Turborepo (#33079) 2022-06-09 14:40:07 -07:00
.nvmrc Update package and node version 2021-12-15 07:08:37 -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
CODE_OF_CONDUCT.md Fixed a typo 2017-06-19 16:22:40 -03:00
DEVELOPMENT.md Expand Repository Development Documentation (#33423) 2022-06-15 21:55:25 -07:00
README.md Expand Repository Development Documentation (#33423) 2022-06-15 21:55:25 -07:00
SECURITY.md Removed the reference to WP mobile apps. 2020-10-02 11:51:35 +02:00
changelog.txt Update the changelog.txt and the stable tag in readme.txt for 6.6.0 (#33419) 2022-06-14 14:14:27 -05:00
package.json Expand Repository Development Documentation (#33423) 2022-06-15 21:55:25 -07:00
phpcs.xml Add phpcs-changed (#33584) 2022-06-27 11:46:29 -07:00
pnpm-lock.yaml Convert e2e tests to Playwright (#33462) 2022-07-06 14:28:00 -06:00
pnpm-workspace.yaml Add helper tool for making sure build, lint, and test are run through Turborepo (#33573) 2022-06-28 13:17:05 -05:00
renovate.json Converted Spaces To Tabs In JSON 2022-05-10 13:31:01 -07:00
tsconfig.base.json Removed `@woocommerce/notices` Internal Prefix (#33283) 2022-06-03 16:05:26 -07:00
turbo.json Expanded Turbo Task Inputs (#33542) 2022-06-22 15:32:29 -07:00

README.md

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

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:

Support requests in issues on this repository will be closed on sight.