Testing and quality
Full local gate
bash
pnpm run checkThe command runs, in order:
- ESLint across the repository.
- Strict TypeScript checking without emission.
- The compiled Node test suite.
- The page build of the interface: a static export to
out/. - The project server: the server build of the interface in
dist/ui/and the command-line bundledist/requireganizer.mjs, which together are the npm package. - The package check:
dist/packed as npm ships it and installed outside the repository with no registry. It runs the command's help, then starts the MCP server as the Claude Code plugin declares it, with the packed version standing in for the onenpxwould fetch, for a project in another folder, and checks that it serves that project over MCP and in the page. - A production VitePress build, including link validation.
The same command runs for pull requests and pushes to main.
Focused commands
bash
pnpm run lint
pnpm run typecheck
pnpm run test
pnpm run build
pnpm run server:build
pnpm run package:check
pnpm run docs:buildThe test runner deletes .test-dist before every compilation and discovers only files produced by that compilation, keeping stale JavaScript out of the test run.