Development tools for Wealthfolio addons including hot reload server and CLI.
npm install -g @wealthfolio/addon-dev-toolswealthfolio create my-awesome-addon# In your addon directory
wealthfolio devwealthfolio buildwealthfolio packagewealthfolio testThe development server provides:
- Hot reload functionality
- File watching
- Auto-building
- Health check endpoints
GET /health- Health checkGET /status- Addon status and last modified timeGET /manifest.json- Addon manifestGET /addon.js- Built addon codeGET /files- List of built filesGET /test- Test connectivity
Add to your addon's package.json:
{
"scripts": {
"dev:server": "wealthfolio dev"
},
"devDependencies": {
"@wealthfolio/addon-dev-tools": "^1.0.0"
}
}This package is separate from @wealthfolio/addon-sdk to:
- Keep the SDK lightweight for production
- Avoid unnecessary dependencies in addon bundles
- Provide optional development tooling
MIT