tsconfig-paths
Advanced tools
Comparing version 2.5.0 to 2.6.0
@@ -10,2 +10,6 @@ # Change Log | ||
## [2.6.0] | ||
### Added | ||
- Add `baseUrl` and `configFileAbsolutePath` to the result of `loadConfig`. | ||
## [2.5.0] | ||
@@ -105,3 +109,4 @@ ### Added | ||
[Unreleased]: https://github.com/dividab/tsconfig-paths/compare/2.5.0...master | ||
[Unreleased]: https://github.com/dividab/tsconfig-paths/compare/2.6.0...master | ||
[2.6.0]: https://github.com/dividab/tsconfig-paths/compare/2.5.0...2.6.0 | ||
[2.5.0]: https://github.com/dividab/tsconfig-paths/compare/2.4.3...2.5.0 | ||
@@ -108,0 +113,0 @@ [2.4.3]: https://github.com/dividab/tsconfig-paths/compare/2.4.2...2.4.3 |
@@ -16,2 +16,4 @@ import * as TsConfigLoader from "./tsconfig-loader"; | ||
resultType: "success"; | ||
configFileAbsolutePath: string; | ||
baseUrl: string; | ||
absoluteBaseUrl: string; | ||
@@ -18,0 +20,0 @@ paths: { |
@@ -18,2 +18,4 @@ "use strict"; | ||
resultType: "success", | ||
configFileAbsolutePath: "", | ||
baseUrl: explicitParams.baseUrl, | ||
absoluteBaseUrl: absoluteBaseUrl_1, | ||
@@ -44,2 +46,4 @@ paths: explicitParams.paths | ||
resultType: "success", | ||
configFileAbsolutePath: loadResult.tsConfigPath, | ||
baseUrl: loadResult.baseUrl, | ||
absoluteBaseUrl: absoluteBaseUrl, | ||
@@ -46,0 +50,0 @@ paths: loadResult.paths || {} |
{ | ||
"name": "tsconfig-paths", | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"description": "Load node modules according to tsconfig paths, in run-time or via API.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
101801
433