Some checks are pending
CI / check (push) Waiting to run
- 51 headless Web Components (45 core + 6 animation) - Shared helpers: emit(), part(), listen(), wireLabel(), initialValue() - Zero `new CustomEvent` or `static #counter` — all use shared utils - Zod schemas for all 44 core components - MCP package with discover, inspect, compose, validate tools - Showcase with Aperture Science theme, M3 Expressive motion - 81 tests passing, TypeScript strict mode clean - Signals (~500B), SPA router (~400B), zero dependencies
17 lines
934 B
TypeScript
17 lines
934 B
TypeScript
import { defineConfig } from "tsdown";
|
|
|
|
const components = [
|
|
"accordion", "alert", "alert-dialog", "avatar", "badge", "breadcrumbs", "button",
|
|
"calendar", "card", "checkbox", "collapsible", "combobox", "command-palette",
|
|
"context-menu", "data-table", "date-picker", "dialog", "drawer", "dropdown-menu",
|
|
"form", "hover-card", "image", "link", "listbox", "meter", "navigation-menu",
|
|
"number-field", "pagination", "popover", "progress", "radio-group", "select",
|
|
"separator", "skeleton", "slider", "switch", "tabs", "text-field", "toast",
|
|
"tags-input", "toggle", "toggle-group", "tooltip", "virtual-list", "wizard",
|
|
];
|
|
|
|
const entry: Record<string, string> = { signals: "src/signals.ts", router: "src/router.ts" };
|
|
for (const c of components) entry[`${c}/index`] = `src/components/${c}/index.ts`;
|
|
|
|
export default defineConfig({ entry, format: ["esm", "cjs"], dts: true, clean: true, sourcemap: true, external: ["zod", "zod/v4"] });
|