Skip to Content
Tobin Docs

Commands

Verified npm scripts for each workspace, plus the Cargo commands.

Run workspace scripts from the repository root with npm run <script> --workspace <name>.

Root

ScriptWhat it does
npm run typecheckRuns typecheck in every workspace that defines it.
npm testRuns test in every workspace that defines it.
npm run build:consoleProduction build of the web console.
npm run validate:signersRuns scripts/multisig/validate-signers.mjs.
npm run multisig:inspect, multisig:prepare, multisig:verifyOwner-run multisig tooling. Testnet only; needs the owner's authorisation.

tobin-web-console

ScriptWhat it does
devnext dev on 127.0.0.1:8787.
build, build:consolenext build.
startnext start on 127.0.0.1:8787.
typechecktsc --noEmit.
test, test:unitnode --test suites.
test:browser, test:w0-browser, test:sessions-browser, test:settlement-browser, test:authorization-browser, test:clearing-browser, test:backend-browserReal-browser journeys (need a production build).
db:migrate, db:status, db:seed-demoDatabase operator commands.

tobin-mvp1-sdk

ScriptWhat it does
typechecktsc --noEmit.
test, test:unitnode --test suites; the bridge-backed tests are skipped without TOBIN_BRIDGE_EXE.

tobin-landing

dev, build, start, lint.

tobin-docs

ScriptWhat it does
devnext dev.
buildnext build.
startnext start.
typechecknext typegen && tsc --noEmit.
validateChecks links, images, navigation and frontmatter in content/docs.

Cargo (in contracts/)

cargo test --locked --workspace
cargo build --locked -p tobin-clearing-v1 --example bridge
stellar contract build

Repository-level checks: node scripts/ci/check-links.mjs, node scripts/ci/update-npm-baseline.mjs --check, node --test scripts/release/scan.test.mjs.

On this page