Read the root AGENTS.md first. This file adds quick-specific rules.
The fluent builder API for dashboards in ~20 lines. app.ts (the app() builder and AppBuilder), layout.ts (row, col, grid, toWidget), widgets.ts (builder wrappers), reactive.ts (reactive value helpers). Re-exports batch from @termuijs/store.
- This package is a thin convenience layer over
core,widgets, andstore. It wraps existing widgets; it does not reimplement rendering. When you add a builder, it wraps a widget that already exists in@termuijs/widgets. - Keep the fluent chain returning
thisso calls stay chainable. - New builder methods get tests in the matching
*.test.ts(widgets.test.ts,reactive.test.ts,index.test.ts). - Do not duplicate a widget here. If the widget does not exist yet, it belongs in
@termuijs/widgetsfirst.
bun vitest run packages/quick