No description
  • JavaScript 87.4%
  • CSS 11.8%
  • HTML 0.4%
  • Dockerfile 0.4%
Find a file
Michelle Abbasi 3c731af007 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:33 +01:00
public Initial scaffold — network dashboard 2026-07-21 14:31:16 +01:00
src Guard the built-output assertion against a stale dist/ 2026-09-15 11:47:33 +01:00
.dockerignore Initial scaffold — network dashboard 2026-07-21 14:31:16 +01:00
.env.example fix: fall back to known base ID when NocoDB token is base-scoped 2026-08-17 20:54:09 +01:00
.gitignore fix: correct palette to shared sage/dusty-rose, distinct quick-link icons, polish Databases page 2026-08-21 01:32:36 +01:00
.oxlintrc.json Initial scaffold — network dashboard 2026-07-21 14:31:16 +01:00
Dockerfile build: write /__build.json with the live commit at build time 2026-09-13 10:49:49 +01:00
index.html Initial scaffold — network dashboard 2026-07-21 14:31:16 +01:00
nginx.conf Initial scaffold — network dashboard 2026-07-21 14:31:16 +01:00
package-lock.json test: add palette.test.js — mechanical enforcement of the colour system 2026-09-13 18:08:30 +01:00
package.json test: add palette.test.js — mechanical enforcement of the colour system 2026-09-13 18:08:30 +01:00
README.md Initial scaffold — network dashboard 2026-07-21 14:31:16 +01:00
session-starter.md chore: rename package to dashboard-network for consistency 2026-08-20 18:06:29 +01:00
vite.config.js Initial scaffold — network dashboard 2026-07-21 14:31:16 +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.