Commit 05a2e67
Fix build and lint errors for Node 24 compatibility
- Changed imports in add-examples-to-dts.ts from .ts to .js extensions (required for Node's native TypeScript support)
- Fixed ESLint errors: added unicorn/no-process-exit to disabled rules, updated import-x/no-unassigned-import rule
- Removed index.test.ts from tsconfig.json include array to prevent TypeScript compilation errors with node:assert/strict
- Test file doesn't need to be included in declaration generation since it's only used by vitest
Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>1 parent 8a4d8b5 commit 05a2e67
2 files changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
0 commit comments