Skip to content

Latest commit

 

History

History

Examples

Each example is a self-contained project with its own dependencies and lockfile — there is no shared workspace, so this folder can also hold examples in languages other than TypeScript.

The TypeScript examples depend on the packages in this repo via file:, so build them once from the repo root before running an example:

pnpm -r build            # builds @substructure.ai/sdk, /runtime, /cli

Then, in any example directory:

npm install
npm start                # or: npm run dev / npm run typecheck — see the example's package.json