Resolved conflicts: - package.json: Use version 0.1.15 from main - wp-plugin-starter-template.php: Use version 0.1.15, keep Plugin class usage - AGENTS.md: Merge both versions, keep CI/CD content - .wiki/Architecture-Overview.md: Use .agents/ directory structure - wiki/* files: Delete (moved to .wiki/) - .agents/error-checking-feedback-loops.md: Keep from feature branch Also includes: - Renamed .ai-workflows/ to .agents/ - Renamed .ai-assistant.md to AGENTS.md - Updated version to 0.1.15
63 lines
2.1 KiB
JSON
63 lines
2.1 KiB
JSON
{
|
|
"name": "wpallstars/wp-plugin-starter-template-for-ai-coding",
|
|
"description": "A starter template for WordPress plugins with AI development workflows.",
|
|
"type": "wordpress-plugin",
|
|
"version": "0.1.15",
|
|
"license": "GPL-2.0-or-later",
|
|
"authors": [
|
|
{
|
|
"name": "WP All Stars",
|
|
"email": "support@wpallstars.com"
|
|
}
|
|
],
|
|
"minimum-stability": "stable",
|
|
"require": {
|
|
"php": ">=7.4"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^9.5.0",
|
|
"yoast/phpunit-polyfills": "^2.0",
|
|
"10up/wp_mock": "^1.0",
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
|
|
"wp-coding-standards/wpcs": "^3.0",
|
|
"phpcompatibility/phpcompatibility-wp": "^2.1",
|
|
"phpstan/phpstan": "^1.10.0",
|
|
"szepeviktor/phpstan-wordpress": "^1.3",
|
|
"phpmd/phpmd": "^2.13.0",
|
|
"symfony/dependency-injection": "^5.4",
|
|
"symfony/config": "^5.4",
|
|
"symfony/filesystem": "^5.4",
|
|
"symfony/deprecation-contracts": "^2.5",
|
|
"doctrine/instantiator": "^1.5.0",
|
|
"psr/log": "^1.1"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"WPALLSTARS\\PluginStarterTemplate\\": "includes/",
|
|
"WP_Plugin_Starter_Template_For_AI_Coding\\": "includes/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"classmap": [
|
|
"includes/Admin/class-admin.php",
|
|
"tests/phpunit/"
|
|
]
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml",
|
|
"phpcs:simple": "vendor/bin/phpcs --standard=phpcs-simple.xml",
|
|
"phpcbf": "vendor/bin/phpcbf --standard=phpcs.xml",
|
|
"phpcbf:simple": "vendor/bin/phpcbf --standard=phpcs-simple.xml",
|
|
"phpstan": "vendor/bin/phpstan analyse --level=5 .",
|
|
"phpmd": "vendor/bin/phpmd . text phpmd.xml --exclude vendor,node_modules,tests,bin,build,dist",
|
|
"test": "vendor/bin/phpunit",
|
|
"lint": ["@phpcs", "@phpstan", "@phpmd"],
|
|
"fix": ["@phpcbf"]
|
|
}
|
|
}
|