Development
Work on the Weave monorepo and validate changes.
Weave is a Bun workspace managed with Turborepo. The CLI lives in packages/cli and is written in TypeScript with Effect.
Install dependencies
bun installRun the CLI
bun packages/cli/src/index.ts --helpRun the docs
Start the Fumadocs site locally:
bun run --cwd apps/docs devOpen http://localhost:3000.
Validate changes
Run the repository's required checks:
bun run fix
bun run lint
bunx turbo check-types
bunx turbo testBuild all packages and applications:
bunx turbo buildThe regular CLI test suite uses Vitest and does not start real VMs. The opt-in integration test requires a host with working virtualization and network access:
bun run --cwd packages/cli test:integrationIt creates a Node.js VM, scaffolds and starts a Vite application on guest port 5173, verifies the application through parent port 3005, then confirms that the VM stops when its TTL expires.