Testing and Consumer Fixtures


Nivel is validated through both the in-repo consumer and a standalone npm-style fixture. This catches different classes of integration problems.

packages/docs

The first-party docs app is the in-repo integration consumer. It exercises the workspace engine against release documentation and consumer-owned shell files.

tests/npm-consumer

The npm consumer fixture validates the package from the perspective of an external install. It should stay aligned with the recommended published-package integration rather than workspace-only shortcuts.

Repository checks

Workspace changes should finish with:

BASH
pnpm verify

That command runs formatting, dependency checks, linting, typechecking, and engine tests. See Development Workflow for consumer scripts.