mirror of
https://gh.wpcy.net/https://github.com/SilverAssist/wp-github-updater.git
synced 2026-05-01 22:11:19 +08:00
* Initial plan * Fix getPackageAssetUrl() to resolve multi-plugin 404 errors with comprehensive tests Co-authored-by: miguelcolmenares <1714344+miguelcolmenares@users.noreply.github.com> * Update version to 1.3.1 and document multi-plugin fix in CHANGELOG Co-authored-by: miguelcolmenares <1714344+miguelcolmenares@users.noreply.github.com> * Update tests/Unit/UpdaterEnqueueScriptTest.php Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Address PR feedback: verify asset file exists and improve test entropy Co-authored-by: miguelcolmenares <1714344+miguelcolmenares@users.noreply.github.com> * Refactor tests to use public API instead of reflection Co-authored-by: miguelcolmenares <1714344+miguelcolmenares@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: miguelcolmenares <1714344+miguelcolmenares@users.noreply.github.com> Co-authored-by: Miguel Colmenares <me@miguelcolmenares.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
75 lines
2.1 KiB
JSON
75 lines
2.1 KiB
JSON
{
|
|
"name": "silverassist/wp-github-updater",
|
|
"description": "A reusable WordPress plugin updater that handles automatic updates from public GitHub releases",
|
|
"version": "1.3.1",
|
|
"type": "library",
|
|
"keywords": [
|
|
"wordpress",
|
|
"plugin",
|
|
"updater",
|
|
"github",
|
|
"auto-update"
|
|
],
|
|
"homepage": "https://github.com/SilverAssist/wp-github-updater",
|
|
"license": "PolyForm-Noncommercial-1.0.0",
|
|
"authors": [
|
|
{
|
|
"name": "Silver Assist",
|
|
"email": "info@silverassist.com",
|
|
"homepage": "https://silverassist.com"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=8.2"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^9.6",
|
|
"squizlabs/php_codesniffer": "^3.7",
|
|
"phpstan/phpstan": "^1.10",
|
|
"wp-coding-standards/wpcs": "^3.0",
|
|
"slevomat/coding-standard": "^8.0",
|
|
"php-stubs/wordpress-stubs": "^6.8",
|
|
"php-stubs/wordpress-tests-stubs": "^6.8",
|
|
"phpcompatibility/phpcompatibility-wp": "^2.1",
|
|
"szepeviktor/phpstan-wordpress": "^1.3",
|
|
"yoast/phpunit-polyfills": "^4.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"SilverAssist\\WpGithubUpdater\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"SilverAssist\\WpGithubUpdater\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "phpunit",
|
|
"test:unit": "phpunit --testsuite unit",
|
|
"test:integration": "phpunit --testsuite integration",
|
|
"test:wordpress": "phpunit --testsuite wordpress",
|
|
"phpcs": "phpcs",
|
|
"phpcbf": "phpcbf",
|
|
"phpstan": "phpstan analyse src/ --level=8",
|
|
"check": [
|
|
"@phpcs",
|
|
"@phpstan",
|
|
"@test"
|
|
]
|
|
},
|
|
"config": {
|
|
"sort-packages": true,
|
|
"optimize-autoloader": true,
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-main": "1.x-dev"
|
|
}
|
|
},
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true
|
|
}
|