git
, node
, npm
installed.. nvm use
from the root directory of the repository to install the correct version of Node JS.npm install
from the root directory of the repository to install dependencies.npm run build
from the root directory of the repository.The documentation for the API endpoints can be found here
You can also explore the Square API from here
/woocommerce/woocommerce-square/
repository is treated as a development repository: this includes development assets, like unit tests and configuration files. Commit history for this repository includes all commits for all changes to the code base, not just for new versions.A "deployment" in our sense means:
WC_Square::$version
variable match.pot
file for all translatable strings in the development repositorynpm run build
release/{version}
so that a PR can be issued on /woocommerce/woocommerce-square/
/woocommerce/woocommerce-square/
repo into a temporary directory/trunk
and /tags/{version}
directories on the WC Square WP.org svn repowoocommerce/woocommerce-square/trunk
includes all code for the current version and any new pull requests merged that will be released with the next version. It can be considered stable for staging and development sites but not for production.This project is moving towards WooCommerce coding standards, though currently, it is not strictly enforced. Please respect these standards and if possible run appropriate IDE/editor plugins to help you enforce these rules.
We are striving to subject this extension to tests at various levels. They are works in progress. The following will be updated as there is progress. Do check with us if you want to contribute in some way towards these. TBD - Travis Integration TBD - Unit Testing TBD - E2E Testing
This extension is compatible with:
Contribution can be done in many ways. We appreciate it.