glyphix 1.2.4 → 1.2.6

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
@@ -192,7 +192,7 @@ var GxGenerate = class {
192
192
  "production"
193
193
  ];
194
194
  if (!dotenvTags.includes(process.env.GLYPHIX_ENV ?? "")) {
195
- process.env.GLYPHIX_ENV = dotenvTags[0];
195
+ process.env.GLYPHIX_ENV = "production";
196
196
  }
197
197
  const dotenvPath = (0, import_node_path3.resolve)(this.sourceRoot, "..", ".env");
198
198
  const dotenvFiles = [
@@ -333,7 +333,7 @@ var GxGenerate = class {
333
333
  }
334
334
  const curDir = process.cwd();
335
335
  process.chdir((0, import_node_path3.resolve)(this.sourceRoot, ".."));
336
- const installDepProcess = (0, import_node_child_process.spawn)("npm", ["install"]);
336
+ const installDepProcess = (0, import_node_child_process.spawn)("npm", ["install"], { shell: true });
337
337
  installDepProcess.on("error", (err) => {
338
338
  console.error(err);
339
339
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glyphix",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "main": "lib/index.js",
5
5
  "types": "types/index.d.ts",
6
6
  "files": [