Commit 1e7ca7e
committed
tui: stop shipping OpenTUI and solid-js as runtime dependencies
OpenCode's TUI loader remaps solid-js, solid-js/store, @opentui/solid,
and the JSX runtime specifiers to the host's embedded instances for raw
TSX plugin source (opentui runtime-plugin onResolve handlers plus the
babel module-resolver in the solid transform), so a local copy is inert
at best and a second-runtime hazard at worst. Whenever OpenCode bumps or
reverts its embedded OpenTUI, a pinned local copy also breaks the
version handshake. Keep exact dev deps for typecheck and the import
smoke test, and declare wide optional peers for metadata.1 parent 4de9b2e commit 1e7ca7e
2 files changed
Lines changed: 43 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
52 | | - | |
53 | 50 | | |
54 | 51 | | |
55 | 52 | | |
56 | 53 | | |
| 54 | + | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
79 | 93 | | |
80 | 94 | | |
0 commit comments