Repository navigation
Commit 161b388
committed
docs(plugins): align package.json peers with @opencode/plugin
Fixes anomalyco#58807
The publish example's peer ranges were below what @opencode/plugin
requires, so following the docs could fail npm resolution. Use the
ranges the package declares. The optional @opencode/theme peer is
left out: an exact pin would break the example again on the next
release, and only plugins that import the package need it.
Also note that the TUI entry can be tui.ts or tui.tsx, and that a
configured directory without a root index or server module is skipped
without a warning.1 parent f20760b commit 161b388
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
646 | | - | |
647 | | - | |
| 646 | + | |
| 647 | + | |
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments