woocommerce / woocommerce
一个电子商务工具包,帮助您美美地销售任何商品。
5.9.1
2022-03-11 17:37 UTC
Requires
- php: >=7.0
- automattic/jetpack-autoloader: 2.10.1
- automattic/jetpack-constants: 1.5.1
- composer/installers: ~1.7
- maxmind-db/reader: 1.6.0
- pelago/emogrifier: 3.1.0
- psr/container: 1.0.0
- woocommerce/action-scheduler: 3.3.0
- woocommerce/woocommerce-admin: 2.8.0
- woocommerce/woocommerce-blocks: 6.1.0
Requires (Dev)
- 5.9.1
- 5.9.0
- 5.9.0-rc.2
- 5.9.0-RC.1
- 5.9.0-beta.1
- 5.8.1
- 5.8.0
- 5.8.0-rc.1
- 5.8.0-beta.2
- 5.8.0-beta.1
- 5.7.2
- 5.7.1
- 5.7.0
- 5.7.0-rc.2
- 5.7.0-rc.1
- 5.7.0-beta.1
- 5.6.2
- 5.6.1
- 5.6.0
- 5.6.0-rc.2
- 5.6.0-rc.1
- 5.6.0-beta.1
- 5.5.4
- 5.5.3
- 5.5.2
- 5.5.1
- 5.5.0
- 5.5.0-rc.2
- 5.5.0-rc.1
- 5.5.0-beta.1
- 5.4.4
- 5.4.3
- 5.4.2
- 5.4.1
- 5.4.0
- 5.4.0-rc.1
- 5.4.0-beta.1
- 5.3.3
- 5.3.2
- 5.3.1
- 5.3.0
- 5.3.0-rc.2
- 5.3.0-rc.1
- 5.3.0-beta.1
- 5.2.5
- 5.2.4
- 5.2.3
- 5.2.2
- 5.2.1
- 5.2.0
- 5.2.0-rc.2
- 5.2.0-rc.1
- 5.2.0-beta.1
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.1.0-rc.1
- 5.1.0-beta.1
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 5.0.0-rc.3
- 5.0.0-rc.2
- 5.0.0-rc.1
- 5.0.0-beta.2
- 5.0.0-beta.1
- 4.9.5
- 4.9.4
- 4.9.3
- 4.9.2
- 4.9.1
- 4.9.0.x-dev
- 4.9.0
- 4.9.0-rc.2
- 4.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2.6.11
- 2.6.10
- 2.6.9
- 2.6.8
- 2.6.7
- 2.6.6
- 2.6.5
- 2.6.4
- 2.6.3
- dev-add/shared-method-for-explicit-currency-display-flag
- dev-fix/wccom-11246
- dev-update/wc-admin.2.6.5
- dev-move-email-field
- dev-test/workflow-update
- dev-fix/e2e_reset_settings_function
- dev-disable/nightly
- dev-update/marketplace-1-again
- dev-try/e2e-tests-trunk
- dev-update/wc-admin.2.6.0-rc.1
- dev-master
- dev-try/composer-lock-maint
- dev-try/issue-labeler
- dev-update/woocommerce-admin/2.6.0-beta.2
- dev-update/marketplace-pages
- dev-update/woocommerce-admin/2.6.0-beta.1
- dev-update/product-card-styling
- dev-try/perf-k6-checkout-poc-2
- dev-fix/phpcs-admin-helper-views-main
- dev-fix/phpcs-html-main-php
- dev-update/split-extensions-page
- dev-sandbox/vedanshu
- dev-add/wpcom-login
- dev-add/admin-feed-api-base
- dev-fix/package-lock
- dev-update/fix-typo-slack-oauth
- dev-add/perf-k6-merchant-add-product
- dev-update/bump-wca-2.2.6
- dev-update/bump-woocommerce-admin-2.2.5
- dev-update/bump-woocommerce-admin-2.2.4
- dev-update/bump-woocommerce-admin-2.2.3
- dev-renovate/pin-dependencies
- dev-renovate/psr-container-1.x
- dev-renovate/automattic-jetpack-constants-1.x
- dev-fix/smoke-test-opt-in
- dev-fix/29730
- dev-renovate/babel-monorepo
- dev-woo-mobile/get-reviews-api-add-product-info
- dev-woo-mobile/get-order-api-add-product-info
- dev-renovate/eslint-plugin-jest-24.x
- dev-renovate/eslint-config-wpcalypso-6.x
- dev-renovate/eslint-7.x
- dev-renovate/cross-env-7.x
- dev-renovate/commander-7.x
- dev-renovate/autoprefixer-10.x
- dev-renovate/webpack-4.x
- dev-renovate/typescript-3.x
- dev-renovate/husky-4.x
- dev-renovate/config-3.x
- dev-renovate/chai-4.x
- dev-renovate/wordpress-monorepo
- dev-renovate/psr-container-2.x
- dev-renovate/node-14.x
- dev-remove/legacy-code-in-shipping
- dev-poc/graphql-api
- dev-renovate/npm-7.x
- dev-woo-mobile/add-product-image-get-order-api
- dev-fix/e2e-wp57-cli-nocache
- dev-poc/attribute-filtering-with-lookup-table
- dev-try/test-wc-admin-212
- dev-remove-travis
- dev-update/artifact-build
- dev-dev/bump-woocommerce-admin-2-1-0-beta-1
- dev-try/woo-nav-migrate-admin_menu
- dev-rescope-css
- dev-fix/wp-ver-support
- dev-fix/issue-28489
- dev-update/wc-admin-1.9.0-rc.1
- dev-packages/update-container-message
- dev-add/e2e-merchant-order-view-update
- dev-update/woocommerce-blocks-4.0.0-backup
- dev-fix/issue-28490
- dev-update/woocommerce-admin-1.8.0
- dev-update/wc-admin-1.8.0
- dev-experiment-subscriptions-admin-menu
- dev-update/deprecated-jquery-code
- dev-remove-more-unused-jquery
- dev-remove-old-setup-wized-component-from-e2e-utils
- dev-update/skip-failing-e2e-test
- dev-fix/27988
- dev-revert-phpcs-change
- dev-enhancement/api-frontend
- dev-fix/27569
- dev-fix/e2e-onboarding-for-1.6
- dev-update/woocommerce-admin/1.6.0-rc.2
- dev-update/woocommerce-admin/1.6.0-rc.1
- dev-build/4.6.0-beta.1
- dev-enhancements/api
- dev-refactor/settings-pages-classes
- dev-fix/e2e-multiple-puppeteer
- dev-revert-27508-fix/27419
- dev-fix/27419
- dev-fix-27339
- dev-update/detect-queries-with-non-registered-status
- dev-build/4.5.0-beta.1
- dev-update/resolve-package-lock-changes
- dev-bump-woocommerce-admin-version
- dev-fix/signup-auto-username-password-api-options
- dev-fix/no-pagination-controls
- dev-fix/27162
- dev-fix/25524
- dev-fix/26374
- dev-try/tax-rounding-class
- dev-fix/25900
- dev-fix/26631
- dev-add/palau
- dev-update/e2e-hosting
- dev-experiment/use-wp-env
- dev-unit-tests/readme
- dev-proof-of-concept/replace-functions-with-classes
- dev-rename-win-impossible
- dev-update/wc-admin
- dev-4.1-beta.2/update-wc-admin
- dev-try/wc-admin-test-banner
- dev-update/methods-for-blocks
- dev-temp
- dev-origin/add/25849-implement-additional-tracks
- dev-add/frontend-cart-events
- dev-fix/25920
- dev-bump/action-scheduler-3.1.3
- dev-fix/25876-missing-notes-table-on-upgrade
- dev-try/install-wc-admin-plugin-for-obw
- dev-try/wc-admin-obw-install
- dev-fix/25664-2
- dev-fix/failing-variations-e2e-tests
- dev-fix/25664
- dev-try/wc-admin-e2e-test
- dev-new/order-statuses-refactor
- dev-update-follow-ups-copy-extensions-page
- dev-update-follow-ups-copy-extensions-page-wp-admin
- dev-fix/exit-redirect-cart-url
- dev-add/get_tax_rate_classes_filter
- dev-try/define-doing-ajax-sooner
- dev-update/unit-tests
- dev-revert-23859-master
- dev-add/skip-activate-if-connected-to-jetpack
This package is auto-updated.
Last update: 2024-09-22 10:06:27 UTC
README
欢迎来到GitHub上的WooCommerce单体仓库。在这里,您可以找到用于开发核心WooCommerce插件及其扩展的所有插件、包和工具。您可以浏览源代码、查看开放问题、贡献代码,并跟踪持续的开发。
我们建议所有开发者关注 WooCommerce开发博客 以了解项目中的所有最新动态。您还可以在Twitter上关注 @DevelopWC 以获取最新的开发更新。
入门指南
要启动WooCommerce单体仓库,您需要确保已安装所有先决条件。
先决条件
- NVM:虽然您可以通过其他方式安装Node,但我们建议使用NVM以确保您与我们的开发团队使用的版本保持一致。我们的仓库包含一个
.nvmrc
文件,该文件有助于确保您使用正确的Node版本。 - PNPM:我们的仓库利用PNPM来管理项目依赖项并运行构建和测试项目涉及的各种脚本。
- PHP 7.4+:WooCommerce核心目前具有最低PHP版本7.4。它还需要运行Composer和各种项目构建脚本。有关安装PHP的故障排除信息,请参阅 故障排除。
- Composer:我们使用Composer来管理所有PHP包和插件的依赖项。
安装所有先决条件后,您可以使用以下命令使一切正常运行。
# 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
到这一步,您现在可以开始开发和测试了。所有构建输出都会缓存,再次运行 pnpm build
命令时,只会构建自上次运行该命令以来发生更改的插件、包和工具。
如果您想更全面地了解在我们的仓库中工作,请查看 我们的开发指南。
仓库结构
- 插件:我们的仓库包含与WooCommerce相关的插件或有助于WooCommerce开发的插件。
- WooCommerce核心:核心WooCommerce插件可在插件目录中找到。
- 包:包目录中包含了为社区提供的所有PHP和JavaScript代码。其中一些是内部依赖项,并带有
internal-
前缀。 - 工具:我们的仓库中也有越来越多的工具。其中许多是用于在monorepo中使用的实用程序和脚本,但此目录也可能包含外部工具。
报告安全问题
要向我们的团队报告安全问题,请在此通过HackerOne提交报告。
支持
此仓库不适用于支持。请不要使用我们的问题跟踪器提交支持请求,仅限核心WooCommerce问题。支持可以通过适当的渠道进行。
- 如果您遇到问题,您可能需要从自助指南开始。
- 针对已购买主题或扩展的客户,请访问WooCommerce.com高级支持门户。
- wp.org上的我们社区论坛,对所有WooCommerce用户开放。
- 官方WooCommerce Facebook群组.
- 对于定制需求,您可以查看我们的WooExperts或Codeable列表。
注意:遗憾的是,我们无法处理此仓库中的问题支持请求;因此,以这种方式提交的任何请求都将被关闭。
社区
为了获得同行支持、实时公告和办公时间,请加入我们的Slack社区!
为WooCommerce做贡献
作为一个开源项目,我们依靠社区贡献来不断改进WooCommerce。要贡献,请遵循上述先决条件,并访问我们的为Woo做贡献文档,获取更多链接和贡献指南。