Standalone frontend for the AST editor and preview UI.
src/- Preact frontendtests/- unit and Playwright testscp-ast-ecosystems/- git submodule providing the Rust AST core and wasm cratewasm/- local build output fromcp-ast-wasm(generated, not committed)
git submodule update --init --recursive
npm installnpm run devThis builds cp-ast-ecosystems/crates/cp-ast-wasm into ./wasm before starting Vite.
For frontend-only iteration without rebuilding wasm:
npm run dev:fastnpm run test:unit
npm run test:e2ePushing a tag that starts with v triggers the GitHub Pages workflow.
The Pages build checks out cp-ast-ecosystems as a submodule, rebuilds wasm, and publishes dist/.