privatenumber/get-tsconfig
Last release: 1 month ago
get-tsconfig is a lightweight TypeScript utility that finds and parses tsconfig.json files, including handling comments, dangling commas, and resolving the extends chain. It can also validate whether a found tsconfig applies to a specific file and provides typed, resolved tsconfig output plus helpers for matching include/exclude/files and compilerOptions.paths.
Project status
- The repository appears actively maintained, with new tagged updates arriving in mid to late April 2026 (v5.0.0-beta.4 on 2026-04-15, v4.14.0 on 2026-04-15, and v5.0.0-beta.5 on 2026-04-30).
- The apparent update cadence is roughly every 1 to 2 weeks in this window, with multiple updates landing on the same day in April (suggesting ongoing iterative development rather than maintenance-only changes).
AI summary generated Today
Recent updates
v5.0.0-beta.5
1 month agov5.0.0-beta.5 introduces TypeScript-version-aware compiler option defaults that are applied by default when calling `readTsconfig` and `getTsconfig`. The implementation auto-detects the installed TypeScript major version and then injects unconditional compiler-option defaults that TypeScript itself would synthesize at runtime.
BreakingFeaturesv5.0.0-beta.4
1 month agoThis release focuses on tsconfig parsing and extends-chain handling, including fixes around how `files` and `include` interact and improved rewriting of inherited path fields. The documented surface area includes an `includes` option for `getTsconfig` and `findTsconfig`, plus a new `findTsconfig` export and a `PathsMatcher` type export.
Featuresv4.14.0
1 month agov4.14.0 adds a new `findTsconfig` API and introduces an `includes` option to both `getTsconfig` and `findTsconfig`. When `includes` is enabled, the implementation validates that the discovered tsconfig actually applies to the provided search path (via `files`, `include`, and `exclude`).
Features