Copy this template when building a full HaloForge module plugin.
cp -R templates/level0-rust-react my-plugin
cd my-pluginThen replace:
dev.example.templateTemplate Plugintemplate-plugintemplate_ping- package/crate names
cd app
npm install
npm run typecheck
npm run build
cd ../backend
cargo fmt --check
cargo check
cd ..
npx @haloforge/plugin-pack check .
npx @haloforge/plugin-pack pack . --out dist/packageInstall into a local HaloForge checkout:
cd /path/to/HaloForge
npm run hf -- plugin install local /path/to/my-plugin/dist/package/dev.example.template-0.1.0.hfpkg --json