Skip to main content

Monorepo Layout

The repo is a pnpm + turbo monorepo plus a .NET backend solution.

Apps

PathPurpose
apps/backend.NET API, contracts, domain/application/infrastructure layers, EF Core persistence, migrations, and .NET worker.
apps/web-svelteSvelte frontend. Builds static assets and calls the .NET API.
documentation-siteDocusaurus documentation site.

Packages

PackageWhat lives there
@prismedia/contractsFrontend-only constants, media helpers, and plugin protocol types shared by the Svelte app and TypeScript plugin tooling.
@prismedia/media-coreFrontend/shared media helpers that do not own server behavior.
@prismedia/pluginsPlugin manifest parsing, runtime helper contracts, and result normalization helpers.
@prismedia/stash-compatStash-compatible YAML scraper adapter.
@prismedia/ui-svelteDesign tokens and reusable Svelte primitives.

Rules

  • New HTTP endpoints go in apps/backend.
  • New database tables or columns go through EF Core migrations in apps/backend.
  • New background jobs go in the .NET worker.
  • New frontend pages go in apps/web-svelte/src/routes.
  • Do not add SvelteKit /api routes.
  • Do not reintroduce @prismedia/app-core, @prismedia/db, Drizzle, or a TypeScript worker.