No description
Find a file
autocommit 5bc8860359 chore(deps-about): 🔧 Update npm registry URL for @esbuild packages to 'npm.black.lan'
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-10 04:09:26 -07:00
docs feat: initial commit of @lilith/build-core and @lilith/lixb 2026-02-04 23:13:15 -08:00
packages deps-upgrade(cli): ⬆️ Update CLI and core dependencies to latest versions for security fixes and bug resolutions 2026-06-10 04:09:26 -07:00
smoke-tests feat: initial commit of @lilith/build-core and @lilith/lixb 2026-02-04 23:13:15 -08:00
.gitignore feat: initial commit of @lilith/build-core and @lilith/lixb 2026-02-04 23:13:15 -08:00
bun.lock chore(deps-about): 🔧 Update npm registry URL for @esbuild packages to 'npm.black.lan' 2026-06-10 04:09:26 -07:00
package.json feat: initial commit of @lilith/build-core and @lilith/lixb 2026-02-04 23:13:15 -08:00
README.md feat: initial commit of @lilith/build-core and @lilith/lixb 2026-02-04 23:13:15 -08:00
tsconfig.json feat: initial commit of @lilith/build-core and @lilith/lixb 2026-02-04 23:13:15 -08:00

@lilith/build

Unified build CLI for the Lilith ecosystem. Auto-detects package type and runs the appropriate build tool.

Packages

  • @lilith/build - CLI tool (lilith-build command)
  • @lilith/build-core - Detection and builder logic

Quick Start

# Install
pnpm add -D @lilith/build

# Build (auto-detects package type)
lilith-build

# Force specific type
lilith-build library
lilith-build nestjs
lilith-build frontend

# Check what type would be detected
lilith-build detect

# Verify build output
lilith-build verify

Detection Priority

  1. nest-cli.jsonnestjs (uses nest build)
  2. vite.config.ts + React → frontend (uses vite build)
  3. tsup.config.tslibrary (uses tsup)
  4. Build script contains "tsup" → library
  5. vite.config.ts (no React) → frontend
  6. None → unknown (error)

Development

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run tests
pnpm test