underpin / compiler
Compiles Underpin dependencies so it can be used in a packaged WordPress plugin or theme.
This package is auto-updated.
Last update: 2024-12-13 08:34:56 UTC
README
This utility will automatically take all Underpin dependencies and replace them with a different chosen name. This makes it possible to package Underpin in a way that prevents unexpected collissions with other plugins that may also be using a different version of Underpin.
The intent of this compiler is to be extremely basic, so there's no configuration. In fact, this all this compiler does right now is literally rename all references to Underpin with the name you specify.
Right now, this assumes that you are working with Composer, and does not support builds that are not using Composer, however that could be changed in the future.
Installation
composer require underpin/compiler --dev
Usage
vendor/bin/package-underpin.php customized_name