Files
q-edit/docs/adr/0001-tooling-and-ci.md
2025-09-02 21:04:17 -04:00

20 lines
684 B
Markdown

# 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 `npm` scripts 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.