Repository navigation
Commit 020b05f
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 a configured directory with no root `server` (or
`index`) or `gui-experimental` module is skipped without a warning.1 parent a8091a2 commit 020b05f
2 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
649 | | - | |
650 | | - | |
| 649 | + | |
| 650 | + | |
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
| |||
| 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