Launch gate (design doc §5/§8) requires automated tests for both; the repo had zero test infra until now. PHPUnit + Brain Monkey, run via `make test` against the existing wordpress dev container. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MqhgnCRjjVLFnZ3Jpn93Vg
23 lines
533 B
JSON
23 lines
533 B
JSON
{
|
|
"name": "bookstore/bookstore-core",
|
|
"description": "Business logic plugin for the bookstore: catalog, pricing, supplier routing, order state.",
|
|
"type": "wordpress-plugin",
|
|
"require": {
|
|
"php": ">=8.1"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^10",
|
|
"brain/monkey": "^2.6"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Bookstore\\Core\\": "includes/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Bookstore\\Core\\Tests\\": "tests/"
|
|
}
|
|
}
|
|
}
|