This repository was archived by the owner on Jun 16, 2026. It is now read-only.
Commit 1f9cbbf
fix(ci): include node types under TS6 + bump brace-expansion (#8)
TypeScript 6 with module: Node16 and @types/node@25 no longer auto-includes
node type definitions. `import { readFileSync } from "node:fs"` failed across
the codebase with TS2591 "Cannot find name 'node:fs'", breaking CI on every
push since 2026-04-25.
Adding `"types": ["node"]` to tsconfig.json compilerOptions explicitly tells
TS to include @types/node. Minimal, surgical change — no other @types/*
devDependencies exist, so this doesn't exclude anything.
Also picks up `npm audit fix` for brace-expansion (transitive, moderate
severity GHSA-f886-m6hf-6m8v / GHSA-jxxr-4gwj-5jf2) so the audit gate
passes once the build step is unblocked.
Local verification (Node 22):
- npm run build: clean
- npm test: 93/93 pass
- npm audit --audit-level=moderate: 0 vulnerabilities
- npm pack --dry-run: 57 files, 823.5 kB
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a3028d3 commit 1f9cbbf
2 files changed
Lines changed: 5 additions & 4 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 | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments