mirror of
https://github.com/hanzoai/gui.git
synced 2026-10-25 02:31:41 +00:00
Last batch of flatten side-effects: tsconfig.json `references` arrays
in packages at pkgs/{compiler,core,ui}/<X>/ that had `"path":
"../../packages/<Y>"` (correctly resolving to pkgs/packages/<Y> in the
old layout). After flatten those targets are at pkgs/<Y>, so the path
needs to be `"../../<Y>"`.
10 tsconfig.json files updated:
- pkgs/ui/hanzogui/, ui/tabs/, ui/input/, ui/focus-scope/
- pkgs/core/web/
- pkgs/compiler/{loader,next-plugin,static,static-tests,vite-plugin}/
This was the root cause of the CI failure on release/gui-v7.3.0
attempt 2 — vite-transform's tsconfig resolver looked up
`/home/runner/_work/gui/gui/pkgs/packages/element` (stale path) when
bundling the hanzogui umbrella's native target. Local repro: same
error; same fix; `bun run build` for pkgs/ui/hanzogui now succeeds.
22 lines
330 B
JSON
22 lines
330 B
JSON
{
|
|
"extends": "../../../tsconfig.json",
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"module": "Preserve",
|
|
"moduleResolution": "Bundler"
|
|
},
|
|
"references": [
|
|
{
|
|
"path": "../../react-native-svg"
|
|
},
|
|
{
|
|
"path": "../static"
|
|
}
|
|
],
|
|
"exclude": [
|
|
"types",
|
|
"dist",
|
|
"**/__tests__"
|
|
]
|
|
}
|