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.4.1 - 2018-06-24
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
- 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
- Adding json file extention to extends property, #40. Thanks to @cwhite-connectfirst for this fixing this!
3.3.1 - 2018-04-17
- Fix project undefined error when calling register, #37. Thanks to @natedanner for this fixing this!
3.3.0 - 2018-04-14
- Add possibility to indicate explicitly tsconfig location, #35. Thanks to @procopenco for this adding this!
3.2.0 - 2018-03-31
- 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
3.1.2 - 2018-03-13
3.1.1 - 2018-01-13
- Fix read json async when it does not exist
3.1.0 - 2018-01-13
- Implement default async json reader function.
3.0.0 - 2018-01-13
- Remove parameter
absoluteSourceFileName
from theMatchPath
andmatchFromAbsolutePaths
functions. It was not used internally. matchFromAbsolutePaths
now accepts a pre-sorted array ofMappingEntry
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 theMatchPath
function. Can be used for example by webpack plugins.matchFromAbsolutePathsAsync
, async version ofmatchFromAbsolutePaths
.
- Only resolve path if tsconfig present #25. Thanks to @nicoschoenmaker for the PR.
- Return absolute path to tsconfig.json.
- Remove left over console.log.
- Support
baseUrl
to exist in base tsconfig.json when usingextends
, see #23.
- Add
baseUrl
andconfigFileAbsolutePath
to the result ofloadConfig
.
- New function in Programmatic API
loadConfig
.
- Export MatchPth typing.
- 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.
- Fixed issue #7.
- Fixed issue #6.
- Fixed issue #4
- Fixed issue #3
- 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.
- First stable release.
- Renamed project to
tsocnfig-paths
.
- API documentation.
createMatchPath
function.matchFromAbsolutePaths
function.
findPath
function.
tsconfig-paths/register
was not available.
- Paths for files in sub-dirs.
- Programmatic use.
- Fixed wrong name of the package in README.
- Add missing files on publish.
- Loading of tsconfig.
- Example.
- Publish scripts.
- Initial version.