woocommerce / woocommerce-admin
A modern, javascript-driven WooCommerce Admin experience.
Installs: 331 922
Dependents: 1
Suggesters: 0
Security: 0
Stars: 360
Watchers: 139
Forks: 147
Open Issues: 6
Type:wordpress-plugin
Requires
- php: >=7.0
- automattic/jetpack-autoloader: ^2.9.1
- composer/installers: ^1.9.0
Requires (Dev)
- dev-main
- 3.3.2
- 3.3.1
- 3.3.0
- 3.3.0-rc.2
- 3.3.0-rc.1
- 3.3.0-beta.1
- 3.2.1
- 3.2.0
- 3.2.0-rc.1
- 3.2.0-beta.2
- 3.2.0-beta.1
- 3.1.0
- 3.1.0-rc.1
- 3.1.0-beta.2
- 3.1.0-beta.1
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0-rc.1
- 3.0.0-beta.2
- 3.0.0-beta.1
- 2.9.4
- 2.9.3
- 2.9.2
- 2.9.1
- 2.9.0
- 2.9.0-rc.3
- 2.9.0-rc.2
- 2.9.0-rc.1
- 2.9.0-beta.4
- 2.9.0-beta.3
- 2.9.0-beta.1
- 2.8.0
- 2.8.0-rc.3
- 2.8.0-rc.2
- 2.8.0-rc.1
- 2.8.0-beta.2
- 2.8.0-beta.1
- 2.7.2
- 2.7.1
- 2.7.1-rc.1
- 2.7.0-rc.1
- 2.7.0-beta.1
- 2.6.5
- 2.6.4
- 2.6.3
- 2.6.2
- 2.6.1
- 2.6.0
- 2.6.0-rc.2
- 2.6.0-rc.1
- 2.6.0-beta.2
- 2.6.0-beta.1
- 2.5.2
- 2.5.1
- 2.5.0
- 2.5.0-rc.2
- 2.5.0-rc.1
- 2.5.0-beta.2
- 2.5.0-beta.1
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.4.0-rc.2
- 2.4.0-rc.1
- 2.4.0-beta.3
- 2.4.0-beta.2
- 2.4.0-beta.1
- 2.3.2
- 2.3.1
- 2.3.0
- 2.3.0-beta.1
- 2.2.7
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.2-rc.1
- 2.2.1
- 2.2.0
- 2.2.0-rc.2
- 2.2.0-rc.1
- 2.2.0-beta.2
- 2.2.0-beta.1
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.1.0-beta.1
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-rc.2
- 2.0.0-rc.1
- 2.0.0-beta.2
- 2.0.0-beta.1
- 1.9.1
- 1.9.0
- 1.9.0-rc.3
- 1.9.0-rc.2
- 1.9.0-rc.1
- 1.9.0-beta.1
- 1.8.4
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.8.0-rc.2
- 1.8.0-rc.1
- 1.8.0-beta.1
- 1.7.4
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.7.0-beta.1
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.6.0-rc.3
- 1.6.0-rc.2
- 1.6.0-rc.1
- 1.6.0-beta.1
- 1.5.0
- 1.5.0-rc.5
- 1.5.0-rc.4
- 1.5.0-rc.3
- 1.5.0-rc.2
- 1.5.0-rc.1
- 1.5.0-beta.1
- 1.4.0
- v1.4.0-beta.3
- v1.4.0-beta.2
- v1.4.0-beta.1
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.3.0-rc.3
- v1.3.0-rc.2
- v1.3.0-rc.1
- v1.3.0-beta.1
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.26.1
- v0.26.0
- v0.25.1
- v0.25.0
- v0.24.0
- v0.23.3
- v0.23.2
- v0.23.1
- v0.23.0
- v0.22.0
- v0.21.0
- v0.20.1
- v0.20.0
- v0.19.0
- v0.18.0
- v0.17.0
- v0.16.0
- v0.15.0
- v0.14.0
- v0.13.2
- v0.13.1
- v0.13.0
- v0.12.0
- v0.11.0
- v0.10.0
- v0.9.0
- v0.8.0
- v0.7.0
- v0.6.0
- v0.5.0
- 0.4.0
- 0.3.0
- v0.2.0
- 0.1.0
- dev-renovate/major-jest-monorepo
- dev-renovate/shivammathur-setup-php-2.x
- dev-renovate/actions-setup-node-3.x
- dev-update/analytics_replace_date_column_name
- dev-release/3.3.2
- dev-fix/payment_gateway_warning
- dev-update/wcpay_country_support_list_larger_fix
- dev-update/wcpay_country_support_list
- dev-release/3.3.1
- dev-fix/hidden_wcpay_task
- dev-release/3.3.0
- dev-fix/8505
- dev-renovate/actions-checkout-3.x
- dev-renovate/node-16.x
- dev-renovate/history-5.x
- dev-release/3.3.0-rc.2
- dev-fix/8478_php_notice_purchase_task_3_3
- dev-fix/lint_js-fix
- dev-fix/currency-docs
- dev-fix/missing-namespace-for-tasklist
- dev-renovate/lock-file-maintenance
- dev-add/number-docs
- dev-add/8427-ability-for-code-based-notes-to-update
- dev-update/add-primary-arg-back-to-add-action
- dev-add/8356-reminder-bar
- dev-feature/8352_new_task_list_version_2
- dev-feature/8350_new_task_list_version_1_header
- dev-add/8385-context-arg-for-get_notes
- dev-release/3.3.0-rc.1
- dev-throwaway/testing-explat-typescript-resolution
- dev-update/change-build-output-path
- dev-update/8295-deprecate-wc-admin-version-number
- dev-release/3.3.0-beta.1
- dev-add/7811
- dev-fix/wc-core-31293
- dev-exp/pub-sub
- dev-release/3.2.1
- dev-release/3.2.0
- dev-test/e2e
- dev-dev/update-deprecated-button-props
- dev-try/product-extend-overwrite
- dev-try/product-extend-api
- dev-refactor/8270-move-src-features-navigation-to-internal
- dev-release/3.2.0-rc.1
- dev-update/7890-prompt-save-modal-when-switching-stepper
- dev-try/spike-products
- dev-fix/8232-some-gateways-are-listed-under-offline-gateways
- dev-release/3.2.0-beta.2
- dev-mobile/filter-inbox-notes-content_data
- dev-release/3.2.0-beta.1
- dev-mobile/filter-inbox-notes-by-content-data
- dev-release/3.1.0
- dev-fix/8198-include-square-in-spain
- dev-feature/8061-this-is-a-test
- dev-fix/bypass-cache-object
- dev-feature/8061-add-capability-column-in-notes-table
- dev-release/3.1.0-rc.1
- dev-release/3.0.3
- dev-release/3.1.0-beta.2
- dev-release/3.0.2
- dev-release/3.0.1
- dev-fix/7215-consistent-table-header-style
- dev-release/3.0.0
- dev-release/3.1.0-beta.1
- dev-fix/8052-dummy-bug
- dev-fix/7563-improving-admin-search-component
- dev-try/7925
- dev-release/2.9.4
- dev-release/2.9.3
- dev-release/3.0.0-rc.1
- dev-release/2.9.2
- dev-release/2.9.1
- dev-release/3.0.0-beta.2
- dev-release/3.0.0-beta.1
- dev-release/2.9.0
- dev-fix/fix-e2e-test
- dev-release/2.9.0-rc.3
- dev-fix/7929-cherry-pick
- dev-update/7247-introduce-320-char-limit-for-inbox-notes-css
- dev-release/2.9.0-rc.2
- dev-release/2.9.0-rc.1
- dev-dev/update-experimental-package-version-2.0.4
- dev-release/2.9.0-beta.4
- dev-release/2.9.0-beta.3
- dev-e2e/maybe-skip-marketing-checkbox
- dev-update/7793-set-a-note-as-read-after-clicking-cta
- dev-release/2.9.0-beta.2
- dev-release/2.9.0-beta.1
- dev-release/2.8.0
- dev-release/2.8.0-rc.3
- dev-add/7780
- dev-release/2.8.0-rc.2
- dev-release/2.8.0-rc.1
- dev-release/2.7.2
- dev-release/2.8.0-beta.2
- dev-release/2.7.1
- dev-release/2.8.0-beta.1
- dev-fix/task-api-snooze-dismiss
- dev-release/2.7.1-rc.1
- dev-release/2.7.0-rc.1
- dev-fix/task-list-hidden-migration-2
- dev-release/2.6.5
- dev-release/2.6.4
- dev-fix/php-unit-tests-composer-version
- dev-release/2.2.7
- dev-release/2.1.6
- dev-release/2.0.4
- dev-release/2.5.2
- dev-release/2.4.5
- dev-release/2.3.2
- dev-release/1.3.3
- dev-release/1.8.4
- dev-release/1.7.4
- dev-release/1.5.1
- dev-release/1.4.1
- dev-release/1.9.1
- dev-release/1.0.4
- dev-release/1.1.4
- dev-release/1.6.4
- dev-release/2.6.3
- dev-leonardola-patch-1
- dev-release/2.6.2
- dev-update/update-contributing-guide
- dev-add/experimental_tasklist_toggle_test
- dev-test/extend-formatter
- dev-fix/wcpay-inbox-note-redirect-to-onboarding-page
- dev-release/2.6.1
- dev-release/2.7.0-beta.1
- dev-release/2.6.0
- dev-try/dependency-updates-pre-pnpm
- dev-add/7519-subscribe-obw-email-to-mailchimp
- dev-add/7517-add-email-address-field-obw
- dev-release/2.6.0-rc.2
- dev-update/test-php-linter
- dev-release/2.6.0-rc.1
- dev-release/2.5.1
- dev-try/code-conventions-example
- dev-update/add-checkbox-to-include-test-instructions
- dev-feature/wordpress-eslint-plugin
- dev-release/2.5.0
- dev-release/2.6.0-beta.2
- dev-update/extensions-page-titles
- dev-release/2.6.0-beta.1
- dev-release/2.5.0-rc.2
- dev-release/2.5.0-rc.1
- dev-update/jest
- dev-release/2.4.4
- dev-release/2.4.3
- dev-release/2.5.0-beta.2
- dev-release/2.4.2
- dev-try/task-list-rest
- dev-release/2.5.0-beta.1
- dev-try/back-to-npm
- dev-add/delete_option_to_completed_tasks_test
- dev-dev/ts-convert-abbr-card
- dev-dev/remove-deprecated-components
- dev-try/remove-create-import
- dev-update/sync-2.4.1
- dev-release/2.4.1
- dev-fix/revert-notes-source
- dev-release/2.4.0
- dev-release/2.4.0-rc.2
- dev-feature/use-jetpack-for-testing-instructions2
- dev-release/2.4.0-rc.1
- dev-dev/bundle-wp-data
- dev-feature/6837-use-jetpack-chagnelogger2
- dev-release/2.4.0-beta.3
- dev-release/2.4.0-beta.2
- dev-release/2.4.0-beta.1
- dev-try/migrate-sass-2
- dev-remove/card-component
- dev-add/6774-task-list-item-expansion-and-cta
- dev-add/remote-payment-default-square
- dev-feature/use-jetpack-for-testing-instructions
- dev-release/2.3.1
- dev-image_optimization
- dev-add/6855
- dev-updatePaymentGatewaySuccess
- dev-release/2.3.0
- dev-update/webpack-5
- dev-experiment/embedded-apps
- dev-release/2.2.6
- dev-release/2.2.5
- dev-release/2.2.4
- dev-release/2.2.3
- dev-try/task-list-slotfill
- dev-add/6764_test
- dev-release/2.2.2
- dev-release/2.2.2-rc.1
- dev-fix/6061-search-options-async
- dev-bug/6883-Search-mem-leak
- dev-update/5854_reports_table_performance
- dev-add/filter-picker-tests
- dev-update/options-api-nested
- dev-release/2.3.0-beta.1
- dev-fix/svgs-in-js
- dev-add/6689
- dev-dev/6639
- dev-remove/local-wordpress-notices-package
- dev-release/2.2.1
- dev-release/2.1.5
- dev-release/2.1.4
- dev-release/2.2.0
- dev-release/2.2.0-rc.2
- dev-dev/ci-daily
- dev-try/update-analytics-settings
- dev-release/2.2.0-rc.1
- dev-release/2.2.0-beta.2
- dev-add/payments_task_wcpay_banner_abtest
- dev-release/2.2.0-beta.1
- dev-try/6581-move-navigation
- dev-release/2.1.3
- dev-dev/try-213
- dev-remove/wc-admin-filter
- dev-release/2.1.2
- dev-release/2.0.3
- dev-release/2.0.2
- dev-release/2.1.2-beta.1
- dev-add/6490-improve-wc-shipping-tax-logic
- dev-fix/fatal-error-deactivate-note-with-feature-config
- dev-update/6458
- dev-fix/revert-min-woocommerce-version-bump
- dev-try/5859-margin-on-body
- dev-release/2.1.1
- dev-release/2.1.0
- dev-release/2.1.0-beta.1
- dev-try/payment_method_recommendations
- dev-fix/6456
- dev-fix/fixing_js_tests
- dev-release/2.0.2-beta.1
- dev-add/ces-tracks-after-initial-launch
- dev-fix/nav-uni-duplicate-flyout
- dev-pr/6233
- dev-add/settings-options
- dev-release/2.0.1
- dev-release/2.0.0
- dev-fix/6316
- dev-add/6213
- dev-release/2.0.0-rc.2
- dev-release/2.0.0-rc.1
- dev-release/2.0.0-beta.2
- dev-try/woo-nav-migrate-admin_menu
- dev-release/2.0.0-beta.1
- dev-refactor/payments_task
- dev-add/5788_paypal_commerce
- dev-fix/stick-footer
- dev-add/docker-local-env
- dev-release/1.9.0
- dev-fix/6080-order-button-and-screen-options-conflict
- dev-fix/6148-search-meta-link-is-misaligned
- dev-fix/remove-post-hooks-from-remote-inbox-engine
- dev-add/marketplace-suggestions-remote-inbox-check
- dev-fix/disable-ces
- dev-release/1.9.0-rc.3
- dev-release/1.9.0-rc.2
- dev-add/5833_update_test
- dev-release/1.9.0-rc.1
- dev-add/support-dotnotation-in-optionrule
- dev-add/remote-inbox-notifications-contains-comp-and-fix=prod-count
- dev-add/5959-add-note-optimizing-checkout-flow
- dev-release/1.9.0-beta.1
- dev-add/5960-add-new-getting-started-in-ecommerce
- dev-add/5958-add-note-the-first-5-things
- dev-add/5300_update_test
- dev-fix/deprecated-jetpack-onboarding-shipping
- dev-fix/browser-support
- dev-release/1.8.3
- dev-fix/manual-package-lock-maintenance
- dev-add/5300_test_plain
- dev-add/5300_test
- dev-release/1.8.2
- dev-update/5813
- dev-try/reduce-unnecessary-rerenders
- dev-try/router-persisted-queries
- dev-update/4002
- dev-release/1.8.1
- dev-release/1.8.0
- dev-update/card-headers
- dev-add/5242_update
- dev-release/1.8.0-rc.2
- dev-release/1.8.0-rc.1
- dev-release/1.8.0-beta.1
- dev-release/1.7.3
- dev-add/5242
- dev-add/5242_test
- dev-add/nav-determinant-params
- dev-release/1.7.2
- dev-fix/5631-add-error-handling-for-invalid-group-setting-id
- dev-fix/wc-admin-app-dep-for-nav
- dev-fix/5656_local_unit_tests
- dev-fix/5626
- dev-release/1.7.1
- dev-release/1.7.0
- dev-add/wc-dep-starter-pack
- dev-update/5349-trigger-ces-on-filtering-analytics
- dev-add/ces-comments-callback
- dev-update/wc-versions/take-dos
- dev-release/1.7.0-beta.1
- dev-add/5238_fixed_data
- dev-add/5238_modify_accordion_styles_test
- dev-update/lock-top-level-nav-items
- dev-release/1.6.3
- dev-release/1.6.2
- dev-fix/5412-wcpay-inbox-note-action-stalling-testing
- dev-fix/nav-script-deps
- dev-release-1.6.1
- dev-try/server-side-code-for-a-remote-note
- dev-release/1.6.1
- dev-try/server-side-actions-for-remote-inbox-notifications
- dev-fix/5329
- dev-release/1.6.0
- dev-release/1.6.0-rc.3
- dev-add/normalize-text-files
- dev-release/1.6.0-rc.2
- dev-prep/release/1.6.0-rc.1
- dev-release/1.6.0-rc.1
- dev-fix/4443-store-rego_test
- dev-release/1.6.0-beta.1
- dev-unbundle-wp-components
- dev-paul-test
- dev-fix/4443
- dev-experimental/split-chunk-bundle
- dev-release/1.5.0
- dev-release/1.5.0-rc.5
- dev-fix/orders-report/missing-order-number
- dev-release/1.5.0-rc.4
- dev-release/1.5.0-rc.3
- dev-release/1.5.0-rc.1
- dev-add/quantity-selector-component
- dev-refactor/build-optimization
- dev-add/4330-filter-by-variation
- dev-fix/4330-search-autocompleter-keys-values
- dev-release/1.5.0-rc.2
- dev-release/1.5.0-beta.2
- dev-release/1.4.0
- dev-release/1.4.0-rc.1
- dev-release/1.5.0-beta.1
- dev-release/1.4.0-beta.3
- dev-release/1.4.0-beta.2
- dev-release/1.4.0-beta.1
- dev-release/1.3.0
- dev-add/4568_test
- dev-add/4568_test_2
- dev-release/1.3.0-rc.3
- dev-release/1.3.0-rc.2
- dev-add/4310-obw-create-paypal-account
- dev-test/4656-with-refresh-changes
- dev-release/1.3.0-rc.1
- dev-release/1.3.0-beta.1
- dev-master
- dev-fix/4502
- dev-add/marketing-coupons-jpry-rebase
- dev-add/marketing-coupons-rebase
- dev-fix/dont-block-commit-phpcs-warnings
- dev-update/1.3.0-dev
- dev-release/1.2.4
- dev-add/move-coupons
- dev-fix/recommended-plugins-by-category
- dev-fix/wcpay-jetpack-requirement
- dev-add/empty-table-state-custom-display-text
- dev-try/feature-config-override
- dev-refactor/refactor-recommended
- dev-add/4099_dummy_branch
- dev-functional-marketing-component
- dev-add/4099_test_branch
- dev-try/collect-async-resolvers
- dev-implement-plugins-package-for-marketing
- dev-release/1.2.2
- dev-update/refactor-card-list-component-designs
- dev-fix/marketing-tab-installed-plugins-not-showing-up
- dev-revert-4368-fix/4365
- dev-release/1.2.0
- dev-release/1.1.3
- dev-release/1.1.2
- dev-release/1.1.1
- dev-test/rtl-suspense
- dev-fix/4253-suspense-placeholders
- dev-fix/4253-remove-small-chunks
- dev-release/1.1.0
- dev-poc/homepage-slotfill
- dev-add/plugins-api
- dev-add/3973-auto-action-admin-notes
- dev-add/themes-api
- dev-add/plugins-data-store
- dev-local-recommendations
- dev-fix/consolidate-indicator-requests
- dev-fix/3995_draft
- dev-add/marketing-dashboard-backup
- dev-fix/3964
- dev-release/1.0.3
- dev-version/1.0
- dev-cherry-love/1.0.2-changes
- dev-add/shipping-banner-skip-wcs-install
- dev-update/3710-payment-config
- dev-fix/sync-tests
- dev-try/fix-failing-note-on-install
- dev-revert-3848-merge/1.0-master
- dev-fix/3424-selectcontrol-regressions
- dev-release/0.23.3
- dev-release/0.23.2
- dev-fix/3407
- dev-build/0.22.0-onboarding-112519
- dev-fix/card-report-css
- dev-update/fresh-data-0.7.0
- dev-release/0.22.0
- dev-try/slot-fill-activity-panel
- dev-add/2707
- dev-test/wp-dom-ready
- dev-add/2160
- dev-try/email-subscribe
- dev-fix/onboarding-dashboard-plugin
- dev-release/0.20.0
- dev-add/square-payments-task
- dev-update/travis-build-master-branch
- dev-try/apigen-js
- dev-add/2859-product-import
- dev-add/configure-payments
- dev-refactor/wcSettings-global-usage
- dev-add/tracks/activity-panel-open
- dev-add/theme-browser
- dev-try/docs-hooks
- dev-update/wp-api-fetch-dependency
- dev-fix/2199-prevent-multiple-imports
- dev-release/0.13.1
- dev-try/rest-api-refactor
- dev-update/2361-remove-table-data
- dev-fix/dont-do-requests-on-inactive-tabs
- dev-try/admin-skin
- dev-update/api-package
- dev-remove/load_plugin_textdomain
- dev-add/2300-redo
- dev-revert-2300-add/profiler-class-initial-load
- dev-update/profiler-header
- dev-add/profiler-class-initial-load
- dev-try/page-router-update
- dev-add/plugin-install
- dev-update/test-site-only
- dev-add/1884-ob-step-1
- dev-update/release-notes-url
- dev-update/revenue-report-summary-numbers
- dev-add/leaderboard-controller
- dev-update/1915-parent-category-stats
- dev-add/1896-onboarding-dashboard
- dev-add/1699-clear-jobs
- dev-udpate/dashboard-order
- dev-copy/fix-pr-1802
- dev-pr/1788
- dev-update/generic-function-names
- dev-fix/1692-wcSettingsPendingJobs
- dev-update/tracks-usage
- dev-update/filter-tax-code-items
- dev-update/table-header-layout
- dev-update/customer-type-structure
- dev-fix/1476
- dev-fix/activity-card-missing-name
- dev-fix/1035
- dev-fix/duplicated-taxes
- dev-update/package-components-1.4.2
This package is auto-updated.
Last update: 2024-07-12 03:58:28 UTC
README
This is a feature plugin for a modern, javascript-driven WooCommerce Admin experience.
Prerequisites
WordPress 5.6 or greater and WooCommerce 5.7.0 or greater should be installed prior to activating the WooCommerce Admin feature plugin.
For better debugging, it's also recommended you add define( 'SCRIPT_DEBUG', true );
to your wp-config. This will load the unminified version of all libraries, and specifically the development build of React.
Development
After cloning the repo, install dependencies:
pnpm install
to install JavaScript dependencies.composer install
to gather PHP dependencies.
Now you can build the files using one of these commands:
pnpm run build
: Build a production versionpnpm run dev
: Build a development versionpnpm start
: Build a development version, watch files for changespnpm run build:release
: Build a WordPress plugin ZIP file (woocommerce-admin.zip
will be created in the repository root)DRY_RUN=1 pnpm run build:release
: Builds a Wordpress plugin ZIP without pushing it to Github and creating a release.
For more helper scripts see here
For some debugging tools/help see here
For local development setup using Docker see here
Typescript
The npm run ts:check
command will check your TypeScript files for errors, and has been added to .vscode/tasks.json
.
Running this task in vscode will highlight the errors in your editor file navigator.
If you allow the npm run ts:check:watch
command to run automatically as configured, it will run in the background and pick up any errors as you save the files.
Note: Even if you don't run this task, the IDE uses its language server to pick up type errors in files that are open. This is only necessary for picking up errors
across the entire repository even when they haven't been opened in the IDE.
Testing
End-to-end tests
Tests live in ./tests/e2e
. An existing build is required prior running, please refer to the section above for steps. E2E tests use the @woocommerce/e2e-environment
package which hosts a Docker container for testing, by default the container can be accessed at http://localhost:8084
All the commands from @woocommerce/e2e-environment
can be run through pnpm exec
.
# Set up the e2e environment
pnpm i
pnpm exec wc-e2e docker:up
Run tests using:
pnpm exec wc-e2e test:e2e-dev
or in headless mode:
pnpm exec wc-e2e test:e2e
Run a single test by adding the path to the file name:
pnpm exec wc-e2e test:e2e-dev tests/e2e/specs/activate-and-setup/complete-onboarding-wizard.test.ts
Documentation
There is documentation in 2 forms available in the repo. A static set of documentation supported by docsify and also a Storybook containing component documentation for @woocommerce/components
.
To view the docsify docs locally you can do:
pnpm install
cd docs
pnpm exec docsify serve
When deployed the docsify docs also host an embedded version of the storybook docs. To generate that and test it locally in docsify you'll need to run:
pnpm install
pnpm run docs
cd docs
pnpm exec docsify serve
Then navigate to Components
from the left hand menu in the docs.
If you would like to view the storybook docs hosted standalone, then you can run:
pnpm install
pnpm run storybook
If you would like to view the storybook docs in right-to-left styling, you can run this instead:
pnpm install
pnpm run storybook-rtl
Common Issues
If you're encountering any issue setting things up, chances are we have been there too. Please have a look at our wiki for a list of common problems.
Privacy
If you have enabled WooCommerce usage tracking ( option woocommerce_allow_tracking
) then, in addition to the tracking described in https://woocommerce.com/usage-tracking/, this plugin also sends information about the actions that site administrators perform to Automattic - see https://automattic.com/privacy/#information-we-collect-automatically for more information.
Contributing
There are many ways to contribute – reporting bugs, adding translations, feature suggestions and fixing bugs. For full details, please see CONTRIBUTING.md