Skip to content

Release 1.0.1

Choose a tag to compare

@considadam considadam released this 06 Nov 09:57
· 17 commits to main since this release

Added support for Composer Packagist distribution with build scripts and dual autoloading

  • Implemented dual autoloader support for WordPress.org and Composer distributions

    • WordPress.org: Uses plugin's own vendor/ directory (included in ZIP)
    • Composer: Automatically detects and uses parent project's vendor/ directory
    • Optimized with realpath() for better symlink handling and path resolution
    • Improved error messages for better troubleshooting
  • Added build.php script for automated asset building

    • Builds assets automatically on composer install/update via post-install-cmd
    • Supports both standalone and Composer installation contexts
    • Handles npm dependencies and asset compilation
  • Updated composer.json with build scripts and proper package configuration

  • Updated .distignore to exclude development files while preserving vendor/ for WordPress.org distribution