mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
* - implement Node on different Types * - update class-customers to return arrays for edges and nodes - move id resolver from product-attribute interface to the specific types * - return empty arrays for edges/nodes for coupon connections - update test to check for falsy vs null * - remove manual registration of the `Product` Interface - register the fields to the Product Interface * - fix code style * - fix code style * - no longer pass type registry to Product::register_interface() * - use post type registry to register the Product type as an Interface * WPGraphQL v1.13.x support added. * WPGraphQL v1.13.x support added. * fix: filter corrected. * fix: Needed code restored * fix: Needed code restored * parent field no longer overwritten * chore: WPCS compliance met. Co-authored-by: Geoff Taylor <geoff@axistaylor.com>
22 lines
392 B
Bash
Executable File
22 lines
392 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set +u
|
|
|
|
source .env
|
|
|
|
print_usage_instruction() {
|
|
echo "Ensure that .env file exist in project root directory exists."
|
|
echo "And run the following 'composer $1' in the project root directory"
|
|
exit 1
|
|
}
|
|
|
|
BASEDIR=$(dirname "$0");
|
|
source ${BASEDIR}/_env.sh
|
|
source ${BASEDIR}/_lib.sh
|
|
|
|
install_wordpress
|
|
install_local_test_library
|
|
install_db
|
|
configure_wordpress
|
|
setup_plugin
|