woocommerce/plugins/woocommerce
jonathansadowski d8b2663def
Update stable tag to 8.3.1 (#41612)
woorelease: Update stable tag to 8.3.1

Co-authored-by: rodel <rodel@rodels-MBP.automattic.net>
2023-12-06 05:36:09 +08:00
..
.wordpress-org
assets Regenerate PNPM Lock File & Fix Errors (#41830) 2023-12-05 00:36:30 -08:00
bin Update WooCommerce Blocks to 11.6.2 (#41869) 2023-12-05 11:21:14 +00:00
changelog Add link to documentation to Downloads section (#41844) 2023-12-05 16:59:32 -03:00
client activation.css does not have access to $woocommerce variable 2023-12-04 08:50:58 +02:00
i18n Update state definitions for Liechtenstein and Chile (#41068) 2023-11-01 05:37:22 -07:00
includes Shipping Settings: Revert removal of default method names (#41833) 2023-12-03 14:15:03 +13:00
lib Re-add "mobiledetect/mobiledetectlib" library 2023-11-27 18:59:10 +01:00
packages remove superfluous "here" 2023-11-10 15:49:08 +01:00
sample-data update references to woocommerce.com to now reference woo.com 2023-11-10 15:49:08 +01:00
src Add link to documentation to Downloads section (#41844) 2023-12-05 16:59:32 -03:00
templates Revert template version bumps from 2eecbb715d 2023-11-30 11:19:09 +01:00
tests Update WooCommerce Blocks to 11.7.0 (#41876) 2023-12-05 16:53:49 +01:00
.distignore Allow changelog in build zip (#40133) 2023-09-13 09:12:51 -05:00
.eslintignore
.eslintrc.js
.gitattributes
.gitignore
.wp-env.json Add tests for analytics (orders) (#40504) 2023-11-22 15:42:36 +08:00
NEXT_CHANGELOG.md
README.md appease the linter 2023-11-10 15:49:08 +01:00
composer.json Update WooCommerce Blocks to 11.7.0 (#41876) 2023-12-05 16:53:49 +01:00
composer.lock Update WooCommerce Blocks to 11.7.0 (#41876) 2023-12-05 16:53:49 +01:00
license.txt
package.json Regenerate PNPM Lock File & Fix Errors (#41830) 2023-12-05 00:36:30 -08:00
phpcs.xml Remove extra line in PHPCS config 2023-11-27 18:59:11 +01:00
phpunit.xml Autoload test helpers and exclude from test suites. (#39586) 2023-08-09 15:48:04 -03:00
readme.txt Update stable tag to 8.3.1 (#41612) 2023-12-06 05:36:09 +08:00
tsconfig.json
uninstall.php
woocommerce.php Prep trunk for 8.5 cycle (#41654) 2023-12-05 09:48:52 -05:00

README.md

WooCommerce

License WordPress.org downloads WordPress.org rating Build Status codecov

This is the WooCommerce Core plugin. Here you can browse the source and keep track of 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.

If you are not a developer, please use the WooCommerce plugin page on WordPress.org.

Getting Started

Please make sure you follow the repository's getting started guide first!

# Make sure that WooCommerce Core and all of its dependencies are built
pnpm run --filter=woocommerce build 
# Make sure you're in the WooCommerce Core directory
cd plugins/woocommerce
# Start the development environment
pnpm -- wp-env start

You should now be able to visit http://localhost:8888/ and access WooCommerce environment.

Building Components

There are two major client-side components included in WooCommerce Core that can be built, linted, and tested independently. We've organized these components in this way to take advantage of caching to prevent unnecessarily performing expensive rebuilds when only working in one of them.

plugins/woocommerce/client/legacy

This directory contains the CSS and jQuery code for WooCommerce.

# Build the assets.
pnpm run --filter=woocommerce/client/legacy build 
# Lint the assets.
pnpm run --filter=woocommerce/client/legacy lint 

plugins/woocommerce-admin

This directory contains the React-based admin interface.

# Build the React-based admin client.
pnpm run --filter=woocommerce/client/admin build 
# Lint the React-based admin client.
pnpm run --filter=woocommerce/client/admin lint 
# Test the React-based admin client.
pnpm run --filter=woocommerce/client/admin test 

Helper Scripts

Here is a collection of scripts that can help when developing the React-based admin interface.

# Create a develoment build of the React-based admin client.
pnpm --filter=woocommerce/client/admin dev 
# Create and watch a development build of the React-based admin client.
pnpm --filter=woocommerce/client/admin start 
# Watch the tests of the React-based admin client.
pnpm --filter=woocommerce/client/admin test:watch 
# Run a type check over the React-based admin client's TypeScript files.
pnpm --filter=woocommerce/client/admin ts:check 

Documentation

Reporting Security Issues

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