This package is the first attempt to provide a full solution for creating joomla packages ready for installation. It does not analyses the package xml file in detail other than the extensions needed to be created (under the files attribute).
- Initialize a node js project.
- Install the solution from the NPM manager anywhere in your Joomla Package project.
- Create an
index.jsfile and declare on top
const package = require('joomla-packager')
- Execute the packager within
node index.js --file=pkg_[package-name].xml --indir=[package-folder] --action=[clean | build | rebuild]
Change the names in square bracktes accordingly. IMPORTANT: the xml package file must exists in the package folder