@orion-js/core 3.2.0 → 3.2.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,8 +9,8 @@ const getOptions_1 = require("./getOptions");
9
9
  const safe_1 = __importDefault(require("colors/safe"));
10
10
  const reports_1 = require("../start/watchAndCompile/reports");
11
11
  function compile({ output }) {
12
- const { options, fileNames } = (0, getOptions_1.getOptions)({ output });
13
- const program = typescript_1.default.createProgram(fileNames, options);
12
+ const options = (0, getOptions_1.getOptions)({ output });
13
+ const program = typescript_1.default.createProgram(['./app/index.ts'], options);
14
14
  const preEmitDiagnostics = typescript_1.default.getPreEmitDiagnostics(program);
15
15
  if (preEmitDiagnostics.length > 0) {
16
16
  console.log(safe_1.default.red(`\n==> Error builing Orion app\n`));
@@ -31,7 +31,6 @@ function getOptions({ output }) {
31
31
  errors.forEach(reports_1.reportDiagnostic);
32
32
  process.exit(1);
33
33
  }
34
- const data = typescript_1.default.parseJsonConfigFileContent(options, typescript_1.default.sys, path_1.default.dirname(configPath), undefined, configPath);
35
- return { options, fileNames: data.fileNames };
34
+ return options;
36
35
  }
37
36
  exports.getOptions = getOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orion-js/core",
3
- "version": "3.2.0",
3
+ "version": "3.2.39",
4
4
  "main": "index.js",
5
5
  "author": "nicolaslopezj",
6
6
  "license": "MIT",
@@ -16,7 +16,7 @@
16
16
  "upgrade-interactive": "yarn upgrade-interactive"
17
17
  },
18
18
  "dependencies": {
19
- "@orion-js/env": "^3.2.0",
19
+ "@orion-js/env": "^3.2.39",
20
20
  "chokidar": "3.5.3",
21
21
  "colors": "^1.4.0",
22
22
  "commander": "^8.3.0",
@@ -34,7 +34,7 @@
34
34
  "engines": {
35
35
  "node": ">=14.0.0"
36
36
  },
37
- "gitHead": "683cc5a018d45654ddf1299ea28e291fc7367dee",
37
+ "gitHead": "06a40f467b145751a18ecda27816955c3361de64",
38
38
  "devDependencies": {
39
39
  "@shelf/jest-mongodb": "^2.1.0",
40
40
  "@types/prompts": "^2.0.14"