Change Log
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.
[3.14.1] - 2022-03-22
Fixed
- Use minimist 1.2.6 for all depencencies becuase of pollution vulnerability. See PR #197. Thanks to @gopijaganthan for this fix!
[3.14.0] - 2022-03-13
Added
[3.13.0] - 2022-03-03
Added
- Include file extension in paths resolved from package.json "main" field. See PR #135 and issue #133. Thanks to @katywings for this fix!
[3.12.0] - 2021-08-24
[3.11.0] - 2021-08-24
- Reverted upgrade of json5 due to being a breaking change. See PR #173.
[3.10.1] - 2021-07-06
Fixed
- Add register.js to published files
[3.10.0] - 2021-07-06
Added
- feat(tsconfig-loader): extends config from node_modules (#106). Thanks to @zorji for this PR!
Fixed
3.9.0 - 2019-09-12
Added
- Make extension config override instead of deep merge. See PR #95 and issue #94. Thanks to @OliverJAsh for this addition!
3.8.0 - 2019-02-05
Added
- Add option to avoid adding a match-all rule. See PR #73 and issue 72. Thanks to @Swatinem for this addition!
3.7.0 - 2018-11-11
Added
- Allow cleanup of register(). See PR #64 and issue 63. Thanks to @TylorS for this addition!
3.6.0 - 2018-09-10
Added
- Prefer Node's core modules over file modules. See PR #60 and issue 56. Thanks to @ljani for this addition!
3.5.0 - 2018-07-28
Added
- Add support for trailing commas in tsconfig.json (use JSON5 to parse). See issue #48, and PR #58. Thanks to @jshado1 for this addition!
3.4.2 - 2018-06-30
Fixed
- Do not resolve directories, only files, sse issue #51.
3.4.1 - 2018-06-24
Fixed
- Ignore field name mappings in package.json files that are not paths of existing files #46. Thanks to @christoffer for this fix!
3.4.0 - 2018-06-12
Added
- Add support for providing a list of field names to try instead of just using "main", #45. Thanks to @christoffer-dropbox for this addition!
3.3.2 - 2018-05-07
Fixed
3.3.1 - 2018-04-17
Fixed
- Fix project undefined error when calling register, #37. Thanks to @natedanner for this fixing this!
3.3.0 - 2018-04-14
Added
- Add possibility to indicate explicitly tsconfig location, #35. Thanks to @procopenco for this adding this!
3.2.0 - 2018-03-31
Added
- Added support for passing a filename as cwd, see issue #31 and PR #32. Thanks to @amodm for this adding this!
3.1.3 - 2018-03-14
Fixed
- Fix async recursion, see #30. Thanks to @Nayni for this fix!
3.1.2 - 2018-03-13
Fixed
- Fix a forgotten return when doneCallback is invoked, see #29. Thanks to @Nayni for this fix!
3.1.1 - 2018-01-13
Fixed
- Fix read json async when it does not exist
3.1.0 - 2018-01-13
Added
- Implement default async json reader function.
3.0.0 - 2018-01-13
Changed
- Remove parameter
absoluteSourceFileName from the MatchPath and matchFromAbsolutePaths functions. It was not used internally.
matchFromAbsolutePaths now accepts a pre-sorted array of MappingEntrys instead of a dictionary. This was done so the sorting could be done once which should give better performance.
Added
createMatchPathAsync, creates an async version of the MatchPath function. Can be used for example by webpack plugins.
matchFromAbsolutePathsAsync, async version of matchFromAbsolutePaths.
Fixed
Fixed
- Return absolute path to tsconfig.json.
Fixed
- Remove left over console.log.
Added
- Support
baseUrl to exist in base tsconfig.json when using extends, see #23.
Added
- Add
baseUrl and configFileAbsolutePath to the result of loadConfig.
Added
- New function in Programmatic API
loadConfig.
Fixed
Fixed
- Add missing types field in package.json.
Fixed
- Include declaration files. Fixes #22.
Changed
- Removed dependency for package
tsconfig.
Fixed
- Support for config inheritance with
extends. Fixes #17.
Fixed
Fixed
Fixed
[2.1.0]
Fixed
[2.0.0]
Added
- We now look at
process.env.TS_NODE_PROJECT
- Functionality to bootstrap tsconfig-paths. Documentation in README
Changed
- Changed signature for
createMatchPath. Now only takes absoluteUrl and paths.
[1.1.0]
Added
- 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.
[1.0.0] - 2016-12-30
[0.4.0] - 2016-12-30
Changed
- Renamed project to
tsocnfig-paths.
[0.3.0] - 2016-12-30
Added
- API documentation.
createMatchPath function.
matchFromAbsolutePaths function.
Removed
[0.2.1] - 2016-12-29
Fixed
tsconfig-paths/register was not available.
[0.2.0] - 2016-12-29
Fixed
- Paths for files in sub-dirs.
Added
[0.1.2] - 2016-12-28
Fixed
- Fixed wrong name of the package in README.
- Add missing files on publish.
[0.1.1] - 2016-12-28
Added
- Loading of tsconfig.
- Example.
- Publish scripts.
[0.1.0] - 2016-12-28