🔧 Replace Vite/Vitest with TypeScript 7 and node --test

- Use tsc 7 for build (vite no longer needed for a Node library)
- Use node --test with --experimental-strip-types for tests (vitest dropped)
- Use c8 for coverage instead of vitest's built-in coverage
- Add tsconfig.build.json separating typecheck from emit config
- Drop DOM lib, add strict noUncheckedIndexedAccess/noImplicitOverride
- Pin engines.node to >=22.6 (required for --experimental-strip-types)
- Update CI to Node 24 LTS (unflagged strip-types)
- Add @types/node for node:test / node:assert types
This commit is contained in:
tmu committed 2026-09-03 09:54:21 +00:00
1 parent cac1349c95
commit 3530262261
7 files changed
+3638 -7424

No files matched your search

-1
View File
@@ -1 +0,0 @@
/// <reference types="vite/client" />