Skip to content

Commit

Permalink
WIP migrate addon to V7
Browse files Browse the repository at this point in the history
  • Loading branch information
leonstafford committed May 5, 2020
1 parent 7db373f commit 19a07e2
Show file tree
Hide file tree
Showing 17 changed files with 2,914 additions and 355 deletions.
14 changes: 6 additions & 8 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
=== Plugin Name ===
Contributors: leonstafford
Donate link: https://ljs.dev
Tags: wp2static,bunnycdn,static
Requires at least: 3.2
Tested up to: 5.0.3
Stable tag: 0.1
Tested up to: 5.4.1
Stable tag: 1.0-alpha-001
License: Unlicense
License URI: http://unlicense.org

Adds BunnyCDN as a deployment option for WP2Static.

== Description ==

Take advantage of BunnyCDN to host your WordPress
powered static website.
Take advantage of BunnyCDN's cheap and fast global network to host your WordPress powered static website.

== Installation ==

Upload the ZIP to your WordPress plugins page within your dashboard.

Activate the plugin, then navigate to your WP2Static main plugin page to see
Activate the plugin, then navigate to your WP2Static > BunnyCDN to see
the new deployment option available.

== Changelog ==

= 0.1 =
= 1.0 =

First release
First release as separate plugin add-on for WP2Static V7
39 changes: 22 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,36 @@
"type": "wordpress-plugin",
"support": {
"issues": "https://github.com/WP2Static/wp2static-addon-bunnycdn/issues",
"forum": "https://wp2static.com/community",
"docs": "https://wp2static.com/documentation",
"forum": "https://forum.wp2static.com",
"docs": "https://wp2static.com",
"source": "https://github.com/WP2Static/wp2static-addon-bunnycdn"
},
"repositories": [
{
"type": "pear",
"url": "https://pear.php.net"
}
],
"require": {
"php": ">=7.0"
"php": ">=7.2",
"guzzlehttp/guzzle": "^6.5"
},
"require-dev": {
"phpstan/phpstan-shim": "^0.11.5",
"giacocorsiglia/wordpress-stubs": "^5.1",
"squizlabs/php_codesniffer": "3.*",
"phpunit/phpunit": "^8",
"phpstan/phpstan": "*",
"thecodingmachine/phpstan-strict-rules": "*",
"szepeviktor/phpstan-wordpress": "*",
"squizlabs/php_codesniffer": "*",
"phpunit/phpunit": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"wp-coding-standards/wpcs": "*",
"jakub-onderka/php-parallel-lint": "*"
"jakub-onderka/php-parallel-lint": "*",
"10up/wp_mock": "^0.4.2"
},
"autoload": {
"psr-4": {
"WP2Static\\": "src/"
"WP2StaticBunnyCDN\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PHPStan\\WordPress\\": "tests/phpstan/",
"WP2Static\\": "src/"
"WP2StaticBunnyCDN\\": "src/"
}
},
"config": {
Expand All @@ -56,11 +55,17 @@
"classmap-authoritative": true
},
"scripts": {
"phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan analyse",
"phpcs": "vendor/bin/phpcs --standard=./tools/phpcs.xml --ignore=*/views/*,*/tests/*,*/vendor/*,wp2static.php,*/js/* ./",
"phpcbf": "vendor/bin/phpcbf --standard=./tools/phpcs.xml --ignore=*/views/*,*/tests/*,*/vendor/*,wp2static.php,*/js/* ./",
"phpstan": "vendor/bin/phpstan analyse",
"phpcs": "vendor/bin/phpcs --standard=./tools/phpcs.xml --ignore=*/tests/*,*/admin/*,**/coverage/*,*.js,*/vendor/*,*/views/*.php ./",
"phpcbf": "vendor/bin/phpcbf --standard=./tools/phpcs.xml --ignore=*/js/*,*/tests/*,*/admin/*,*/coverage/*,*.js,*/vendor/*,*/views/*.php ./",
"phpunit": "vendor/bin/phpunit ./tests/unit/",
"coverage": "vendor/bin/phpunit tests/unit --coverage-html coverage --whitelist src/",
"lint": "vendor/bin/parallel-lint --exclude vendor .",
"test": [
"@lint",
"@phpcs",
"@phpstan"
],
"build": "/bin/sh tools/build_release.sh"
}
}
Loading

0 comments on commit 19a07e2

Please sign in to comment.