TypeScriptPre-release — not yet published to npm; install via git dependency

ts-qa-ci

Orchestrated QA/CI pipeline for TypeScript/React projects — the TypeScript analogue of php-qa-ci

Install

npm install --save-dev github:LongTermSupport/ts-qa-ci#<commit-sha>

A single devDependency that orchestrates formatting, linting, type-checking, structural/architecture checks, and testing behind one command — auto-fixing locally, failing the gate on any pending diff in CI.

Includes a Component-Driven Development (CDD) ESLint rule tier that bans ad hoc raw HTML in component/page files, forcing all styling through a reviewable component API. A fast Rust-based pre-filter (oxlint) catches obvious problems before anything slower runs.

This site (lts-commerce-site) is the first real dogfooding consumer — its own CI pipeline runs on ts-qa-ci.

Pipeline

Phase 0 — Fast Fail
oxlint, a Rust-based linter roughly 50-100x faster than ESLint, aborts the run in milliseconds on obvious problems.
Phase 1 — Code Modification
Prettier and ESLint --fix apply every automatic fix (read-only/check mode in CI).
Phase 2 — Lint & Validation
A full ESLint report pass including the CDD rule tier, markdown link validation, and knip (dead code/unused dependency detection).
Phase 3 — Static Analysis
tsc --noEmit and dependency-cruiser for structural/architecture checks.
Phase 4 — Testing
Vitest and Playwright, with optional Stryker mutation testing.