Editor
The editor is a React frontend built with Vite, Chakra UI v2, and TypeScript.
Location
editor/
├── src/
├── public/
├── vite.config.ts
├── tsconfig.json
└── package.jsonKey details
- Uses
/@/path alias mapping to./src/ - Hash params used extensively for state (
useHashParamBase64,useHashParamJson) - Type checking:
just editor/check(runstsc --build) - Formatting:
just editor/fmt(Prettier)
Development
The editor runs as part of the full dev stack:
bash
just devTo type-check:
bash
just editor/checkBuild
The editor is built as part of the publish process:
bash
just editor/buildOutput goes to editor/dist/, which is then copied into the deploy directory.