Files
WorkRoot-WRNexusJSComponent/wrnexus.config.ts
T
ClintchizandClaude Opus 5.5 c0ac38c572 feat: sync showcase with WRNexusJS 0.8.72 and @wrnexus/ui 0.8.88
- Sync app, public, scripts, test and examples from the framework's
  component-showcase: redesigned component demos, marketing blocks under
  /blocks, template and preview galleries, distinct Timeline/Section
  variants, Chat Bubble receipts, a top-placement Drawer demo, and the
  playground code panel fix (objects in array props no longer blank out).
- Standalone adaptations kept: the generator and tests read
  component-reference.json from the published @wrnexus/ui, and tests use
  the published @wrnexus/compiler and @wrnexus/syntax.
- Dependencies: every @wrnexus/* package to its latest release (ui 0.8.88,
  styles 0.8.26, core 0.8.16, cli 0.8.72, ...), happy-dom for the
  playground tests, Tailwind 4.3; bun.lock and package-lock.json refreshed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:50:22 +05:30

32 lines
1.0 KiB
TypeScript

import type { AppConfig } from "@wrnexus/styles";
const config: AppConfig = {
head: ['<script src="/playground.js" defer></script>'],
seo: {
title: "WRNexus UI Component Showcase",
titleTemplate: "%s | UI Showcase",
description: "A generated, exhaustive showcase of every component in @wrnexus/ui.",
robots: "noindex,nofollow",
themeColor: "#7c3aed",
},
security: { contentSecurityPolicy: { directives: { "frame-src": ["'self'", "https://www.openstreetmap.org", "https://www.google.com"] } } },
theme: {
palette: "violet",
default: "light",
},
fonts: {
sans: '"Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif',
google: [{ family: "Plus Jakarta Sans", weights: [400, 500, 600, 700, 800] }],
},
styles: {
entry: "app/styles/global.css",
process: async ({ entryPath, appRoot, mode }) => {
const args = ["@tailwindcss/cli", "-i", entryPath!];
if (mode === "production") args.push("--minify");
return await Bun.$.cwd(appRoot)`bunx ${args}`.text();
},
},
};
export default config;