Yeoman generator that scaffolds Mantis extension bundles: manifest, extension host entry, panel UI, optional Python backend, and a script that builds package.mantisx (zip for API upload) plus bundle.json.
You need Node.js (includes npm).
Install from npm:
npm install -g yo generator-mantisCheck Yeoman sees it:
yo --generators(mantis should appear in the list.)
Upgrade later:
npm update -g generator-mantisIn an empty directory:
yo mantis
node pack-bundle.cjsImport package.mantisx or bundle.json in Mantis. Add another panel from the same folder:
yo mantis:panelUse a git clone when hacking on the generator itself (not needed for normal use):
git clone https://github.com/KellisLab/generator-mantis.git
cd generator-mantis
npm install
npm test
npm link
yo mantisOpen issues and PRs on GitHub. When changing prompts or output, keep generated mantis.extension.json aligned with the Mantis app’s extension manifest and bundle rules. Run npm test before submitting.
MIT — see LICENSE.