Skip to content

Latest commit

 

History

1,384 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Underlay

Rust CI

Underlay is a reusable foundation for building full-stack apps with stable cross-project patterns.

It provides:

  • Rust backend primitives and crates
  • typed TypeScript client contracts
  • retained Svelte workflow/page shells and Nightfire editor/runtime surfaces
  • shared runtime and utility helpers
  • auth, observability, storage, and migration foundations
  • docs and guidance for integrating the library into real projects

Repo Layout

  • rust/ - Rust crates
  • ts/ - TypeScript and Svelte exports
  • contracts/ - shared contract artifacts
  • docs/ - documentation authority

TS Package Surface

Underlay’s current TypeScript/Svelte package boundary is explicit:

  • @inflatable-cookie/underlay/patterns
    • retained workflow/page-shell UI
  • @inflatable-cookie/underlay/runtime/*
    • shared app/runtime helpers and controllers via explicit feature subpaths
  • @inflatable-cookie/underlay/utils/*
    • small standalone helpers via focused subpaths
  • @inflatable-cookie/underlay/client/*
    • transport and SvelteKit-facing client helpers via explicit feature subpaths
  • @inflatable-cookie/underlay/nightfire/*
    • structured content editor/runtime package via explicit subpaths

The flat root import surface @inflatable-cookie/underlay is retired. Import from the explicit package subpaths above instead.

Use Poodle directly for foundational primitives and generic composites.

Docs Start Here

  • docs/vision/001-underlay-foundation-vision.md
  • docs/architecture/000-overview.md
  • docs/guides/000-overview.md
  • docs/roadmaps/README.md
  • docs/logs/README.md

Development

Use Effigy as the default command surface from the Underlay repo root:

effigy tasks
effigy health
effigy test --plan

First-time bring-up from another directory:

effigy bootstrap git@github.com:inflatable-cookie/underlay.git

Common local commands:

effigy qa:docs
effigy qa:northstar
effigy validate
effigy qa
effigy rust:build
effigy rust:check
effigy rust:test
effigy test:components

For shared UI discovery, use the ACME reference apps in underlay-reference for retained Underlay workflow shells and helpers. Use Poodle's own preview/docs for primitives and generic composites that no longer belong to Underlay.

Package scripts remain convenience wrappers, but direct effigy ... is canonical when you are already in this repo.

Use effigy doctor when you want broader repo scans. Underlay currently carries structural scan backlog in that surface, so health is the better day-to-day baseline.

Postgres Integration Tests

Some underlay-db tests spin up Postgres via testcontainers.

  • Install runtime and CLI:
    • brew install colima docker
    • colima start
    • verify with docker ps
  • Run the integration suite:
    • effigy rust:test -- -p underlay-db --test postgres_integration -- --ignored

Coverage

  • Install tarpaulin: cargo install cargo-tarpaulin
  • Run coverage check: rust/scripts/check-coverage.sh

About

Shared Rust & TS / Svelte components for modern apps

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages