glyphix 1.2.2 → 1.2.4

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.
Files changed (2) hide show
  1. package/bin/glyphix.js +2 -2
  2. package/package.json +1 -1
package/bin/glyphix.js CHANGED
@@ -299,7 +299,7 @@ var GxGenerate = class {
299
299
  if (customConfigPath.endsWith(".ts")) {
300
300
  require("ts-node").register({
301
301
  transpileOnly: true,
302
- project: process.cwd()
302
+ project: (0, import_node_path3.resolve)(this.sourceRoot, "..")
303
303
  });
304
304
  }
305
305
  const useConfig = require(customConfigPath);
@@ -307,8 +307,8 @@ var GxGenerate = class {
307
307
  return a;
308
308
  } catch (error) {
309
309
  console.error(error);
310
+ throw error;
310
311
  }
311
- return internalConfig;
312
312
  }
313
313
  judgeIsWorkspace(parentPath, childPath) {
314
314
  const resolvedParent = (0, import_node_path3.resolve)(parentPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glyphix",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "main": "lib/index.js",
5
5
  "types": "types/index.d.ts",
6
6
  "files": [