ts-lib-utils
Advanced tools
Comparing version 2.7.1 to 2.7.2
@@ -15,3 +15,3 @@ "use strict"; | ||
const config = getTsConfig(configFilePath, dirname); | ||
const { options: compilerOptions, errors } = typescript_1.default.convertCompilerOptionsFromJson(config.compilerOptions, dirname); | ||
const { options: compilerOptions, errors } = typescript_1.default.convertCompilerOptionsFromJson(config.compilerOptions, config.basePath || dirname); | ||
if (errors && errors.length > 0) { | ||
@@ -89,2 +89,3 @@ throw errors; | ||
config.compilerOptions = { ...extendsConfig.compilerOptions, ...config.compilerOptions }; | ||
config.basePath = extendsBasename; | ||
} | ||
@@ -91,0 +92,0 @@ return config; |
@@ -17,3 +17,3 @@ import { __assign, __awaiter, __generator, __values } from "tslib"; | ||
config = getTsConfig(configFilePath, dirname); | ||
_b = ts.convertCompilerOptionsFromJson(config.compilerOptions, dirname), compilerOptions = _b.options, errors = _b.errors; | ||
_b = ts.convertCompilerOptionsFromJson(config.compilerOptions, config.basePath || dirname), compilerOptions = _b.options, errors = _b.errors; | ||
if (errors && errors.length > 0) { | ||
@@ -95,2 +95,3 @@ throw errors; | ||
config.compilerOptions = __assign(__assign({}, extendsConfig.compilerOptions), config.compilerOptions); | ||
config.basePath = extendsBasename; | ||
} | ||
@@ -97,0 +98,0 @@ return config; |
{ | ||
"name": "ts-lib-utils", | ||
"version": "2.7.1", | ||
"version": "2.7.2", | ||
"description": "Utils to develop library using typescript", | ||
@@ -22,3 +22,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "312e0c622169182d2aca0b4fda3c68828e5ab2cc" | ||
"gitHead": "528551434b44abc1e5c0356d3a2e1471a3882bb9" | ||
} |
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
20830
559