Skip to main content
This page describes the layout of the Devias repository and the commands used when working on Devias itself.

The repository

Devias is a monorepo of small packages.

Everyday commands

While iterating, run one package’s tests. Run the whole suite once at the end of a larger change.

After changing the database

After changing the API

Regenerate the API description, then the SDK’s types from it. The export writes apps/server/openapi.json (the core API) and apps/server/openapi.with-modules.json (the same document plus the routes of the modules in devias.config.ts). The documentation publishes the second one as reference/api/openapi.json.

Smoke tests

Two scripts check the whole thing end to end against a running server: pnpm smoke:api walks the API, and pnpm smoke:ui drives the studio in headless Chrome.

Licence

Most of Devias is under the AGPL-3.0. The SDK, the UI package and the CLI are MIT.