@orion-js/core
Advanced tools
Comparing version 3.0.17 to 3.0.19
@@ -26,5 +26,5 @@ "use strict"; | ||
catch (error) { | ||
console.log(`Error reading tsconfig.json ${error.message}`); | ||
console.log(`Error reading tsconfig ${error.message}`); | ||
} | ||
} | ||
exports.ensureConfigComplies = ensureConfigComplies; |
@@ -11,9 +11,10 @@ "use strict"; | ||
const appBasePath = process.cwd(); | ||
const configPath = typescript_1.default.findConfigFile(appBasePath, typescript_1.default.sys.fileExists, 'tsconfig.json'); | ||
(0, ensureConfigComplies_1.ensureConfigComplies)(configPath); | ||
const configPath = typescript_1.default.findConfigFile(appBasePath, typescript_1.default.sys.fileExists, 'tsconfig.server.json') || | ||
typescript_1.default.findConfigFile(appBasePath, typescript_1.default.sys.fileExists, 'tsconfig.json'); | ||
if (!configPath) { | ||
throw new Error("Could not find a valid 'tsconfig.json'."); | ||
} | ||
(0, ensureConfigComplies_1.ensureConfigComplies)(configPath); | ||
return configPath; | ||
} | ||
exports.getConfigPath = getConfigPath; |
{ | ||
"name": "@orion-js/core", | ||
"version": "3.0.17", | ||
"version": "3.0.19", | ||
"main": "index.js", | ||
@@ -31,3 +31,3 @@ "author": "nicolaslopezj", | ||
}, | ||
"gitHead": "55e56828a55b355ec68f91c11d942676bbeb241b", | ||
"gitHead": "cf244c77179a7c150800ffd411b526d09dd61d52", | ||
"devDependencies": { | ||
@@ -34,0 +34,0 @@ "@shelf/jest-mongodb": "^2.1.0" |
Sorry, the diff of this file is not supported yet
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
29393
561