Repository navigation
Commit 0b1b3ef
committed
fix(reviewer): require the TUI peer dependencies
src/tui.tsx imports solid-js and uses @opentui/solid as its JSX runtime, but
peerDependenciesMeta marked all three peers optional, so npm and OpenCode's
installer both skipped them. Loading the plugin from npm failed with
'Cannot find package @opentui/solid'. The workspace hid this because its dev
dependencies are hoisted, and bun.lock is regenerated so a --frozen-lockfile
install no longer carries the stale optionalPeers entries.
Verified by importing the TUI entry from a clean install: it reproduces the
failure on 0.1.0 and resolves with required peers, and OpenCode's installer
now places @opentui/core, @opentui/solid and solid-js in the plugin's
node_modules. bun install --frozen-lockfile and make test both pass.
Releases 0.1.1.1 parent fd04ef9 commit 0b1b3ef
3 files changed
Lines changed: 7 additions & 18 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 | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 31 | | |
43 | 32 | | |
44 | 33 | | |
| |||
0 commit comments