| 1 |
{ |
| 2 |
"name": "imagify-plugin", |
| 3 |
"repo": "wp-media/imagify-plugin", |
| 4 |
"type": "wordpress-plugin", |
| 5 |
"description": "Imagify image optimization plugin — single edition.", |
| 6 |
"entrypoints": { |
| 7 |
"plugin_bootstrap": "imagify.php", |
| 8 |
"uninstall": "uninstall.php" |
| 9 |
}, |
| 10 |
"areas": [ |
| 11 |
{ |
| 12 |
"path": "classes/", |
| 13 |
"role": "namespaced-php", |
| 14 |
"notes": "Modern PSR-4 codebase. Namespace root: Imagify\\. New features go here. declare(strict_types=1) required." |
| 15 |
}, |
| 16 |
{ |
| 17 |
"path": "inc/classes/", |
| 18 |
"role": "legacy-php", |
| 19 |
"notes": "Legacy classmap classes with Imagify_ prefix. Being migrated out. Do not add new classes here." |
| 20 |
}, |
| 21 |
{ |
| 22 |
"path": "inc/3rd-party/", |
| 23 |
"role": "third-party-integrations", |
| 24 |
"notes": "PSR-4 integration classes for WooCommerce, AS3CF, NGG, WP Rocket, etc." |
| 25 |
}, |
| 26 |
{ |
| 27 |
"path": "inc/Dependencies/", |
| 28 |
"role": "vendored-deps", |
| 29 |
"notes": "Bundled dependencies (ActionScheduler). Do not edit." |
| 30 |
}, |
| 31 |
{ |
| 32 |
"path": "inc/functions/", |
| 33 |
"role": "legacy-functions", |
| 34 |
"notes": "Global helper functions. Being migrated to services." |
| 35 |
}, |
| 36 |
{ |
| 37 |
"path": "inc/admin/", |
| 38 |
"role": "legacy-admin", |
| 39 |
"notes": "Legacy admin includes." |
| 40 |
}, |
| 41 |
{ |
| 42 |
"path": "inc/common/", |
| 43 |
"role": "legacy-common", |
| 44 |
"notes": "Shared legacy includes." |
| 45 |
}, |
| 46 |
{ |
| 47 |
"path": "inc/deprecated/", |
| 48 |
"role": "deprecated", |
| 49 |
"notes": "Deprecated classes and traits. Do not add to." |
| 50 |
}, |
| 51 |
{ |
| 52 |
"path": "views/", |
| 53 |
"role": "templates", |
| 54 |
"notes": "PHP templates for admin UI, buttons, containers." |
| 55 |
}, |
| 56 |
{ |
| 57 |
"path": "assets/", |
| 58 |
"role": "built-assets", |
| 59 |
"notes": "Compiled JS/CSS/images for production." |
| 60 |
}, |
| 61 |
{ |
| 62 |
"path": "_dev/", |
| 63 |
"role": "source-assets", |
| 64 |
"notes": "Asset source files (JS/CSS before compilation)." |
| 65 |
}, |
| 66 |
{ |
| 67 |
"path": "config/", |
| 68 |
"role": "config", |
| 69 |
"notes": "Plugin config files. providers.php lists all service providers." |
| 70 |
}, |
| 71 |
{ |
| 72 |
"path": "bin/", |
| 73 |
"role": "tooling", |
| 74 |
"notes": "CLI scripts and helpers." |
| 75 |
}, |
| 76 |
{ |
| 77 |
"path": "Tests/", |
| 78 |
"role": "tests", |
| 79 |
"notes": "PHPUnit unit and integration tests." |
| 80 |
}, |
| 81 |
{ |
| 82 |
"path": "vendor/", |
| 83 |
"role": "third-party", |
| 84 |
"notes": "Composer dependencies (do not edit)." |
| 85 |
}, |
| 86 |
{ |
| 87 |
"path": "node_modules/", |
| 88 |
"role": "third-party", |
| 89 |
"notes": "NPM dependencies (do not edit)." |
| 90 |
} |
| 91 |
], |
| 92 |
"tooling": { |
| 93 |
"composer": "composer.json", |
| 94 |
"phpcs": "phpcs.xml", |
| 95 |
"phpstan": "phpstan.neon.dist", |
| 96 |
"node": "package.json" |
| 97 |
}, |
| 98 |
"notes": [ |
| 99 |
"Single edition — no FREE/PRO split.", |
| 100 |
"Prefer minimal diffs and avoid unrelated formatting changes.", |
| 101 |
"New features go in classes/ with the Imagify\\ namespace.", |
| 102 |
"Do not add to inc/classes/ — migrate out instead." |
| 103 |
] |
| 104 |
} |
| 105 |
|