All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
- Use minimist 1.2.6 for all depencencies becuase of pollution vulnerability. See PR #197. Thanks to @gopijaganthan for this fix!
- Include file extension in paths resolved from package.json "main" field. See PR #135 and issue #133. Thanks to @katywings for this fix!
- Reverted upgrade of json5 due to being a breaking change. See PR #173.
- Add register.js to published files
- feat(tsconfig-loader): extends config from node_modules (#106). Thanks to @zorji for this PR!
- Update CHANGELOG.md (#96). Thanks to @OliverJAsh for this PR!
- Fix "bootstraping" typo (#111). Thanks to @KRMisha for this PR!
- Update Readme fixes #116 (#123). Thanks to @benwinding for this PR!
- Fixed typo (#144). Thanks to @mprinc for this PR!
- [TYPO] src/mapping-entry.ts (#145). Thanks to @mprinc for this PR!
- docs(README): fix typos (#156). Thanks to @PiDelport for this PR!
- deps: bump json5 to use type definition provided officially (#158). Thanks to @koba04 for this PR!
- Update tsconfig-loader.ts (#161). Thanks to @fecqs for this PR!
- fix typo (#165). Thanks to @wonda-tea-coffee for this PR!
- Add file extenstion to typings property value (#151). Thanks to @dangrussell for this PR!
- Make extension config override instead of deep merge. See PR #95 and issue #94. Thanks to @OliverJAsh for this addition!
- Add option to avoid adding a match-all rule. See PR #73 and issue 72. Thanks to @Swatinem for this addition!
- Allow cleanup of register(). See PR #64 and issue 63. Thanks to @TylorS for this addition!
- Prefer Node's core modules over file modules. See PR #60 and issue 56. Thanks to @ljani for this addition!
- Add support for trailing commas in tsconfig.json (use JSON5 to parse). See issue #48, and PR #58. Thanks to @jshado1 for this addition!
- Do not resolve directories, only files, sse issue #51.
- Ignore field name mappings in package.json files that are not paths of existing files #46. Thanks to @christoffer for this fix!
- Add support for providing a list of field names to try instead of just using "main", #45. Thanks to @christoffer-dropbox for this addition!
- Fix project undefined error when calling register, #37. Thanks to @natedanner for this fixing this!
- Add possibility to indicate explicitly tsconfig location, #35. Thanks to @procopenco for this adding this!
- Added support for passing a filename as cwd, see issue #31 and PR #32. Thanks to @amodm for this adding this!
- Fix async recursion, see #30. Thanks to @Nayni for this fix!
- Fix a forgotten return when doneCallback is invoked, see #29. Thanks to @Nayni for this fix!
- Fix read json async when it does not exist
- Implement default async json reader function.
- Remove parameter
absoluteSourceFileName
from the MatchPath
and matchFromAbsolutePaths
functions. It was not used internally.
matchFromAbsolutePaths
now accepts a pre-sorted array of MappingEntry
s instead of a dictionary. This was done so the sorting could be done once which should give better performance.
createMatchPathAsync
, creates an async version of the MatchPath
function. Can be used for example by webpack plugins.
matchFromAbsolutePathsAsync
, async version of matchFromAbsolutePaths
.
- Return absolute path to tsconfig.json.
- Remove left over console.log.
- Support
baseUrl
to exist in base tsconfig.json when using extends
, see #23.
- Add
baseUrl
and configFileAbsolutePath
to the result of loadConfig
.
- New function in Programmatic API
loadConfig
.
- Add missing types field in package.json.
- Include declaration files. Fixes #22.
- Removed dependency for package
tsconfig
.
- Support for config inheritance with
extends
. Fixes #17.
- We now look at
process.env.TS_NODE_PROJECT
- Functionality to bootstrap tsconfig-paths. Documentation in README
- Changed signature for
createMatchPath
. Now only takes absoluteUrl and paths.
- More explanation to readme.
- Match all extensions in require.extensions.
- Match longest pattern prefix first as typesript does.
- Match file in main field of package.json.
- Check for index files explicitly.
- Renamed project to
tsocnfig-paths
.
- API documentation.
createMatchPath
function.
matchFromAbsolutePaths
function.
tsconfig-paths/register
was not available.
- Paths for files in sub-dirs.
- Fixed wrong name of the package in README.
- Add missing files on publish.
- Loading of tsconfig.
- Example.
- Publish scripts.