Dev Guide
If you want to contribute or test locally you can follow these steps.
Setup
Install dependencies for all packages:
bashnpm installBuild all packages (SDK, Portal, and CLI):
bashnpm run build
Making Changes to the CLI
When you make changes to the CLI source code (packages/cli/src/), you need to rebuild:
- Build the CLI (compiles TypeScript to JavaScript):bash
npm run build:cli
Testing Your Changes
After building and packing, test your changes in a local mod project:
Navigate to your test project (e.g.,
MyMod/or any mod folder):bashcd MyModInstall the locally built CLI:
bashnpm install ../packages/cliTest the CLI commands:
bashnpm run build npm run devFixing linting issues:
bashnpm run lint:fix # Auto-fix issues
Running Tests
Run the test suite to ensure everything works:
bash
npm test