Skip to main content

@repo/config

Configuration utilities for the monorepo.

Features

  • JSON schema to Zod conversion
  • Date utilities (date-fns)
  • Logging with Pino
  • Shared Vite config enables Wuchale only for projects with wuchale.config.js
  • Shared Vite config enables PWA assets only for projects with static/logo.png and allows empty Vitest packages
  • Shared Vitest config maps $env/dynamic/public to test/env-dynamic-public.ts during tests

Installation

import { ... } from '@repo/config';