You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing to propose an enhancement to the wp-package.json file in the Node.js packager dedicated to installing WordPress plugins and themes. Currently, the packager works seamlessly for installing plugins and themes, but I believe we can add a valuable feature to enhance user experience.
Feature Request:
I would like to suggest the addition of a feature that allows users to specify post-installation actions in the wp-package.json file. These actions could include running commands using wp-cli or any other relevant tasks that users might need after the installation of a WordPress plugin or theme.
It's crucial to ensure that users are aware and responsible for the commands they include in the postInstall section. We should provide clear documentation and warnings to guide users in making informed decisions about the commands they execute.
Benefits:
Customization: Users can tailor the post-installation process to their specific needs.
Automation: Streamlining common tasks with wp-cli commands can enhance efficiency.
Flexibility: This feature provides flexibility without compromising the simplicity of package installation.
The text was updated successfully, but these errors were encountered:
Added functionality to handle and run post-install commands after the packages installation. This includes the extraction of 'postInstall' from the config data, running post-install commands concurrently after plugins and themes installation, and a new method 'runPostInstallCommands' for executing these commands. This allows users to perform necessary actions automatically after the package installation process.
close#5
Description:
I am writing to propose an enhancement to the wp-package.json file in the Node.js packager dedicated to installing WordPress plugins and themes. Currently, the packager works seamlessly for installing plugins and themes, but I believe we can add a valuable feature to enhance user experience.
Feature Request:
I would like to suggest the addition of a feature that allows users to specify post-installation actions in the wp-package.json file. These actions could include running commands using wp-cli or any other relevant tasks that users might need after the installation of a WordPress plugin or theme.
Example:
Important Note:
It's crucial to ensure that users are aware and responsible for the commands they include in the postInstall section. We should provide clear documentation and warnings to guide users in making informed decisions about the commands they execute.
Benefits:
The text was updated successfully, but these errors were encountered: