mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-20 22:36:27 +00:00
@hanzo/vite 0.1.5 adds site(): the App Router's file conventions (layouts, groups, dynamic and rest segments, generateStaticParams, metadata, not-found, route.ts GET, opengraph-image, robots, sitemap) rendered as React Server Components through @vitejs/plugin-rsc and written as HTML to out/. Pages import @hanzo/vite/link, /navigation, /dynamic and /metadata in place of next/*. mdx() reads posts with front matter, gfm, [#id] heading ids and a toc export. The head is resolved by the App Router's rules and written in its order; a key it does not render throws. Measured on hanzo.blog: 712 pages with identical text, head tags and <html lang dir> against its Next export. @hanzo/og 1.0.1 draws with satori 0.12.2, the layout its images were drawn against, and loads resvg from its own install at run time, since a bundler cannot carry a native addon. It no longer peers on next. The lockfile is regenerated over the whole workspace: main's predated @hanzo/commerce 7.9.1. Claude-Session: https://claude.ai/code/session_015XYKLnoSseGhXKoeBiFtQF
34 lines
589 B
JSON
34 lines
589 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"lib": [
|
|
"ES2022",
|
|
"DOM",
|
|
"DOM.Iterable"
|
|
],
|
|
"types": [
|
|
"node",
|
|
"vite/client",
|
|
"@vitejs/plugin-rsc/types"
|
|
],
|
|
"strict": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"outDir": "dist",
|
|
"rootDir": "src",
|
|
"skipLibCheck": true,
|
|
"jsx": "react-jsx"
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.tsx"
|
|
],
|
|
"exclude": [
|
|
"src/**/*.test.ts",
|
|
"src/**/*.test.tsx"
|
|
]
|
|
}
|