Skip to content

Commit

Permalink
Merge pull request #109 from BeAPI/ver/6.6.0
Browse files Browse the repository at this point in the history
Release 6.6.0
  • Loading branch information
petitphp authored May 22, 2024
2 parents bda7a3e + ba2526d commit 87a5dc6
Show file tree
Hide file tree
Showing 26 changed files with 1,739 additions and 822 deletions.
4 changes: 2 additions & 2 deletions .plugin-data
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "6.5.1",
"version": "6.6.0",
"slug": "shopping-feed"
}
}
2 changes: 2 additions & 0 deletions bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ echo "➡️ Reset config"
if [ -f /app/wordpress/wp-config.php ]; then echo "wp-config exists deleting it" && rm -f /app/wordpress/wp-config.php; else echo "No wp-config.php, no rm"; fi
echo "➡️ Create config"
wp config create --dbname=wordpress-test --dbuser=wordpress-test --dbpass=wordpress-test --dbhost=database-test --path=/app/wordpress
echo "➡️ Save Woocommerce logs in database during tests"
wp config set WC_LOG_HANDLER 'WC_Log_Handler_DB'
echo "➡️ Install WP"
wp core install --url="https://shoppingfeed-for-woocommerce.lndo.site" --title="Test" --admin_user=admin --admin_password=password [email protected] --skip-email
echo "➡️ Create WPCONTENT"
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"php-parallel-lint/php-parallel-lint": "^1.2",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"php-stubs/woocommerce-stubs": "^7.7",
"lucatume/wp-browser": "^3.1",
"lucatume/wp-browser": "^3.1 <3.5",
"codeception/module-asserts": "^1.0",
"codeception/module-phpbrowser": "^1.0",
"codeception/module-webdriver": "^1.0",
Expand Down Expand Up @@ -101,6 +101,8 @@
"vendor/bin/mozart compose",
"find ./vendor_prefixed -type f -exec sed -i '' 's/use GuzzleHttp;/use ShoppingFeed\\\\ShoppingFeedWC\\\\Dependencies\\\\GuzzleHttp;/g' {} \\;",
"find ./vendor_prefixed -type f -exec sed -i '' 's/use Psr\\\\Http\\\\/use ShoppingFeed\\\\ShoppingFeedWC\\\\Dependencies\\\\Psr\\\\Http\\\\/g' {} \\;",
"find ./vendor_prefixed -type f -name '*.php' -exec sed -i '' 's/\\\\GuzzleHttp\\\\ClientInterface::VERSION/\\\\ShoppingFeed\\\\ShoppingFeedWC\\\\Dependencies\\\\GuzzleHttp\\\\ClientInterface::VERSION/g' {} \\;",
"@composer dump-autoload -o",
"@composer dump-autoload -o"
],
"post-install-cmd": [
Expand Down
Loading

0 comments on commit 87a5dc6

Please sign in to comment.