Skip to content

Get started

Terra Shared packages are published publicly to npm. Consumers do not need a Terra registry token. The quality package supports Node.js 18.18 or later.

Terminal window
pnpm add -D @terra-symposium/quality

Create quality.json at the repository root:

{
"$schema": "./node_modules/@terra-symposium/quality/quality.schema.json",
"sourceRoots": ["src"],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}

Then run npx terra-quality. The CLI reads quality.json from the current working directory. For a monorepo, set sourceRoots to package directories. For a config stored elsewhere, use root to point at the repository root.

  • terra-quality processes changed and untracked source files and may apply safe fixes.
  • terra-quality quality --all --warn checks every configured file without autofixes.
  • terra-quality --skip-commands skips configured build/test commands for a fast static pass.

Continue with configuration for all fields and commands for CI workflows.

Install @terra-symposium/error-boundaries for React error boundary adapters; React and React DOM are peer dependencies. Install @terra-symposium/reporting for Playwright evidence, spreadsheets, and slideshows; @playwright/test is a peer dependency.