Adds @vitest/coverage-v8 (catalog-pinned), a test:coverage script wired through turbo (inputs + coverage/** output), and coverage thresholds set to a floor measured on main (lines 18 / funcs 10 / branches 10 / stmts 17 against current 19.3/11.4/11.7/18.9). Ratchet upward as tests grow. Adapts the coverage config from @BenSheridanEdwards's fork; the multi-job CI fan-out from that branch was intentionally left out. Co-authored-by: Ben Sheridan-Edwards <BenSheridanEdwards@users.noreply.github.com>
31 lines
598 B
YAML
31 lines
598 B
YAML
packages:
|
|
- packages/*
|
|
allowBuilds:
|
|
esbuild: true
|
|
|
|
catalog:
|
|
# Standard tooling
|
|
"@biomejs/biome": "^2.4.0"
|
|
|
|
# Testing
|
|
"@playwright/test": "^1.59.1"
|
|
"@testing-library/jest-dom": "^6.6.3"
|
|
"@testing-library/react": "^16.3.0"
|
|
"@testing-library/user-event": "^14.6.1"
|
|
"@types/react": "^19.2.14"
|
|
"@types/react-dom": "^19.2.3"
|
|
"@vitejs/plugin-react": "^6.0.1"
|
|
"@vitest/coverage-v8": "^4.0.0"
|
|
jsdom: "^26.1.0"
|
|
|
|
# React
|
|
react: "^19.2.5"
|
|
react-dom: "^19.2.5"
|
|
semantic-release: "^25.0.0"
|
|
typescript: "~6.0.2"
|
|
|
|
# Vite
|
|
vite: "^8.0.10"
|
|
vitest: "^4.0.0"
|
|
zod: "^4.0.0"
|