- Add nonce + CSRF verification to newsletter form (footer.php) - Add sanitize_callback to all 5 Customizer settings - Add PHPCS (WordPress-Core) and JS syntax checks to CI pipeline - Safeguard rsync --delete with dev-file excludes - Scaffold PHPUnit tests (bootstrap, helpers, theme setup) - Add composer.json, .phpcs.xml.dist, phpunit.xml - Bump version to 1.3.2 - Update ARCHITECTURE.md and CHANGELOG.md Addresses CTO audit findings: security (A- → A), testing (F → D+), CI/CD (C → B). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
548 B
JSON
24 lines
548 B
JSON
{
|
|
"name": "peptiderepo/peptide-starter-theme",
|
|
"description": "WordPress theme for peptiderepo.com",
|
|
"type": "wordpress-theme",
|
|
"license": "GPL-2.0-or-later",
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^9.0",
|
|
"squizlabs/php_codesniffer": "^3.0",
|
|
"wp-coding-standards/wpcs": "^3.0",
|
|
"phpcsstandards/phpcsutils": "^1.0",
|
|
"yoast/phpunit-polyfills": "^2.0"
|
|
},
|
|
"scripts": {
|
|
"lint": "phpcs",
|
|
"lint:fix": "phpcbf",
|
|
"test": "phpunit"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
}
|
|
}
|