Build tooling packages for the Lilith ecosystem: - @lilith/build-core: Package detection, builders, and Vite presets - @lilith/lixb: CLI for unified build commands Key features: - Auto-detect package type (library, NestJS, frontend) - platformVite() plugin for consistent Vite configuration - REEXPORT_EXCLUDE list for packages with star re-exports (ui-motion) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
683 B
683 B
Builders
Library Builder (tsup)
Used for: TypeScript libraries in @packages/
Invokes: tsup [--clean] [--watch]
Expects:
tsup.config.tsOR tsup in build script- Output in
dist/
Verifies: dist/index.js exists
NestJS Builder (nest build)
Used for: NestJS backend services
Invokes: nest build [--watch]
Expects:
nest-cli.json.swcrc(for SWC compilation)- Output in
dist/
Verifies: dist/main.js exists
Frontend Builder (vite build)
Used for: React frontends
Invokes: vite build
Expects:
vite.config.ts- React in dependencies
- Output in
dist/
Verifies: dist/index.html exists