Commit 08c1eeb
committed
fix(cli): generate .d.ts declaration file for the public API entry point
Enable tsup dts generation for src/exports.ts so that dist/exports.d.ts
is produced at build time. The binary entry (index) still skips dts.
Work around the `incremental: true` in the base tsconfig that conflicts
with tsup's DTS worker by overriding it to false in the tsup config.
https://claude.ai/code/session_01SExqFNVoBLQCCAbgAY6LXo1 parent dec56f1 commit 08c1eeb
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
10 | 19 | | |
11 | 20 | | |
12 | 21 | | |
| |||
0 commit comments