4fc59b757e
- ADR-004: HivePress / WooCommerce sites keep native meta as the source of truth and use flat tables as its search index; records the 2.1 write order, shadow_read, Promotion Guard, restore policy and router rules, with known limits - CONTEXT.md Entity Bridge, BENCHMARK-SCALE.md front-end and write-chain measurements (dev36), CHANGELOG and readme for 1.1.0; version 1.1.0 - composer phpcs uses phpcs.xml like CI (was --standard=WordPress with 2312 false errors) - Verify: composer phpcs (0); composer test; composer stan - PR: PR-064
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"name": "2meet/2meet-data-optimizer",
|
|
"description": "通用 WordPress 反 EAV 引擎,將四 entity meta 自動分流至 Hot/Warm/Cold/Archive 扁平表",
|
|
"type": "wordpress-plugin",
|
|
"license": "GPL-2.0-or-later",
|
|
"keywords": ["wordpress", "performance", "anti-eav", "postmeta", "flat-table", "query-router"],
|
|
"require": {
|
|
"php": ">=8.1"
|
|
},
|
|
"require-dev": {
|
|
"brain/monkey": "^2.6",
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^1.2",
|
|
"php-stubs/wp-cli-stubs": "^2.12",
|
|
"phpcompatibility/phpcompatibility-wp": "^2.1",
|
|
"phpcsstandards/phpcsutils": "^1.2",
|
|
"phpstan/phpstan": "^2.0",
|
|
"phpunit/phpunit": "^10.5",
|
|
"squizlabs/php_codesniffer": "^3.13",
|
|
"szepeviktor/phpstan-wordpress": "^2.0",
|
|
"wp-coding-standards/wpcs": "^3.0",
|
|
"yoast/phpunit-polyfills": "^2.0"
|
|
},
|
|
"autoload": {
|
|
"classmap": [
|
|
"includes/",
|
|
"admin/",
|
|
"cli/",
|
|
"modules/"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"TMDO\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "phpunit --configuration phpunit.xml",
|
|
"test:integration": "phpunit --configuration phpunit-integration.xml",
|
|
"phpcs": "phpcs --standard=phpcs.xml",
|
|
"stan": "phpstan analyse --no-progress",
|
|
"stan:baseline": "phpstan analyse --no-progress --generate-baseline=phpstan-baseline.neon"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
},
|
|
"optimize-autoloader": true,
|
|
"preferred-install": "dist",
|
|
"sort-packages": true
|
|
}
|
|
}
|