Commit 7678905
fix(codegen-ts): @biomejs/js-api + wasm-nodejs are runtime deps, not dev
format.ts statically imports @biomejs/js-api and uses Distribution.NODE (which
loads @biomejs/wasm-nodejs). They were in devDependencies, so a consumer install
of codegen-ts (or the cli) crashed at load: 'Cannot find package @biomejs/js-api'.
Move both to dependencies; drop the spurious @biomejs/biome peerDep (never imported).
Caught by an rc.2 smoke-test install from the registry.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f166e0b commit 7678905
2 files changed
Lines changed: 5 additions & 7 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 | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | | - | |
43 | | - | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
48 | | - | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
0 commit comments