Skip to content

Architecture

Every artifact follows the same canonical module structure.

The diagram below is generated from the CALM architecture file — the machine-readable source of truth for module boundaries, DDD layers, and dependency rules.

Every Alistigo artifact is published as a public npm package named @alistigo/artifact-{name}, where {name} is the domain name (e.g., list, todo).

PackageInherits from
@alistigo/artifact-{name}@alistigo/artifact-core
@alistigo/{name}-components-react@alistigo/artifact-core-components-react
@alistigo/{name}-document@alistigo/core-document
@alistigo/{name}-domain—

A domain can optionally be extended with plugins. Plugins always carry the -plugin name suffix.

A plugin can be domain-specific — in that case it inherits from @alistigo/{name}-domain:

  • @alistigo/{name}-{plugin-name}-plugin — generic domain plugin
  • @alistigo/{name}-storage-plugin — example of a storage plugin specific to a domain