woocommerce/plugins/woocommerce
Tam Mullen def11b77d9
Update daily smoke test to add k6 smoke tests (#33658)
* Add k6 test scenario to the daily smoke test action.

* Add blank patch changelog for daily smoke update
2022-06-29 16:01:37 -06:00
..
.wordpress-org
assets Add purchase task to experimental task lists (#33178) 2022-06-06 07:58:34 -04:00
bin Add PR numbers to changelog entries on code freeze process (#33627) 2022-06-28 11:15:39 -07:00
changelog Update daily smoke test to add k6 smoke tests (#33658) 2022-06-29 16:01:37 -06:00
client Add helper tool for making sure build, lint, and test are run through Turborepo (#33573) 2022-06-28 13:17:05 -05:00
e2e Add playwright e2e README.md (#33470) 2022-06-17 09:50:54 -07:00
i18n Adjust DKK Currency Symbol (#33509) 2022-06-20 10:34:42 -07:00
includes Move tracks _ui and _ut properties out of filtered tracks properties (#33621) 2022-06-28 09:43:17 -04:00
lib Add PR numbers to changelog entries on code freeze process (#33627) 2022-06-28 11:15:39 -07:00
packages Add an empty woocommerce-admin.php for backward compatibility 2022-05-04 16:51:59 +08:00
sample-data Suppressing warnings for malformed metadata in product template downloads #32971 #32971 2022-05-24 11:12:02 -07:00
src [COT] Implement create() method in COT datastore (#33341) 2022-06-29 08:54:29 -03:00
templates Add role="presentation" to table within add-to-cart form. (#33123) 2022-05-27 12:58:38 -07:00
tests Update daily smoke test to add k6 smoke tests (#33658) 2022-06-29 16:01:37 -06:00
.distignore Exclude changelog directory from deployments 2021-11-25 11:14:52 -03:00
.eslintignore remove zeroclipboard 2022-02-09 08:06:25 -08:00
.eslintrc.js Checkout .eslintrc.js from add/playwright-e2e 2022-05-20 15:16:50 +08:00
.gitattributes
.gitignore Ignore Allure directories globally 2022-05-20 15:08:01 +08:00
.wp-env.json Moved `wp-env` File 2022-04-04 15:18:30 -07:00
NEXT_CHANGELOG.md Empty next changelog 2022-04-15 17:10:45 -03:00
README.md Fix local site url in woocommerce readme (#33579) 2022-06-24 09:32:27 +08:00
composer.json Add PR numbers to changelog entries on code freeze process (#33627) 2022-06-28 11:15:39 -07:00
composer.lock Add PR numbers to changelog entries on code freeze process (#33627) 2022-06-28 11:15:39 -07:00
license.txt
package.json Add helper tool for making sure build, lint, and test are run through Turborepo (#33573) 2022-06-28 13:17:05 -05:00
phpunit.xml
readme.txt Prepare `trunk` For WooCommerce 6.8 (#33506) 2022-06-17 13:05:31 -07:00
tsconfig.json Converted Spaces To Tabs In JSON 2022-05-10 13:31:01 -07:00
uninstall.php Clear the note hook directly 2022-04-11 10:26:55 -07:00
woocommerce.php Prepare `trunk` For WooCommerce 6.8 (#33506) 2022-06-17 13:05:31 -07:00

README.md

WooCommerce

license Latest Stable Version 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 -- turbo run build --filter=woocommerce
# 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 -- turbo run build --filter=woocommerce/client/legacy
# Lint the assets.
pnpm -- turbo run lint --filter=woocommerce/client/legacy

plugins/woocommerce-admin

This directory contains the React-based admin interface.

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

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

Documentation

Reporting Security Issues

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