- Node.js >= 22
- Enable Yarn via Corepack:
corepack enable - git
- (Windows only) Ubuntu WSL
git clone git@github.com:explorable-viz/fluid.git
cd fluid
./script/setup/dev-setup.sh
yarn installyarn workspace @explorable-viz/fluid buildThis compiles PureScript, bundles the Fluid runtime, and produces output-es/ (ES module output).
The websites are SvelteKit apps under website/. To run one in dev mode:
cd website/article
yarn devFor a production-like preview:
yarn build && yarn previewyarn workspace @explorable-viz/fluid testTests all SvelteKit websites with Puppeteer (Chrome and Firefox):
./script/test-website-all.shOr test a single website:
cd website/article
yarn testyarn workspace @explorable-viz/fluid test-browserOpens a browser window; check the JavaScript console for test results.
From the monorepo root:
yarn workspace @explorable-viz/fluid build-publishThis bumps the patch version (via npm version patch), builds in production mode, stages the article website, publishes to npm, and pushes the version tag. Version tracks milestone (e.g. 0.12.x for milestone fluid 0.12).
- Install the PureScript IDE extension
- In extension settings, select
Add Npm Path - Avoid having PureScript installed globally
Windows users:
- Launch VS Code from the Ubuntu (WSL) terminal
- Install the WSL extension
See CLAUDE.md for the development workflow, including branching strategy, issue lifecycle, and milestone management.