Split site definitions and generate default collection

This commit is contained in:
Jordan Wages 2026-08-25 19:15:05 -05:00
commit 40895e05db
10 changed files with 169 additions and 14 deletions

View file

@ -113,6 +113,13 @@ npm run typecheck
npm test
```
The bundled definition collection is generated from `src/content/definitions/collection.json` and the per-site files in `src/content/definitions/sites/`. Regenerate it after changing a site definition, then commit the resulting `default.json`:
```sh
npm run definitions:generate
npm run definitions:check
```
Build the browser-specific packages with:
```sh