No description
  • JavaScript 78.2%
  • CSS 20.9%
  • HTML 0.5%
  • Dockerfile 0.4%
Find a file
Michelle Abbasi 7ce34fcede Guard the built-output assertion against a stale dist/
Travis's catch. `npm test` is a bare `vitest run` with no pretest build, so
reading whatever dist/ happens to be on disk is the DEFAULT state, not an
edge case: broken source plus an old bundle reads green. That is the same
false-green class the built-output check exists to prevent.

Nettie hit the identical failure on dashboard-network's font assertion -
she re-broke the import order to test her guard and it passed, against a
dist/ built before her edit - and Agnetha wrote this mtime comparison for
it. Same pattern reused rather than a second one invented.

Compares the newest build input against the newest built asset, excluding
test files, which live under src/ but do not invalidate dist/.

Proven to fire: weakening the kill in source without rebuilding now fails
3 assertions including this one, with "dist/ is 48s older than the newest
build input". Rebuilt, it goes green.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 11:47:38 +01:00
public Self-host Cormorant Garamond and Host Grotesk 2026-09-15 10:34:52 +01:00
src Guard the built-output assertion against a stale dist/ 2026-09-15 11:47:38 +01:00
.dockerignore Initial scaffold — agents dashboard 2026-07-21 15:52:01 +01:00
.env.example Document required env vars in .env.example 2026-08-18 22:06:13 +01:00
.gitignore Ignore .clairvoyance/ workspace knowledge directory 2026-09-13 00:26:18 +01:00
.oxlintrc.json Initial scaffold — agents dashboard 2026-07-21 15:52:01 +01:00
Dockerfile build: write /__build.json with the live commit at build time 2026-09-13 10:49:52 +01:00
index.html Initial scaffold — agents dashboard 2026-07-21 15:52:01 +01:00
nginx.conf Initial scaffold — agents dashboard 2026-07-21 15:52:01 +01:00
package-lock.json Add palette.test.js; rename fill-foreground tokens 2026-09-13 17:46:58 +01:00
package.json Add palette.test.js; rename fill-foreground tokens 2026-09-13 17:46:58 +01:00
README.md Initial scaffold — agents dashboard 2026-07-21 15:52:01 +01:00
vite.config.js Initial scaffold — agents dashboard 2026-07-21 15:52:01 +01:00

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the Oxlint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and Oxlint's TypeScript related rules in your project.