Commit ed5ea69
authored
fix(packaging): resolve runtime deps from plugin package (#6)
## Summary
- resolve `cosmiconfig` and `@modelcontextprotocol/sdk` relative to the
plugin package instead of `process.cwd()`
- add MCP SDK to generated npm package dependencies and cover the
generated metadata in packaging tests
- exercise package-name loading from a bare cwd in Node/OpenCode
packaging regression coverage
## Test Plan
- [x] `deno task build`
- [x] `deno task check`
- [x] `deno task lint`
- [x] `deno task fmt`
- [x] `deno test -A packaging.test.ts`
- [x] `deno test -A`1 parent d5dece4 commit ed5ea69
6 files changed
Lines changed: 777 additions & 25 deletions
File tree
- docs/superpowers
- plans
- specs
- src
- services
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
0 commit comments