684 B
684 B
ADR 0001 — Introduce minimal Node toolchain (lint/format/test) and CI
Date: 2025-09-02
Context
Q-Edit is a static SPA without a build step. We want linting, formatting, unit tests with coverage, and CI—without changing deploy characteristics.
Decision
- Add
eslint,prettier,vitest(+ jsdom) with v8 coverage thresholds. - Provide
npmscripts and a tiny static server (scripts/serve.mjs). - Add Gitea CI workflow to run lint/build/test and archive coverage.
Consequences
- Developers install Node to run tools locally.
- No runtime changes to the web app; deploy remains static.
- Provides a foundation for incremental modularization and testing.