@wealthfolio/addon-dev-tools
v3.6.1
Published
Development tools for Wealthfolio addons - hot reload server and CLI
Maintainers
Readme
@wealthfolio/addon-dev-tools
Development tools for Wealthfolio addons including hot reload server and CLI.
Installation
npm install -g @wealthfolio/addon-dev-toolsDeprecation note: the CLI command is now
wealthfolio-addon. The oldwealthfolioalias still works but will be removed in a future release — thewealthfolioname is reserved for the upcoming native Wealthfolio CLI.
CLI Commands
Create New Addon
wealthfolio-addon create my-awesome-addonStart Development Server
# In your addon directory
wealthfolio-addon devBuild Addon
wealthfolio-addon buildPackage for Distribution
wealthfolio-addon packageTest Setup
wealthfolio-addon testDevelopment Server
The development server provides:
- Hot reload functionality
- File watching
- Auto-building
- Health check endpoints
API 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
Usage in Addon Projects
Add to your addon's package.json:
{
"scripts": {
"dev:server": "wealthfolio-addon dev"
},
"devDependencies": {
"@wealthfolio/addon-dev-tools": "^1.0.0"
}
}Architecture
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
License
MIT
