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 source appears actively maintained, with recent upstream activity on 2026-08-17 and multiple recent
updatesin August 2026 (v4.14.3 on 2026-08-17, v4.14.2 on 2026-08-12, v4.14.1 on 2026-08-02). - The apparent update cadence is fairly frequent in the last month (several updates within about 2 to 3 weeks), with earlier beta progress showing continued iteration through v5.0.0-beta.6 on 2026-08-13.
AI summary generated
Recent updates
v4.14.3
v4.14.3 includes a fix to how get-tsconfig derives the default `exclude` value when `compilerOptions.outDir` (and related output dirs) come from `extends`. The code changes also update file matching logic to better handle UNC paths, including preserving leading double slashes so include/exclude patterns can match correctly on UNC roots.
v5.0.0-beta.6
v5.0.0-beta.6 is described as two bug fixes: resolving relative patterns against UNC roots (files-matcher) and resolving extends dependencies of symlinked packages (parse-tsconfig). The actual diff shows a much larger refactor of the library’s public API and internal parsing pipeline, including replacement of the previous parse-tsconfig and paths-matcher modules.
Featuresv4.14.2
v4.14.2 contains a targeted bug fix for file matching when projects are located under UNC paths. Specifically, it corrects how relative include/exclude patterns are resolved so they match paths under `//server/share/...` roots. No public API or type changes are present in the code diff provided.
v4.14.1
v4.14.1 includes a bug fix in `parse-tsconfig` related to resolving `extends` paths when dependencies come from symlinked packages. The code change introduces realpath-based resolution for the discovered package directory and adjusts how directory existence is validated.
v5.0.0-beta.5
v5.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
This 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
v4.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`).
Featuresv4.13.8
v4.13.8 ships a fix in parse-tsconfig focused on how inherited compilerOptions path fields are rewritten when using tsconfig extends. The code changes also adjust include/files handling and normalize some relative path values, with new tests covering these cases.
v5.0.0-beta.3
v5.0.0-beta.3 includes a bug fix related to how `files` and `include` are combined in tsconfig matching, and a package-level change to improve tree-shaking. The code diff, however, shows a much larger refactor of the public API and core entrypoints than what the release notes document.
v4.13.7
v4.13.7 contains a targeted bug fix in parse-tsconfig. It changes how the library handles tsconfig objects that specify both `include` and `files`, ensuring `files` is not dropped.
v5.0.0-beta.2
v5.0.0-beta.2 is a major API refactor that reworks tsconfig reading and resolution around a new readTsconfig/getExtendsChain/resolveExtendsChain pipeline, and replaces the old path/files matcher APIs with simpler functions (resolvePathAlias, isFileIncluded). It also introduces an includes option for tsconfig discovery and shifts the package to ESM only, along with broad type renames and option-object signatures.
BreakingFeaturesv5.0.0-beta.1
v5.0.0-beta.1 primarily updates Node.js support, dropping Node.js versions below 20. The release notes only call out the Node minimum version change, but the code diff also shows build target and CI workflow behavior changes, plus an additional test covering tsconfig extends include path inheritance from subdirectories.
Breakingv4.13.6
v4.13.6 updates parse-tsconfig behavior around how it populates tsconfig.exclude. The release notes describe a bug fix that prevents outDir from being automatically added to exclude when exclude is explicitly provided.
v4.13.5
v4.13.5 includes a single bug fix in the `paths-matcher` logic. It restores TypeScript-like behavior where, if no `paths` pattern matches, module specifiers fall back to resolving via `baseUrl`.