- ci.yml: thin caller → peptide-e2e reusable (tests: wp-framework, has_js: true, line_limit_paths: inc) - deploy.yml: retire standalone validate; gate deploy on ci.yml via workflow_call - composer.json: test script → vendor/bin/phpunit (explicit) - inc/helpers.php: split 311→211 lines; nav walker extracted to nav-walker.php - inc/nav-walker.php: new — Peptide_Starter_Nav_Walker + menu fallback (123 lines) - functions.php: require nav-walker.php before helpers.php; version 2.2.2→2.3.0 - style.css: version header 2.2.2→2.3.0 - package.json / package-lock.json: minimal npm manifest for lint-js job Agent-Session: claude/adopt-ci-20260616
24 lines
559 B
JSON
24 lines
559 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": "vendor/bin/phpunit"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
}
|
|
}
|