tsconfig-paths
Advanced tools
Comparing version 2.7.2 to 2.7.3
@@ -10,2 +10,6 @@ # Change Log | ||
## [2.7.3] | ||
### Fixed | ||
- Only resolve path if tsconfig present [#25](https://github.com/dividab/tsconfig-paths/pull/25). Thanks to @nicoschoenmaker for the PR. | ||
## [2.7.2] | ||
@@ -121,3 +125,4 @@ ### Fixed | ||
[Unreleased]: https://github.com/dividab/tsconfig-paths/compare/2.7.2...master | ||
[Unreleased]: https://github.com/dividab/tsconfig-paths/compare/2.7.3...master | ||
[2.7.3]: https://github.com/dividab/tsconfig-paths/compare/2.7.2...2.7.3 | ||
[2.7.2]: https://github.com/dividab/tsconfig-paths/compare/2.7.1...2.7.2 | ||
@@ -124,0 +129,0 @@ [2.7.1]: https://github.com/dividab/tsconfig-paths/compare/2.7.0...2.7.1 |
@@ -41,4 +41,4 @@ "use strict"; | ||
} | ||
var configAbsolutePath = path.resolve(walkForTsConfig(cwd)); | ||
return configAbsolutePath; | ||
var configAbsolutePath = walkForTsConfig(cwd); | ||
return configAbsolutePath ? path.resolve(configAbsolutePath) : undefined; | ||
} | ||
@@ -45,0 +45,0 @@ exports.resolveConfigPath = resolveConfigPath; |
{ | ||
"name": "tsconfig-paths", | ||
"version": "2.7.2", | ||
"version": "2.7.3", | ||
"description": "Load node modules according to tsconfig paths, in run-time or via API.", | ||
@@ -36,4 +36,5 @@ "main": "lib/index.js", | ||
"start": "cd src && ts-node index.ts", | ||
"start:example:node": "yarn build && cd example/node && ts-node -r ../register.js main.ts", | ||
"start:example:api": "cd example/api && ts-node main.ts", | ||
"example:node": "yarn build && cd example/node && ts-node -r ../register.js main.ts", | ||
"example:api": "cd example/api && ts-node main.ts", | ||
"example:perf": "cd example/perf && ts-node main.ts", | ||
"test": "mocha", | ||
@@ -40,0 +41,0 @@ "build": "rm -rf lib && tsc -p src", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
121916