Documentation Index
Fetch the complete documentation index at: https://docs.magnitude.run/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Bun
While not explicitly required, it’s recommended to use Bun as your node runtime since that’s what our team uses. To install bun:- Linux & macOS
- Windows
All other contribution-related docs will refer to
bun in commands - but you can replace with npm if preferredMonorepo Setup
Building Packages
Whenever you make a change tomagnitude-core that you want to be reflected in magnitude-test during testing, make sure to rebuild with bun run build.
Local Testing
When you make changes tomagnitude-test that you want to test in your project or elsewhere, you need a way to refer to your local package.
To do this, you can use yalc.
Install yalc:
pubdev again as needed to update your other project with your modified version of Magnitude.