Files
metabuilder/docs/packages
johndoe6345789 b3e17e7dd4 feat: Add troubleshooting guide and enhance act scripts
- Created a new troubleshooting guide in README.md for common issues and testing problems.
- Updated package.json to include new act commands for linting, type checking, building, and diagnosing workflows.
- Added a pre-commit hook script to validate workflows before commits.
- Enhanced run-act.sh script with logging, Docker checks, and improved output formatting.
- Improved test-workflows.sh with an interactive menu and performance tracking.
- Introduced setup-act.sh for quick setup and testing of act integration.
2025-12-25 13:16:45 +00:00
..
2025-12-25 12:18:47 +00:00
2025-12-25 12:18:47 +00:00
2025-12-25 12:18:47 +00:00
2025-12-25 12:18:47 +00:00
2025-12-25 12:18:47 +00:00
2025-12-25 12:18:47 +00:00
2025-12-25 12:18:47 +00:00

Packages Documentation

The package system enables self-contained, reusable modules with their own components, scripts, and configuration.

Package Structure

Each package follows a standard structure:

packages/{name}/
├── seed/
│   ├── metadata.json           # Package info, exports, dependencies
│   ├── components.json         # Component definitions
│   ├── scripts/                # Lua scripts organized by function
│   └── index.ts                # Exports packageSeed object
├── src/                        # Optional React components
└── static_content/             # Assets (images, etc.)

Key Concepts

  • Self-contained - Each package manages its own data and logic
  • Composable - Packages can depend on other packages
  • Declarative - Configuration in JSON, business logic in Lua
  • Exportable - Packages can be shared and imported