mirror of
https://github.com/hanzoai/gui.git
synced 2026-10-25 02:31:41 +00:00
Four root causes blocked the one/vxrn (rolldown) build of apps/gui.hanzo.ai: 1. tsconfig project references: single-level pkgs/*/tsconfig.json used ../../ (depth-2) refs that resolved to /work/core/* and /work/ui/gui instead of pkgs/core/* and pkgs/ui/hanzogui. Fixed the depth (../) and the stale gui->hanzogui rename across 9 tsconfigs. 2. @hanzogui/recipes deep subpaths (component/*) were UNLOADABLE: the no-recipes path still pulls the showcase tree, which imports @hanzogui/recipes/component/* via named re-export / named import / namespace member access. The old virtual-module stub could not satisfy statically-validated named exports. generate-recipes-proxy.mjs now scans the app and emits concrete per-subpath stub modules with the exact named exports (hooks return a proxy object so destructuring is safe); vite.config aliases each deep subpath (longest-first) to its stub ahead of the catch-all @hanzogui/recipes alias. 3. @react-navigation version skew: expo-router pulled [email protected].2 which imports NavigationProvider (only in native >=7.2.5), conflicting with one's ~7.1.33 peer. Pinned bottom-tabs to 7.10.1 and bumped native 7.1.9->7.1.34 (latest 7.1.x), keeping the @react-navigation family internally consistent. 4. Stale gui->hanzogui imports: SelectDemo.tsx and TestSelect.tsx imported from gui/linear-gradient instead of hanzogui/linear-gradient. Validated locally: bun run build:app completes (build complete, full dist emitted).
18 lines
237 B
JSON
18 lines
237 B
JSON
{
|
|
"extends": "../../tsconfig.json",
|
|
"compilerOptions": {
|
|
"composite": true
|
|
},
|
|
"references": [
|
|
{
|
|
"path": "../core/compose-refs"
|
|
}
|
|
],
|
|
"exclude": [
|
|
"types",
|
|
"test",
|
|
"dist",
|
|
"**/__tests__"
|
|
]
|
|
}
|