No description
|
|
||
|---|---|---|
| docs | ||
| packages | ||
| smoke-tests | ||
| .gitignore | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
@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-buildcommand)@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
nest-cli.json→ nestjs (usesnest build)vite.config.ts+ React → frontend (usesvite build)tsup.config.ts→ library (usestsup)- Build script contains "tsup" → library
vite.config.ts(no React) → frontend- None → unknown (error)
Development
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run tests
pnpm test