Tsconfck Versions Save

A utility to find and parse tsconfig files without depending on typescript

[email protected]

2 months ago

Patch Changes

  • fix deadlock when referenced tsconfig extends original (#165)

[email protected]

3 months ago

Patch Changes

  • fix(parse): ensure extends and references are deep parsed also for concurrently parsed siblings (#153)

[email protected]

4 months ago

Patch Changes

  • fix(parse): ensure nested extended tsconfig.json files are parsed with extends and references resolved (#150)

  • fix(parse): add workaround for "extends": ".." see #149 (#150)

[email protected]

7 months ago

Major Changes

  • breaking(node): minimum supported node version is node18 (#107)

  • breaking(exports): remove cjs export (#107)

  • breaking(exports): remove package.json export (#107)

  • breaking(peerDependencies): minimum supported typescript version for parseNative and findNative is 5.0 (#107)

  • breaking(parse): include js extensions with allowJs: true (#132)

  • breaking(parse): resolve with empty result for missing tsconfig file, remove option resolveWithEmptyIfConfigNotFound (#115)

  • breaking(cache): Replace simple Map cache with a dedicated TSConfckCache (#132)

  • breaking(find): remove tsconfigPaths option, use cache + ignoreNodeModules instead. (#112)

  • breaking(find): add ignoreNodeModules option as a replacement for using tsconfigPaths to ignore node_modules (#128)

  • breaking(errors): throw ENOENT from parse if input .json filename does not exist. throw custom error if exists but is no file (#121)

Minor Changes

  • feat(exports): export unbundled esm js (#107)

  • feat(exports): export types as module declaration, including a .d.ts.map (#107)

  • perf(find): switch to fs.stat callback for async improve cache usage (#115)

  • feat(find): add configName option to support jsconfig.json (#132)

  • feat(findNative): add find options (cache, root) (#112)

Patch Changes

  • fix(parseNative): return empty result for not found to align with parse (#121)

  • fix(types): use import condition for types to avoid masquerading as cjs (#130)

[email protected]

7 months ago

Major Changes

  • breaking: include js extensions with allowJs: true (#132)

  • breaking: enable caching paths for multiple configNames in one TSConfckCache, changed cache.getTSConfigPath(dir) to cache.getConfigPath(dir,configName) (#132)

Minor Changes

  • feat: add configName option to support jsconfig.json (#132)

Patch Changes

  • fix(types): use import condition for types to avoid masquerading as cjs (#130)

[email protected]

8 months ago

Major Changes

  • breaking(find): replace scanNodeModules with ignoreNodeModules (#128)

Patch Changes

  • fix(errors): cache errors instead of evicting cache value on error (#125)

[email protected]

8 months ago

Major Changes

  • breaking(find): ignore tsconfig files inside node_modules (#123)

[email protected]

8 months ago

Major Changes

  • breaking(errors): throw ENOENT from parse if input .json filename does not exist. throw custom error if exists but is no file (#121)

Patch Changes

  • fix(parseNative): return empty result for not found to align with parse (#121)

[email protected]

8 months ago

Patch Changes

  • fix(find): only call then on promise in cache" (#117)

[email protected]

8 months ago

Major Changes

  • breaking(parse): resolve with empty result for missing tsconfig file, remove option resolveWithEmptyIfConfigNotFound (#115)

  • breaking(types): remove Awaitable type and add result type generic to cache (#115)

Minor Changes

  • perf(find): switch to fs.stat callback for async and increase cache usage (#115)