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.
45 lines
724 B
JSON
45 lines
724 B
JSON
{
|
|
"extends": "../../../tsconfig.json",
|
|
"compilerOptions": {
|
|
"composite": true
|
|
},
|
|
"references": [
|
|
{
|
|
"path": "../../core/config-default"
|
|
},
|
|
{
|
|
"path": "../../core/core"
|
|
},
|
|
{
|
|
"path": "../../core/generate-themes"
|
|
},
|
|
{
|
|
"path": "../../core/helpers"
|
|
},
|
|
{
|
|
"path": "../../core/helpers-node"
|
|
},
|
|
{
|
|
"path": "../../core/react-native-web-internals"
|
|
},
|
|
{
|
|
"path": "../../core/shorthands"
|
|
},
|
|
{
|
|
"path": "../../core/types"
|
|
},
|
|
{
|
|
"path": "../../cli-color"
|
|
},
|
|
{
|
|
"path": "../../react-native-web-lite"
|
|
}
|
|
],
|
|
"exclude": [
|
|
"test-output.tsx",
|
|
"types",
|
|
"dist",
|
|
"**/__tests__"
|
|
]
|
|
}
|