Deploy Notes
Use this document when deployment behavior or CI build commands are involved.
Expected deploy targets
This repository is structured so that at minimum these artifacts are deployable:
- docs site from
apps/docs - widgets app from
apps/widgets
Build commands (workspace-safe)
From repository root:
bash
pnpm buildPer workspace:
bash
pnpm --filter docs docs:build
pnpm --filter grist-widget-examples buildBuild ordering guarantees
turbo.json uses:
build.dependsOn: ["^build"]test.dependsOn: ["^build"]
This ensures dependent apps build against freshly built upstream workspace packages such as @grist-widget-sdk/core.
Static hosting notes
apps/widgets/public/_redirectsenables SPA fallback routing for static hosting.apps/docsoutputs static docs from VitePress to.vitepress/dist.
Agent checklist before touching deploy config
- Confirm workspace/package names still match commands.
- Confirm output paths used by hosting provider still match build output.
- Confirm no deploy instructions reference removed directories.