doxa-maps/data
doxa-maps eca13ac2ff
Some checks are pending
Deploy to GitHub Pages / build (push) Waiting to run
Deploy to GitHub Pages / deploy (push) Blocked by required conditions
Data out of public/: sources live in data/, the web-root is generated
public/ was confusing because three source-of-truth folders lived ONLY inside it.
They now live in data/ (people-groups, vendor, external-bundles) and the build
copies them into the served tree (same pattern as boundaries), so served paths
are unchanged and public/ is fully regenerable. data/README.md states the law.
2026-09-16 01:24:41 +00:00
..
external-bundles Data out of public/: sources live in data/, the web-root is generated 2026-09-16 01:24:41 +00:00
people-groups Data out of public/: sources live in data/, the web-root is generated 2026-09-16 01:24:41 +00:00
vendor/tabulator Data out of public/: sources live in data/, the web-root is generated 2026-09-16 01:24:41 +00:00
README.md Data out of public/: sources live in data/, the web-root is generated 2026-09-16 01:24:41 +00:00

data/ — the bundler's source-of-truth data

The law: data lives here; public/ is generated. Every folder in data/ is copied into the served web-root by the build (internal/generate-tree.mjs), exactly like the per-profile data in app-profiles/*/data/. You should be able to rm -rf public/ and get it all back with bun run build.

Folder Served at What it is
people-groups/ /assets/people-groups/ People-group datasets (CSV/JSON) the maps read at runtime
vendor/ /assets/vendor/ Third-party runtime assets (e.g. table libraries)
external-bundles/ /external/ Prebuilt map IIFEs vendored from sibling projects (not built here)

Don't edit anything under public/ by hand — change it here (or in app-profiles/*/data/, layouts/*/assets/) and rebuild.