Commit 8d7d6ae
committed
feat: use dts-bundle-generator for SDK type generation in typecheck
Changes:
- SDK build:types now uses dts-bundle-generator to create bundled types
- Added pretypecheck hooks to npm-app and evals packages
- This ensures SDK types are properly bundled at dist/index.d.ts
Benefits:
- Single bundled type file instead of nested structure
- Works correctly with SDK's package.json types field
- Packages can resolve @codebuff/sdk types during typecheck1 parent d23e975 commit 8d7d6ae
3 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments