Build Elevate

Packages

Reusable application and configuration packages including auth, database, email, UI components, and development tools

Monorepo Packages

This section provides an overview and deep dives for each package in the monorepo. Packages are internal libraries that provide reusable code, configuration, and utilities shared across applications.

Application Packages

These packages provide core functionality used by the web and API applications:

Configuration Packages

These packages provide shared configuration for development tooling:

How Packages Work

Each package is self-contained with its own:

  • package.json - Dependencies and scripts
  • tsconfig.json - TypeScript configuration (extends base)
  • jest.config.ts or vitest.config.ts - (if testing is included)
  • src/ - Source code and type definitions

Packages are published internally and can be imported using @workspace/package-name in any app or package.

Using Packages

Import from any package in your code:

// From web or API applications
import { useSession } from "@workspace/auth";
import { prisma } from "@workspace/db";
import { Button } from "@workspace/ui";
import { formatDate } from "@workspace/utils";

See individual package documentation for detailed API reference and usage examples.

On this page