@orion-js/core
Advanced tools
Comparing version 3.2.21 to 3.2.35
@@ -12,4 +12,4 @@ "use strict"; | ||
function compile({ output }) { | ||
const { options, fileNames } = (0, getOptions_1.getOptions)({ output }); | ||
const program = typescript_1.default.createProgram(fileNames, options); | ||
const options = (0, getOptions_1.getOptions)({ output }); | ||
const program = typescript_1.default.createProgram(['./app/index.ts'], options); | ||
const preEmitDiagnostics = typescript_1.default.getPreEmitDiagnostics(program); | ||
@@ -16,0 +16,0 @@ if (preEmitDiagnostics.length > 0) { |
@@ -34,5 +34,4 @@ "use strict"; | ||
} | ||
const data = typescript_1.default.parseJsonConfigFileContent(options, typescript_1.default.sys, path_1.default.dirname(configPath), undefined, configPath); | ||
return { options, fileNames: data.fileNames }; | ||
return options; | ||
} | ||
exports.getOptions = getOptions; |
{ | ||
"name": "@orion-js/core", | ||
"version": "3.2.21", | ||
"version": "3.2.35", | ||
"main": "index.js", | ||
@@ -37,3 +37,3 @@ "author": "nicolaslopezj", | ||
}, | ||
"gitHead": "160e776b7a8448c8e4f67cae79849d6520eaf0c1", | ||
"gitHead": "8ed31c3b062fcefeb07c8a9985c40b5ea1722858", | ||
"devDependencies": { | ||
@@ -40,0 +40,0 @@ "@shelf/jest-mongodb": "^2.1.0", |
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
33557
667