Skip to content

Commit 47ce56b

Browse files
committed
Merge branch '1.2.1'
2 parents 68522db + f76b7a8 commit 47ce56b

File tree

14 files changed

+41991
-4198
lines changed

14 files changed

+41991
-4198
lines changed

.wp-env.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"core": null,
3+
"plugins": [ "." ]
4+
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ See the main [Able Player](http://ableplayer.github.io/ableplayer) project page
1616

1717
* Tags: html5,media,audio,video,accessibility
1818
* Requires at least: 4.9
19-
* Tested up to: 6.4
20-
* Stable tag: `1.2.0`
19+
* Tested up to: 6.8
20+
* Stable tag: `1.2.1`
2121
* License: MIT
2222
* License URI: https://github.com/ableplayer/ableplayer-wordpress/blob/master/LICENSE
2323

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
}],
1212
"type": "wordpress-plugin",
1313
"require-dev": {
14-
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
1514
"phpcompatibility/php-compatibility": "^9.3",
1615
"phpunit/phpunit": "^8.5",
17-
"squizlabs/php_codesniffer": "^3.5",
18-
"wp-coding-standards/wpcs": "^2.2",
16+
"wp-coding-standards/wpcs": "^3.0.0",
1917
"wp-phpunit/wp-phpunit": "^5.8",
20-
"yoast/phpunit-polyfills": "^1.0"
18+
"yoast/phpunit-polyfills": "^1.0",
19+
"szepeviktor/phpstan-wordpress": "^1.1",
20+
"phpstan/extension-installer": "^1.1"
2121
},
2222
"require": {
2323
"composer/installers": "~1.0"
@@ -30,6 +30,7 @@
3030
"config": {
3131
"allow-plugins": {
3232
"composer/installers": true,
33+
"phpstan/extension-installer": true,
3334
"dealerdirect/phpcodesniffer-composer-installer": true
3435
}
3536
}

init.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* License: MIT
1717
* License URI: https://github.com/ableplayer/ableplayer-wordpress/blob/master/LICENSE
1818
* Domain Path: lang
19-
* Version: 1.2.0
19+
* Version: 1.2.1
2020
*/
2121

2222
if ( ! defined( 'ABSPATH' ) ) {

package.json

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ableplayer-wordpress",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"private": true,
55
"description": "AblePlayer plugin for WordPress",
66
"author": "Joe Dolson",
@@ -21,17 +21,31 @@
2121
"npm": ">=6.9.0"
2222
},
2323
"devDependencies": {
24-
"@wordpress/env": "^4.1",
24+
"@wordpress/env": "^5.7",
2525
"jsdoc": "~3.6.3",
26-
"wp-hookdoc": "^0.2.0"
26+
"wp-hookdoc": "^0.2.0",
27+
"eslint": "^7.25.0",
28+
"eslint-config-prettier": "^8.3.0",
29+
"eslint-plugin-prettier": "^3.4.0",
30+
"husky": "^6.0.0",
31+
"lint-staged": "^10.5.4",
32+
"prettier": "^2.8.4",
33+
"esbuild": "^0.17.10"
2734
},
2835
"scripts": {
36+
"presetup": "find .scripts -type f -exec chmod +x {} \\;",
2937
"build:docs": "rm -rf docs/ && jsdoc -c hookdoc-conf.json",
3038
"format-php": "wp-env run composer run-script format",
3139
"prelint-php": "wp-env run composer 'install --no-interaction'",
3240
"lint-php": "wp-env run composer run-script lint",
3341
"pretest-php": "wp-env run composer 'install --no-interaction'",
3442
"test-php": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/ableplayer-wordpress/phpunit.xml.dist --verbose'",
43+
"lint-js": "eslint --fix './src/js'",
3544
"wp-env": "wp-env"
36-
}
45+
},
46+
"lint-staged": {
47+
"./src/js/!(*min).js": ["eslint --fix", "prettier --write"],
48+
"./src/css/*.css": "prettier --write"
49+
},
50+
"dependencies": {}
3751
}

src/ableplayer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
* License: MIT
1717
* License URI: https://github.com/ableplayer/ableplayer-wordpress/blob/master/LICENSE
1818
* Domain Path: lang
19-
* Version: 1.2.0
19+
* Version: 1.2.1
2020
*/
2121

2222
// Configure debugging mode.
2323
define( 'ABLEPLAYER_DEBUG', false );
2424

2525
// Get current version number.
26-
define( 'ABLEPLAYER_VERSION', '1.2.0' );
26+
define( 'ABLEPLAYER_VERSION', '1.2.1' );
2727

2828
register_activation_hook( __FILE__, 'ableplayer_activation' );
2929
/**

src/build/ableplayer.dist.js

Lines changed: 3725 additions & 2090 deletions
Large diffs are not rendered by default.

src/build/ableplayer.js

Lines changed: 3739 additions & 2090 deletions
Large diffs are not rendered by default.

src/build/ableplayer.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)